Craig Russell

Web n That

I ♡… the web… php… html… css… linux… shell scripting… folding paper… dog walking… sandwiches… being outside… and most of all @vicuol ☺

Posts in Linux Category

Bang Bang – Command Recall in Linux

September 28th, 2011

The loveliness that is the Linux shell has buried in it a billion little nuggets of hyper efficiency. I’ve been learning about the bang history commands, which are a great way to save time when running the similar commands over and over (more thorough documentation here). Repeating Commands Repeat last…

Git Branch in Command Prompt

June 20th, 2011

This article from NetTuts explains the basics of configuring the command prompt on Linux and Mac. It includes the great idea of displaying the current Git branch in the prompt. However, their method makes use of the vcprompt package, which has to be compiled and installed. A worthwhile exercise, but…

GEdit: The Missing Keyboard Shortcuts

April 23rd, 2011

I’ve love GEdit, it’s a great text editor, and having added a few plugins, a great IDE too. GEdit has a few keyboard short cuts for working with the application. But there’s also a lot of great short cuts for working within the document. These, however, arn’t documented anywhere. GEdit…

Writing Gedit Plugins – Link Round Up

April 20th, 2011

If you want to write a plugin for Gedit, you’ve probably struggled to find any helpful tutorials and documentation. That’s because there isn’t much out there. On my hunt, I’ve found the following few links to be worthwhile. Python Plugin How To for gedit 3 My first gedit plugin Gedit…

Solarized Colour Theme for Gedit

April 13th, 2011

The Solarized colour scheme is an excellent syntax highlighting colour theme for developers. The theme is available for various editors form the site. Missing from that list is GEdit, the Gnome text editor, which makes an excellent IDE. So I’ve created the necessary theme files for GEdit users. Download them…

Bulk Minify Shell Script

February 7th, 2011

The YUI Compressor is a bad ass little tool for making CSS and JS files as tiny as possible for faster page loading. I’ve written a little shell script to bulk minify CSS and JS files. The script will minify any file in your css and js folders that do…

Ubuntu 10.4 Upgrade on HP G61

May 4th, 2010

Well, I upgraded my laptop to the latest release of Ubuntu, and what can I say? Everything just works. All of the issues I’d identified with 9.10 are no problem with 10.4. Although I should add that this was an upgrade, not a clean install, so it may be the…