I broke… Java?
Posted by Programming on October 13, 2013
inSomething from my summer job. I found it horribly amusing. === And then I fixed it.
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 […]
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 […]
On LED driver chips
Posted by Uncategorized on June 11, 2013
inI 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 […]
LED cubes and Raspberry Pis…
Posted by Personal on May 14, 2013
inMy 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 […]
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.
The importance of having ntpd configured
Posted by Sysadmin, Xen on Fedora on March 25, 2013
inOk, 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 […]
Getting CodeIgniter/Bonfire running on nginx
Posted by Sysadmin on March 5, 2013
inSo… 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 […]
Getting PHP-FPM running on nginx
Posted by Sysadmin on March 5, 2013
inGetting 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 […]
Django development on Heroku
Posted by Uncategorized on February 17, 2013
inBecause 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 […]