Python For The Absolute Beginner
If you’re a Programmer / Developer, chances are you’ve at least heard of this neat little program called Python. Those who know it sing it’s praises, and it can be found in some very powerful applications. If you’ve …
Linux Tutorial: How to Build Apache, PHP5 and MySQL from Source (The Hard Way)
My last article on this subject was about building the trinity (Apache, PHP, MySQL) the easy way using XAMPP. Now I’m going to show you how to do it the hard way, building everything from source, the way Linus intended. Let’s …
Setting up Linux: Use a Package Manager or Build From Source?
There are a few different ways to do things in the Linux world and if you ask for the best way, you’ll get several different answers. Linux folk tend to be pretty opinionated and become polarized about issues, which creates …
Linux Tutorial: How to Show Realtime dmesg Output in Linux
There are many times in Linux you want to watch your dmesg output, especially when working with hardware to see what’s going on. There is actually a really easy to way to do this, simply open another terminal and type: tail -f …
How to Capture the Output of a Linux Command in C++
Ok, I admit this is a pretty obscure one, but this came up for a task at work today, and I had forgotten how to do this. I Googled around a bit and found many answers I either didn’t understand entirely or just seemed too complicated …
Tutorial: How to Get the Linux Version From The Command Line
There are several ways to get your Linux version from the command line. One way that just displays a basic name: uname But this usually just returns “Linux”. Pretty sure you already knew that. A more detailed view would be: …
Tutorial: How to use Vim instead of Vi with an alias
Vim is a lot better than Vi, especially if you’re programming. If you would rather use Vim than Vi, and you’re on an older distro, here is how you set it up in your shell. Edit your .bashrc file: vi /root/.bashrc Add a line to …
Old G4 + Debian Linux = Dirt Cheap Development Machine
So last week my laptop died on me. Motherboard took a dive, and unfortunately that was my “main machine”. I know it takes me quite some time to find and fix up a machine, and decided a quick interim machine needed to be built. …
7 Ways to Make your Website Faster
Having a fast website has tons of advantages. Besides being better for SEO and getting crawled by search engines, it’s without a doubt better for your visitors. So here I will give a list that will explore some free ways to make your …
Tutorial: XSLT in 5 minutes
This is a simple introduction to XSLT, or eXtensible Stylesheet Language Transformation. It’s a way of applying styles and formatting to XML files, and it’s pretty useful. It’s yet another acronym you see thrown around on …