All Posts - Page 6

233 posts found
preview

C++ Alternate Tokens Gone Wild

March 5, 2014
Did you know that there are alternate operators in C++ that resemble English?
preview

Using the C++ Ternary Operator Like a Rockstar 1

March 2, 2014
preview

PHP and Unicode

March 1, 2014
A rundown of how to prevent bugs dealing with Unicode support in PHP.
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.