I ran into a challenge today where I needed to plot elements in a circle using their CSS offset. I found a some javascript plot functions that did nearly exactly what I wanted.
Here’s my solution in Ruby.
I ran into a challenge today where I needed to plot elements in a circle using their CSS offset. I found a some javascript plot functions that did nearly exactly what I wanted.
Here’s my solution in Ruby.
I’ve been meaning to restyle my Octopress to get away from the default theme. Not that there’s anything wrong with the default theme, it’s just, well, default.
If you are familiar with Heroku, you may know that deploying is as easy as pushing to their remote repository:
1
| |
But, this can get really monotonous, especially if you’re frequently pushing to a staging app (then you have to specify the branch name as well). To make things a little easier I whipped up a quick shell function to make deployments a snap.
A couple months ago I decided I’d had enough of drinking stale, bottled beer and that the solution to this problem would be to build a kegerator and get the brewery to fill my keg with fresh brew. Of course, later on I found out that none of the breweries will actually fill personal kegs, at least here in Chicago. C’est la vie. I’ll be brewing my own batch soon to fill it instead.
Here is a little walkthrough of disassembling the the fridge and modifications that I made. I’m using a Frigidaire FFPH44M4LB fridge. It’s 4.4 cu. ft. and will fit 2 Cornelius kegs and a 5lb C02 tank in the back.
UPDATE 8/15/2011: Most of these scripts have been repackaged in a gem.
These are an ever growing compilation of scripts and code snippets that I have written or collected in a format that’s easy to understand and use. If you need help feel free to email me at nic@nicinabox.com, but please read the documentation first.
I encourage you to checkout some of the Desktop screenshots on Flickr (some are very nice!) for ideas.If you have a script or something clever you’d like to add to this collection, please contact me.
These commands require that you actually install the scripts. Some are built into the system, but most are custom. For more information, check readme.html included in the download.