How I like to code

Monthly Archives: September 2011

List open files

On the Mac OS, if you need to know what files are open and by what application and on what disk, you can use the lsof command in Terminal. Pair that command with grep and you can isolate things like this: ?View Code BASHlsof | grep "Snow Leopard" This will show you what files are […]

How not to design a video game

This is a very funny video on how a video game should not be implemented:

WebGL

A while ago I blogged about WebGL. There are some really cool implementations of this technology at chromeexperiments.com, with a really cool demo of a water simulation and a cute video game. Thanks to altdevblogaday.com for blogging about this!

Important command to demangle C++ code in your pasteboard

Cool command line I can run from DTerm on the contents in my clipboard, outputted from Xcode: ?View Code BASHpbpaste | c++filt | mate This command will take my clipboard contents, which were originally created from Xcode, pass that to the c++filt command and then create a new file in TextMate with the resulting contents.

3D Printer! What?!

This is really something! I did not think that this was even possible. A really good presentation is given by… a kid… about why he loves his 3D printer: http://store.makerbot.com/thing-o-matic-kit-mk7.html Some of the really cools things that are made with 3D printers can be viewed at: http://www.thingiverse.com/

How to disable a CPU core in Windows

Thanks to my co-worker, I read this really useful article on how to disable a CPU core on Windows without having to use the BIOS: http://solidlystated.com/software/how-to-disable-a-cpu-core/