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 …
Tutorial: How to install the Google GO compiler on Ubuntu Linux
This week google introduced “go”, their new programming language. I was curious so I started messing around with it. Here’s how you can try it out if you’d like to “give it a go”. About Google Go From the …
A Geek's Trip Down Memory Lane - The BBS (Bulletin Board System)
While browsing a forum recently, I found a thread that really made me reminisce. Someone has asked about browsing the internet before it was popular, and what it was like. Before the internet was in every home, before we were tweeting or …
How to write text files in C#
So you want to know how to write a text file in C#? It’s actually super easy. This tutorial explains how. Note: I wrote this article over 10 years ago, and I’m re-writing it. Let me know what you think it should include. using …
How to Write Text Files with C++
If you’re reading this tutorial, it’s likely because you googled how to read and write text files with C++. And it’s probably a pretty lucky guess you’re a beginner, so I’ll try to explain as much as I can here …
How to use OR operator with Strings in C#
I just had this problem tonight, so I thought I’d share the solution. In many languages you can just drop in a string and compare it like this: if ($city == "Portland" || $city == "Seattle") { // do something if city …