Timeline

Timeline

AWS CLI Cheat Sheet

May 20, 2024

The installation and configuration process for AWS CLI is fairly simple. The package itself is installed with pip (yum -y install python-pip):

Copying X11 Magic Cookies

May 14, 2024

I rarely use GUIs, but when I do, it's from CLI and every time I run into the annoying MIT-MAGIC-COOKIE-1 data did not match error. It's easy to fix, but it happens to me so rarely that between the fixes I forget how I did it.

Verify Network Port Access

May 12, 2024

There are several tools you can use to verify access to a remote network port: nc, tcping, telnet. Unfortunately, nc from the netcat package has been replaced by the one from nmap, which lacks the -z option, making it useless for non-interactive applications.

Solving Crossword Puzzles from CLI

May 10, 2024

Linux command-line tools provide access to a wealth of dictionaries, encyclopedias, thesauri, directories, and other reference sources. Learning to use these tools is a worthwhile endeavor even if solving crossword puzzles is not your favorite pastime.

Deleting Hidden Files

May 6, 2024

This simplest of problems just never fails to find a new victim. For whatever reason you want to delete all hidden files in the current directory and subfolders. Without much thinking you just type rm -rf .* Here's a classic example of one developer giving another developer a terrile advise.

Longwood Gardens, April 2018

April 29, 2024

It's not far and I buy a yearly pass, so, when there's nothing better to photograph, I take photos of pretty flowers. Gets me a few "likes" on Facebook...

Quickly Grow tmpfs filesystem

April 28, 2024

Just a quick command to double the size of the /tmp filesystem that uses tmpfs. This is  for those situations when you can't be bothered to think.

Dealing With Windows Power Plans

April 21, 2024

Windows OS is not my forte, so I'll keep this brief. My new laptop has been annoying the hell out of me by suspending my external USB 3.1 disk every twenty seconds or so. This is the drive where I keep my PhotoShop cache, so you may imagine the inconvenience.

Late Night Rant: Agile

April 16, 2024

CollabNet VersionOne has released it's 12th annual "State of Agile" report. The survey involved more than 1,400 software professionals in various roles and industries over the fourth quarter of 2017. Only 12% responded that their organizations have a high level of competency with agile practices across the organization, and only…Read More

Duck Duck Go Search from Shell

April 10, 2024

The ddgr python script is a command line interface for Duck Duck Go  - a privacy-oriented search engine that, unlike Google, will not give away your data to the likes of Cambridge Analytica. In the past year Duck Duck Go has grown and matured and now is a serious player…Read More

Document Conversion with Unoconv

April 3, 2024

The other day I ran into the "Flexible Import/Export" article by Bruce Byfield in the March 2018 issue of Linux Pro Magazine and thought it could use some more detail. So here's some more detail.

How Not to Prepare for a SysAdmin Interview

March 21, 2024

The Linux Foundation just gave birth to seven supposedly interesting tips on how to prepare for a Linux SysAdmin job interview. Unfortunately, the research behind all this probably excellent advice was based on interviewing hiring managers - the people who, despite the title, contribute very little to the hiring decision-making…Read More

Philly Flower Show 2018

March 18, 2024

An annual event produced by The Pennsylvania Horticultural Society since 1829 and hosted by the Pennsylvania Convention Center is a good place to escape boredom and shitty weather. Also, a place to photograph something other than the cat.

Productivity Shortcuts for .bashrc

March 17, 2024

Some of the useful (more or less) aliases and functions for the .bashrc file to make your life a little easier and delay the onset of carpal tunnel syndrome.

Decision Making Using Python TOPSIS

February 28, 2024

In a nutshell, TOPSIS - the Technique for Order of Preference by Similarity to Ideal Solution - seeks out one of many options that is the closest to the ideal option while at the same time is the farthest from the worst possible option.

Using Variables in Bash

February 27, 2024

A few quick tips on using variables in your Bash scripts. Nothing fancy here, just good practices that we often overlook.

Obfuscating Shell Scripts

February 26, 2024

Unix shell scripting language is run by the command-line interpreter and, as such, can be read and understood by anyone with sufficient access and experience. Sometimes this is not a good thing. Sometimes you want people and applications to be able to run the script but not necessarily look under…Read More

WordPress: Post-processing of the image failed

February 26, 2024

This particular WordPress issue appeared with version 5.3 and is refusing to go away. However, the problem here is not with WordPress but with the Apache ModSecurity. The particular ModSecurity rule in question is 200003 that's been giving webmasters a headache for half a decade now.

Calls for a Retaliation after the SolarWinds Hack

February 16, 2024

Armchair admirals on CBS News are calling for a retaliatory attack against Russia after the SolarWinds hack. "We're not willing to attack. And that's what we're missing now. There's no capability that the United States has that scares them enough to not attack us, " said Jon Miller, a former "ethical hacker." …Read More

The Mystery of a Hemisphere

February 9, 2024

To make this long (and embarrassing) story short: a friend's kid had a homework assignment in geometry to calculate the surface area of a conjoined cone, a cylinder, and a hemisphere.

Raspbian ‘partitions on different devices’ Error

February 8, 2024

After downloading a Raspbian image and writing it to an SD card, you get the following error when trying to boot the Pi: "Could not expand filesystem, please try raspi-config or rc_gui. Boot and root partitions are on different devices".

Tmux Bootstrap Configuration

February 6, 2024

Just a list of commands to quickly configure tmux with some of the best (i.e. my favorite) plugins and options. Feel free to disagree - you may be right - but I don't think so.

Find Large Files

February 5, 2024

Every time a filesystem is running out of space and I need to find something to delete, I end up googling the syntax for the find command to make sure it stays off NFS and doesn't cross mountpoints. Finally, I decided to write this basic script.

Clone Raspberry Pi SD to Larger Card

January 30, 2024

This is more of a note to myself: every time I need to clone the RPi card, I end up googling things for an hour. The process is two-fold: clone the SD and resize the filesystem.

Encrypted Volumes and Portable Apps

January 29, 2024

This is a description of an uncomplicated setup for an encrypted volume and portable applications for a Windows laptop consisting of a USB3 storage device, VeraCrypt OSS OTFE, a hardware password wallet, and portableapps.com software.