Skip to content

bill duncan's blog

Performance Matters (and Other Tidbits from the Trenches)

  • Home
  • About Me
  • Contact bill duncan
  • Links
bill duncan's blog

Category: Code Bits

openssl wrapper script

openssl is a powerful utility, but how often do you need to look up the options when you want to use it?

Continue reading “openssl wrapper script”

Author bduncanPosted on 2023-04-212023-04-21Categories Code Bits, Security, WFMTags openssl

Anagrams for Fun

During the recent Holidays I visited some friends who are avid Scrabble players. After the visit, I thought it would be fun to write a simple anagram script.

Continue reading “Anagrams for Fun”

Author bduncanPosted on 2023-01-162023-01-16Categories Code Bits, Just-for-Fun, OT

Good Luck and Happy New Year!

The next time Friday 13th falls in January is in 2034.. Good luck!

Continue reading “Good Luck and Happy New Year!”

Author bduncanPosted on 2023-01-132023-01-13Categories Code Bits, Just-for-Fun, OT

K8S Tips and Scripts #2

I’m a big believer in “wrapper scripts”.

Continue reading “K8S Tips and Scripts #2”

Author bduncanPosted on 2022-09-252022-11-08Categories Code Bits, devops, SRE, WFMTags k8s, kubectl, kubernetes

K8S Tips and Scripts #1

I’ve often come across situations where pods won’t die properly. Either the underlying node is in a strange state, temporary networking issues, whatever. If a node has gone south, pods will often stick in an “Evicted” state for example.

Continue reading “K8S Tips and Scripts #1”

Author bduncanPosted on 2022-09-252022-09-25Categories Code Bits, devops, K8S, SRE, WFMTags k8s, kubectl, kubernetes

Command Line Interface Guidelines

Anyone who knows me, knows that I am most comfortable and at home on the unix/linux command line. Continue reading “Command Line Interface Guidelines”

Author bduncanPosted on 2020-12-21Categories Code Bits, devops, RTFM, SRE, WFMTags bash, cli, commandline1 Comment on Command Line Interface Guidelines

Riddler: Can you solve the not-so-corn maze?

I love AWK and I’ve written about it before… Continue reading “Riddler: Can you solve the not-so-corn maze?”

Author bduncanPosted on 2020-06-262020-07-27Categories Code Bits, Just-for-Fun, OT, R3 Comments on Riddler: Can you solve the not-so-corn maze?

Hiring Questions, Problem 3

This was an interesting question, so I thought I’d share it here.. Continue reading “Hiring Questions, Problem 3”

Author bduncanPosted on 2020-03-252020-03-26Categories Code Bits, Just-for-FunTags hiring, interview, ratelimit

Hiring Questions, Problem 2

While most technical hiring questions aren’t all that relevant, this one might be more generally useful. Find duplicate files; the trick was the speedup.. Continue reading “Hiring Questions, Problem 2”

Author bduncanPosted on 2018-09-082018-10-26Categories Code Bits, Just-for-Fun

From the Get Go!

Learning a new computer language can be fun! Stretching ourselves to think about problems in new ways.. Continue reading “From the Get Go!”

Author bduncanPosted on 2018-08-262018-08-26Categories Code Bits, golang, Just-for-Fun

Interactive bash Scripts

Building interactive commands that uses editing history and tab completion can be easy in bash and serve as a wrapper for automating tasks. Continue reading “Interactive bash Scripts”

Author bduncanPosted on 2018-07-292018-07-29Categories Code Bits, Just-for-Fun1 Comment on Interactive bash Scripts

Hiring Questions, Problem 1

A colleague of mine once posted a hiring question to ask prospective developers: “What is the least significant 10 digits of the series: 1^{1}+2^{2}+3^{3} .. 1000^{1000} ?”

Continue reading “Hiring Questions, Problem 1”

Author bduncanPosted on 2018-06-212018-06-27Categories Code Bits, Just-for-FunTags awk, bash, LaTeX, modular exponentiation, scripting

awk, the Often Ignored Little Language

Many people use awk for one-liners; picking out fields from logs, doing pattern matching. It’s capable of so much more however. IMO, the “littleness” of the language is one of it’s strengths. Continue reading “awk, the Often Ignored Little Language”

Author bduncanPosted on 2018-06-202018-08-30Categories Code Bits, Just-for-FunTags awk, recursion, sudoku1 Comment on awk, the Often Ignored Little Language

Bitrot, Part 2

This article has a link to a simple script I’ve used for over a decade to detect corrupted files. It will detect and report on files that have changed, been added, deleted or possibly moved within the same directory structure. Continue reading “Bitrot, Part 2”

Author bduncanPosted on 2018-06-192018-06-27Categories Code Bits, Data CorruptionTags bitrot, data corruption, filesystem

Recent Posts

  • openssl wrapper script
  • Anagrams for Fun
  • Good Luck and Happy New Year!

Archives

  • April 2023
  • January 2023
  • September 2022
  • August 2022
  • July 2021
  • February 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • May 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018

Categories

  • Aviation (7)
  • Code Bits (14)
  • Data Corruption (2)
  • Detecting Performance Issues (14)
  • devops (27)
  • Diagnosing Issues (9)
  • Documentation (5)
  • Event logs (2)
  • Geolocating (1)
  • golang (1)
  • Just-for-Fun (12)
  • K8S (2)
  • Monitoring (4)
  • OT (6)
  • Problem Solving (5)
  • R (2)
  • Reading Week (6)
  • RemoteWork (2)
  • RTFM (5)
  • Security (2)
  • SRE (32)
  • System Performance (13)
  • Uncategorized (1)
  • WFM (5)

Archives

  • April 2023
  • January 2023
  • September 2022
  • August 2022
  • July 2021
  • February 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • May 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • Home
  • About Me
  • Contact bill duncan
  • Links
bill duncan's blog Proudly powered by WordPress