Related Posts
Accessing and manipulating a 32bit integer as a byte array in C++ using unions
I don’t think I’ve ever used union for anything, but today I came across a very interesting use case to avoid bit-shifting tricks when dealing with data embedded in numbers. What’s a union? Microsoft defines it this way A union is a user-defined type in which all members share the same memory location. This definition means that […]
Quick N Dirty way to Map Commands to remote servers via ssh
You may be running several independent but similar servers at the same time and wasting time by executing commands in all of them one by one. Wouldn’t it be nice to send a command to all of them at once? or to monitor all of them at once. The following script can be used as […]
building cgminer from source on OSX
so you cloned the cgminer repo from github to build on your OSX machine and you get this bullshit error $ ./autogen.sh readlink: illegal option — f usage: readlink [-n] [file …] usage: dirname path touch: /ltmain.sh: Permission denied Use of chdir(”) or chdir(undef) as chdir() is deprecated at /usr/local/bin/autoreconf line 670. Configuring… ./autogen.sh: line […]
