Archive for February, 2014

27 posts found
preview

Apple Fail Bug

February 28, 2014
preview

C++11 User Defined Literals for Representing Units of Time 2

February 25, 2014
You can use user defined literals in C++11 to represent units of time.
preview

Regex to Test for Email Address in PHP

February 25, 2014
This is a simple function in PHP to determine if a string is a valid email address.
preview

Create href from URL in Text with PHP

February 25, 2014
This is how I take text that contains links in PHP and convert any links to actual HTML hrefs.
preview

Use GeSHi To Syntax Highlight Code on Your Site with Static CSS

February 24, 2014
This is how I use GeSHi to format the code displayed on this blog.
preview

Software Engineering is a Social Problem

February 24, 2014
I subscribe to the idea that software engineering is often times a social problem and not a technical one.
preview

C++ STL Alternatives to Non-STL Code 8

February 24, 2014
Below is a collection of examples of common code patterns that could otherwise be written simpler, cleaner, and more correct when the STL or boost is used.
preview

An Interesting C++ Templated Parameter Gotcha 1

February 23, 2014
Be careful with how template parameters might be used and what the types of those parameters will be used for.
preview

Script to List Removable Block Devices Like USB Keys

February 19, 2014
This is a very simple script that uses sysfs to list removable block devices. This is useful for finding USB devices and the available partitions.
preview

Find Duplicate Files Script 1

February 19, 2014
A one liner that can find all duplicate files based on size and then file hash.
preview

Script to List All Users in /etc/passwd

February 19, 2014
This is a simple script to list all usernames in /etc/passwd.
preview

C++ Mutex Deadlock Detection with Callstack

February 18, 2014
An example of how to detect and print C++ callstacks of offending threads when a mutex deadlock occurs.
preview

U401 USB IO Software

February 18, 2014
A simple command line utility to control outputs on a U401 USB IO device.
preview

How Long Before We See Targeted, Dynamic Movies on Netflix?

February 17, 2014
Put on your tin foil hat and strap into your desk chair. I think it's only a matter of time before our idea of a movie morphs into an entertaining virtual reality we all love.
preview

RT-AC68R Router Custom Firmware

February 17, 2014
Use Asuswrt-merlin to get some extra features the default firmware is missing.
preview

Turnstile P2P Protocol and Client

February 12, 2014
This is a research project that involved developing and designing a P2P protocol and client based a distributed hash table.

Hard Drive IO Tester Application

February 11, 2014
This is a very simple application that can be used to test the I/O speed of a hard drive or anything else with a filesystem on it.
preview

PC Restore DVD Creator

February 11, 2014
A build system to create a restore DVD for a PC.
preview

12 and 5 Volt DC Power Supply Circuit Board

February 10, 2014
This is a little power supply that provides both 12 and 5 volt DC outputs.
preview

3D Printer Spool Stand and Holder

February 9, 2014
3D
My quick and dirty solution to having a spool on bearings and a place to put extra spools.

Delete Unnecessary Macro or Function From Source Code

February 9, 2014
preview

Do I Need a C++ Coding Standard?

February 8, 2014
Do your programmers look like a bunch of people playing in mud?
preview

The Secret to Using Git 2

February 8, 2014
Git really is much simpler than most new users think.
preview

Prusa i3 3D Printer Build

February 4, 2014
3D
My Prusa i3 3D printer build.
preview

The Bitcoin Hype

February 4, 2014
The currency that's got local retailers fighting to keep video cards in stock because video cards convert electricity into money.
preview

My Favorite Git Commands and Tips

February 4, 2014
After I've been using any version control system for a while I tend to find myself having a go-to set of commands.
preview

How Many Copies Are Made When Throwing a C++ Exception?

February 3, 2014
Here's a simple example that demonstrates how many times a copy constructor is called when throwing an exception.