Malicious enjoyment derived from observing someone else’s misfortune
 

Tag Archives: github

Parsing WFM Oscilloscope files in C

So, I got this Rigol Oscilloscope – I wrote a little instructable about it. One cool feature is the ability to save waveforms to a USB stick. There are many options for the file format, but the default is a WFM file. Now, a true minimalist could just use the CSV option, but the WFM is a binary format that contains a lot more information directly from the scope. I wrote a little C program hosted on github that allows [...]

Moving the mouse with Python

I’ve been using KDE4 in Ubuntu, and I really like it – it’s slick, has everything I need, and it all seems to gel together pretty well. Yet, the power management is really starting to make me angry. I’ve turned all of it off, checked ps and other tools for any signs that it’s still running, and despite my efforts, my screens still turn black after 10 minutes unless mplayer is running. So, I decided to fix that using Python, [...]

Diving into OOC, a fun new programming language

OOC is cool.  Yesterday I started writing some code in it after reading about it on the github blog.  Here is the first result: I’m extremely happy with how well this performs.  Using the latest ooc Java compiler from the github trunk to handle the each() functions, this compiles down to a bunch of C code, and then is automagically compiled behind the scenes into an ELF Binary!  This is totally awesome, and I have to commend nddrylliog and the [...]

Ruby to generate RSS feeds for sites that don’t offer them

There’s this site that has an equipment exchange I wanted to keep track of. Yet, it’s done with what seems to be a custom php file rather than vbulletin, so none of the usual RSS feeds from the site apply to it. So, I decided to make a scraper/feed-generator to get me the latest version every 5 minutes and generate a nice RSS feed, so I can view it in Google Reader. The volume of posting is low enough that [...]

GitHub Gist Plugin

Look how awesome this plugin is!  Just typing [gist id=”72075″] gets you: More information here. I wanted to change the appearance a little, so I did this to my theme in WordPress: I love that.

GitHub Widget for WordPress

For all you coders out there wanting to show off all those forked repositories, the github-widget is for you. There are a few ways to install. Download from here.  The most recent stable release will be available.  As of this writing, it’s REL-1.3. Clone the git repository: git clone git://github.com/hank/github-widget.git Get it through WordPress (Work in Progress) If you use one of the first 2 methods, just drop the resultant directory into wp-content/plugins/. Using any of the three methods, after [...]

RSA Made Easy

After obsessing over it today, I decided to write a quick primer on RSA Encryption you can do in your head. It’s pretty simple, and to the point. The numbers are very small. Try it out! I plan to write some code implementing the algorithm.  That should be fun.