Sublime Text 2 has become the new go-to text editor (available for free unlimited trial). It is extremely powerful on its own but is also extensible. This is a how I've customized my Sublime Text:
Good for hiding app generated directories you don't want to see or to hide a directory for some other reasons... Open Terminal Type: chflags hidden /Directory/Path/ That should do it. If the directory is in a stack it can take a couple opens for it to vanish. To return the directory to visible, use the … Continue reading "Hide Directory in Mac OS X"
[UPDATED 3/19/12] - Add link to Alpha 2 - replace all references to Alpha 0.5 with Alpha 2 to install the newest version of CyanogenMod [UPDATED 7/14/12] - Add link to nightlies of CyanogenMod - replace all references to Alpha 0.5 with the latest nightly build of CyanogenMod These are instructions for the CyanogenMod 9 Alpha … Continue reading "Install Ice Cream Sandwich (ICS) on TouchPad"
In honor of my favorite show ending, I've created Spotify playlist for music used in each season. Spotify is currently missing some of the songs used in the series but it is relatively complete. I will keep an eye for any updates. Playlist Links: Chuck Season 1 Music Chuck Season 2 Music Chuck Season 3 … Continue reading "Chuck Vs The Music on Spotify (Complete Series)"
If you're trying to use TimThumb (an excellent PHP script that auto-resizes images) and you're getting a GD Library error, follow these steps to fix it on your server.
In this post I provide instructions on setting up the database plugin, NDOutils, for Nagios. The instructions were written for CentOS but most of it should easily carry over to another distro.
SilverEdit SivlerEdit can create/edit HTML, PHP, CSS, and TXT files. SilverEdit allows you to work on your code away from a computer and will work well for quick edits on the go.
If you need to stop a process (program), you can use the "taskkill" command in Windows. Example: taskkill /im processname.exe /f You can also kill multiple processes at once that share similar names. Say you want to kill processname1.exe, processname2.exe, and processname3.exe running. taskkill /im processname*.exe /f For more detailed uses, check out Microsoft's TechNet … Continue reading "Kill A Process Using Command Line"
Sometimes when making a form, you want to display information in the form but you don't want it editable. This is often the case for when you want to display a text box / text area that displays text that the user cannot change (Ex. editing a user profile but leaving the username untouched). I … Continue reading "Form Input - Readonly Vs. Disabled"
If you ever need to write a script that automatically SSHs to another computer, use this script. You'll find that you cannot automatically SSH for two reasons. You can't pass the password through the ssh command You can't bypass the initial ssh key registration This script can handle both these problems. It requires the expect … Continue reading "Shell Script - Automatically SSH Without Key"