I broke… Java?

Something from my summer job. I found it horribly amusing. === And then I fixed it.

,

No Comments

Recovering a broken F18 installation

For some reason (possibly a broken F17 upgrade which moved /lib around?) there were a bunch of empty files in /lib. So F18 refused to boot, with error messages like “/lib/libsystemd.so:0 :File too short” I discovered yum doesn’t like chroots: Kept on getting a message regarding build_time_vars missing. (Spoiler: This was actually Python!) I also […]

, ,

No Comments

Chocolate chip cookies

On a random note, because I’m living on my own and have been trying recipes: Ingredients 1/2 cup white sugar 1/4 cup brown sugar (In theory, brown & white sugar amounts are swappable, haven’t tried it yet) 1 egg 1 tsp vanilla extract 1 cup flour 1/2 tsp baking soda 1 cup chocolate chips 1/2 […]

,

No Comments

On LED driver chips

I have found the TLC5940 chip, which I thought would solve my problems. It didn’t, not all of them, or at least there are a few downsides to it. The main one being the timing requirements. The 5940 kind of does PWM. It doesn’t have an internal clock, so it relies on an external clock […]

No Comments

LED cubes and Raspberry Pis…

My plan of making an LED cube with a Raspberry Pi is coming together… been making a list of stuff I need, and looking good resources. IC 1: Serial in/Parallel out. Apparently this particular type of IC is called a 74HC595. Found it on a list of popular ICs for Arduino chips. Linked datasheet is […]

,

No Comments

OpenVPN & China’s Firewall

Ended up choosing an SSH SOCKS proxy + Tunnelblick because it had the fewest moving parts. Combined with a passwordless SSH key, I saw this status on Facebook today: Kyle is truly a computer wizard! as in, his Tunnelblick thingy is working! Location? China. Success.

8 Comments

The importance of having ntpd configured

Ok, not really importance of having it configured, but at least a post to try and get myself to remember to do it. I discovered that the Dreamhost server I’m hosting this blog on has bad clock drift. I’m not sure why it’s happening (I’d imagine that it should be one of the first things […]

, ,

No Comments

Getting CodeIgniter/Bonfire running on nginx

So… I’ve been trying CI/Bonfire as a quick PHP dev platform. Unfortunately, it’s pre-packaged for Apache’s .htaccess, so it takes a bit of configuration to get working on nginx. The following assumes PHP-FPM is actually working though.  Installing CI/Bonfire For some reason, the install portion has its own index.php. So the default PHP pretty URL rewriting […]

, , , ,

No Comments

Getting PHP-FPM running on nginx

Getting FastCGI working on nginx I have two files – a modified version of FastCGI_params, and an extra file that contains my configuration directives for .php files. The second file is simply named php_fastcgi and is located in the same folder as nginx.conf, and is include php_fastcgi;-d anywhere I need PHP support: # Process PHP […]

, ,

2 Comments

Django development on Heroku

Because the setup doesn’t match the ‘quick start’ guides… First, get the dev environment up. I’m using Fedora 17. The toolbelt install didn’t get properly setup – bash couldn’t find heroku. It was putting it into the $PATH in .profile, but I’m not sure if Bash on Fedora sources that file. Ended up adding an […]

No Comments