Protecting yourself on open wifi with Firefox

So, I’m sitting in the back of Brewed Awakening right now in the midst of cafĂ©-goers, some of which I know must be sniffing packets from the several overlapping open wifi networks around this dense part of campus. The spread of free wifi access points is an excellent direction for humanity, but it comes with […]

Generating on-the-fly filler text in PHP

Update I’ve updated the code and text of this post to reflect the latest version of the code. For one of the projects I’ve been working on recently, I needed huge amounts of filler text (we’re talking about a megabyte) for lorem ipsum placeholder copy. Copy is the journalistic term for plain ol’ text in […]

Same origin policy and a buggy WordPress plugin

Update I don’t use the plugin mentioned in this post anymore. On this blog, I use the Crayon syntax highlighter for WordPress to render all the code snippets, since this is a programming blog after all. Crayon is one of the more popular highlighting plugins, as clearly demonstrated by the sad condition of its support […]

Backing up dropbox with rsync

Update I don’t use this system anymore. Learn about my new backup system instead. At UC Berkeley, Dropbox has become the de-facto standard for cloud sync and live backups, especially for team projects that don’t particularly fit the game of traditional version control. (It is nice to keep local copies of git repositories on Dropbox […]

Tidying up SASS with a one-liner

At the Daily Cal, we maintain a ton of CSS code for our website’s WordPress theme. But instead of using a single enormous stylesheet, we check in SASS files to version control which are recompiled on deployment (or for development testing). In one directory, we have a bunch of scss-type files like so: ./ ../ […]