-
Recent Posts
Recent Comments
Archives
Categories
- Data Structures and Algorithms (2)
- Linux (11)
- Misc (2)
- Programming (19)
- Tools (14)
- Web Development (12)
- Windows (1)
Meta
Log In
Category Archives: Linux
Ubuntu 11.04 Unity Gets in the Way of the User
Ubuntu has released a new version (11.04) of its Linux operating system. Instead of going with Gnome 3, it went with Unity as the default desktop environment. I’ve now used both Unity and Gnome 3, and it continues to confuse … Continue reading
Styling Emacs Scrollbar in Ubuntu
Emacs uses GTK by default in Ubuntu. In your ~/.emacs file, there should be no (scroll-bar-mode nil). Then add the following to ~/.gtkrc-2.0 style “contrast” { GtkScrollbar::has_forward_stepper = 0 GtkScrollbar::has_backward_stepper = 0 bg[NORMAL] = “red” bg[PRELIGHT] = “dark red” bg[ACTIVE] = … Continue reading
Bash Script to Determine Terrorist Threat Level
I’ve really been immersing myself into the world of Bash scripting lately. There is an incredible amount of productivity-increasing scripts available online, and I have already written several of my own that make my programming life just a little easier. That … Continue reading
Flatten Directory Structure in Linux
Move all the files with extension pdf in the directory tree starting at the current location as root to directory bla. find . -type f -name “*.pdf” -exec mv {} bla \; So for example it would find ./path/to/image/lex.pdf and … Continue reading
Useful Keyboard Shortcuts
I’ve learned some critical mass of useful shortcuts recently that I’d like to share. I’ll continuously grow this post (for posterity) as I learn more. Please send me useful (non-obvious) shortcuts if you know of any. Alt-F10 – maximize/minimize window … Continue reading
GCC Stack: Colorgcc, CCache, Distcc
For prettifying and speeding up the compilation of your C++ on Linux with GCC it’s relatively common practice to use colorgcc, ccache, and distcc. This page describes the quick couple steps it takes to set up a “gcc stack” that … Continue reading
Perl 6 Release Date
Rivaling its infamous vaporware comrade Duke Nukem Forever, Perl 6 has been announced by Perl creator Larry Wall to be out “by Christmas” for over 10 years. If you still had doubts about the existence of Santa Claus, this should … Continue reading
Ode to Emacs
Source: XKCD’s tribute to emacs In a world of beautiful, powerful IDE‘s for programming in C++, Java, PHP, Perl, LaTeX, etc, I still use Emacs. For those that don’t know, Emacs is a editor which God used to program the Universe. … Continue reading