Random Regexes

Grep regex for extracting URLS from HTML source:


This should also work in a perl script.


Pip – Boy zsh .envrc

For z shell. This file should be saved as ~/.envrc. Feel free to tweak it to fit your needs. I had originally given the text of the file here, but WordPress editing messed it up- therefore, you can get it by clicking here.

Pip-Boy Zsh

Pip – Boy zsh .zshrc

I’m currently using Z shell, or zsh for short. It seems to pretty much be bash + extra goodies, such as extended auto-complete and spell check (yes, spell check, in a terminal. To make sure you type the right command.)

It’s pretty easy to configure zsh prompts and profiles. Zsh uses two files: .zshrc and .envrc.

Installing zsh is quite easy, as it’s available in the repositories of all major distros.

sudo apt-get install zsh

for Debian users or

sudo yum install zsh

for RPM’ers will get it for you.

Posted below is my .zshrc file. It’s modeled vaguely after the Pip Boy in Fallout: New Vegas, simply because I admire the retro styling of the Pip Boy. Copy the code and save it as ~/.zshrc. I based mine off of bodhi.zazen’s, although they don’t resemble each other very much any more. Feel free to tweak it, play with it, make it suit your own needs.

Originally I had the text of the file posted here, but WordPress markup apparently messes it up. You can get it by clicking here.



Pip-Boy Zsh

Sound Miscellany

A do-all GTK widget for controlling systems using PulseAudio:

sudo apt-get install pavucontrol

Gnome-shell miscellany

Add startup programs to your Gnome system: