Todd Partridge (Gently)

Vim colorscheme tuneup

I hadn’t thought about it for awhile but today I updated by Vim colorscheme for the first time in about two years. In the process I found a few that were notable: rdark-terminal link gruvbox link synic I think this one is based on neon. link kolor link jellybeans blueberry This is what I decided […]

arpa: (Ar)ch (pa)ckages – generic package tasks wrapper script

Originally posted on Linux Tidbits:
I once saw a wrapper-script for pacman in the forums that was basically a short-hand version of common pacman tasks. Over the last couple years, I’ve expanded on it. It does just about everything I need it to and its real basic. I call it arpa and here are the…


Originally posted on Linux Tidbits:
The ~/.bashrc is a the bash shells’ setting file. The ~/.bashrc can also be used to specify other bash shell related items like abbreviating commands and creating shortcuts. Here is my ~/.bashrc, all bells, no whistles.

Get down with getopt

What is getopt? getopt is a command used in scripts to parse their options and add a basic error checking ability. getopt is not getopts the bash built-in that has similiar functionality. Urban Vagabond explains: getopt and getopts are different beasts, and people seem to have a bit of misunderstanding of what they do. getopts […]

Lg monitor ips224v-pn, look

I decided to get the LS IPS224V-PN and here is a look at it. First thing I noticed was that the stand was a bit… rickety, probably from the thin neck. This does get noticed especially with the desktop I own, tetters. The second thing I noticed was how even the picture was: good, crisp, […]

Numbered file backups – Easy as can beasy

When I’m about to edit a configuration file or a bash script, sometimes I don’t know if the edit will work. In these cases I create a backup of it in numbered order (to keep track of them if I need to revert the changes). Because this is something I regularly do, I decided to […]

gt – script to create a temp file in gedit

I am really lazy with my editors. I have aliases in my shell configuration for gedit and vim that are very basic: alias v=”vim -p” # open in tab alias sv=”sudo vim -p” alias g=”bgcmd gedit” alias sg=”bgcmd gksudo gedit” This is very nice for me because I use my editors quite a bit. One […]

WTFM (Write the Fine Manual) with Pod2man text-converter

Disclaimer: I am not an expert on creating man pages but from the research I did I discovered this method to be very easy. It also worked for me as well because github has rendering support for this format. For a more traditional approach nixCraft has a better article for that. Pod2man is an application […]

xuserrun – Run a command on the currently-active user’s server display

xuserrun is a bash script to run a command on the active server display.¬† This is primarily necessary if from within another environment¬† (different user, console, cron, boot script…).¬† xuserrun gathers DISPLAY and user environmental variables via systemd and passes them on to be able to dothis. xuserrun is designed for use with only […]

No-think link (redone)

When I first used ln, I expected the behavior of ln source link to work. But ln is slightly more complicated than that. While learning it from the beginning, I discovered it does not always resolve the path correctly; additionally, it doesn’t not error if the source is non-existence. I discovered that this was necessary […]

Encode an Audio file to Video file

I wanted to convert an mp3 file to an mp4 or avi file because I wanted to be able to use it on my PS3 ( the PS3 has a basic audio player that doesn’t save position [ particularly troubling for large audiobooks ] ). This although is good for audio posting on youtube… I […]


Get every new post delivered to your Inbox.

Join 51 other followers