Image of the glider from the Game of Life by John Conway
Skip to content

{ Category Archives } Scripting

New Pthree Feature- Desktop Cam

I've had this before on one of my previous blogs under the toponcefamily.com domain. I no longer own that domain (I let it expire, and now some "search engine" is selling it), but it was pretty cool. You could see what I was doing at anytime during the day. Well, I set it up again […]

Binary Timestamp Screenshot

I was way too tired last night to whip up a screenshot, so you could see the binary_time.pl script in action. So, here it is in a seperate post. Enjoy.

My First Irssi Script- Binary Timestamps

A couple nights ago, while on Freenode, lilo (Rob Levin) posted a small log of a chat in the channel, and I noticed that he was using the Unix Epoch time as his timestamp in his IRC client irssi. I thought that was genious, so I set out to code an irssi script that shows […]

Pimped Irssi

Below is a screenshot (click on it for a full-sized shot) of my current irssi setup. The visibles are as follows: nicklist.pl perl script for the nicklist on the right. It is redrawn on screen for every part/join and every channel change. Really nice. I run it in screen mode rather than fifo mode. I […]

Screen Digraphs

Have you ever wanted to type that one character that just isn't on your keyboard? You know, like the cent symbol, or the acute mark? There are plenty, and it sure makes it frustrating for that one character, yet you have know idea how to access it. You know your program can do it, yet […]

Bash Meets Csh

So, continuing in my effort at work to convert many of the scripts that we have to Bash, I came across a problem: I am stuck at work using Csh. So, can I run this sourced file, which contains many Bash functions, in Csh? For example, here is a brief rundown of my code: 1234567891011121314151617181920#!/bin/bash […]

Kosher Coding

Don't ask. Basically, I was writing another Bash script (surprise!) at work, and came across something that is sitting uneasy with me. And the only reason I can think of, is it isn't "Kosher". Let me explain. The Bash shell, as we all know, is case sensitive. What happens when I have a script that […]

Bash Loops and File Handling

So, working on one of the many Bash scripts at work, I needed one that handled file manipulation. Not only did it need to manipulate a file, I needed it to handle the manipulation in a loop, as the lines are all the same except for a number (like a primary key) on each line. […]

A Couple Bash Goodies

Lately, I have been rewriting C-shell (csh) aliases to Bash scripts. Unfortunately, this is no easy task. Just about each alias uses conditional statements, variables and functions and range between 40-1000+ words. Each alias is also written on one line! As such, trying to decrypt the alias into something useful is very difficult. So, thus […]

Bash Scripting and Prompts

Bash. The superior Open Source shell. Every other shell comes last when it comes to features, speed and just sheer fun. Yet, there are a couple quirks that if you are not aware of, can get you caught in the crosshairs of frustration. First, parent and child process releationships. When the shell is launched, a […]

Switch to our mobile site