Get 18+ Gigs on a Free Dropbox account for $10-$20

Dropbox recently raised the cap on it's free tier to 18 gigs. But, you only get 2 gigs out of the gate. The rest is easy to get, but takes a little leg work. First, log into Dropbox and click on "Get free space!" at the top right. Then, do all the Facebook/twitter/social offers to get free space. Really bumping up your space involves Google Adwords.  You can max out your space by putting your referral link on Dropbox ads that will show up in Google. How much this will end up costing you can vary. One of my…

Compiling Textmate

TextMate 2 recently went open source on github and a coworker friend of mine was asking if I had compiled it yet. Here's the quick and easy on how to compile it. Prerequisites Either homebrew or macports (I'll be using homebrew for this post) Xcode 4.4+ (make sure to open at least once and accept licence agreement) Now install the needed apps with brew: [shell] brew install ragel boost multimarkdown hg ninja proctools [/shell] ninja — build system similar to  ragel — state machine compiler boost — portable…

Getting Started with Solr and Django

Solr is a very powerful search tool and it is pretty easy to get the basics, such as full text search, facets, and related assets up and running pretty quickly. We will be using haystack to do the communication between Django and Solr. All code for this can be viewed on github. Install Assuming you already have Django up and running, the first thing we need to do is install Solr. Next install pysolr and haystack. (At the time of this writing the git checkout of haystack works better with the Solr 4.0 beta…

Adding Done and Cancel buttons to an iOS number pad

There are some cases when you may want to have a "Done" or "Cancel" button on an iOs number pad when editing a text field. This doesn't come by default, but is easy to add. See the example snippets below, or check out the code on github. Sample Usage: DoneCancelNumberPadToolbar.h DoneCancelNumberPadToolbar.m Special thanks to akozl ik for the help with delegates.

Improve your Magento workflow: Use git or mercurial

Most of our new projects at work are on mercurial and I've moved most of my personal projects over to git.  We do, unfortunately, still have one Magento install that lives in our old subversion repository.  If you've ever tried to work with a project the size of Magento in SVN with branching, you know the kind of pain this can cause. My machine at work is no slouch. An i7, 8 gigs of ram, 256 megs graphics card, and an SSD. Perfect for any number of high performance or online games, compiling, or video…

iOS Game Engines

After playing Rovio's new Amazing Alex game for a while, and seeing this article on BGR this morning, it made me remember some old success stories that I had read about, and I got to thinking about what it would take to develop a game for iOS. More just to see what options were out there than anything else; I know nothing about game programming. Side note: Amazing Alex is great. If you have ever played the incredible machine, you'll feel right at home. One success story I remember is Ethan Nicholas and…

Refreshing all the css on a page using jQuery

I have a client project where we let them customize some css attributes in the admin, show them the updates in a small preview area, then save the changes back to the server. The custom css attributes are in a small css file that is generated on pageload and then cached to the server. All of the admin functionality is done through ajax, so I wanted a good way to update the UI of the site without having to do a full pageload. The below function was a great help.

Important Magento Security Update – Zend Platform Vulnerability

While doing routine sanity checks, on of our QA Engineers, Sammy Shaar, was alerted about an important Magento security update. The vulnerability potentially allows an attacker to read any file on the web server where the Zend XMLRPC functionality is enabled. This might include password files, configuration files, and possibly even databases if they are stored on the same machine as the Magento web server. To see if you site has been affected, please see this page. Luckily, Magento has released patches for…

Making virtualenv on windows with powershell a little cleaner

While I code on a mac at home, I can't live without my giant dual screens and solid state drive at work so I'm on a windows 7 box.  Most of the time it's fine, does everything I need, and I'm happy.  I became full of rage for the first time last week trying to properly get virtualenv to play nice with powershell.  (If you code on windows and are in the terminal a lot, switch to powershell, its great and comes with windows 7. There is a download for Windows XP) I'm not going to recap how to set up virtualenv…

Developing with multiple versions of Django on windows

At work, we have sites that use various versions of Django, so there is a need to switch packages.  On my mac I use virtualenv to handle this, but I've never quite gotten it to play nice with windows, and just switching Django versions has sufficed so far. If you can set up virtualenv, that's a much better solution Download junction (think symbolic links for windows). Put the executable somewhere in your path. I put it in my Python scripts folder Plan out your directory structure: Make sure you don't have…

Sync side-loaded content between your Kindle and other devices

I read a lot of books on my kindle that I got from other sources, mostly Manning and O'Rielly, but these won't sync between my phone and my kindle.  Only books purchased from Amazon will sync between devices. Again, Calibre to the rescue. For this to work, the book must already exist on the kindle and be sold through Amazon.  The example book I'm going to use is Version Control with Git. Add the book to your Calibre library Update any needed metadata. Jump over to Amazon and open the book's page Make sure…

What do you listen to? (podcast edition)

I tend to listen to a decent number of podcasts. Usually while doing the dishes, running, or something or other in the park.  Some are book/comic related and help me keep up to date with what's coming out and how some books were that I didn't have time to read.  Others are tech and help me get other opinions on the new libraries or trends.  I've found a number of fun libraries /how-tos from listening. Check them out below, what do you listen to? Tech Sitepoint - Web Dev news, tutorials, interviews http…

Creating a stateless request in Magento

Have you ever wanted to create a stateless request in Magento? Something that doesn't touch any of Magento's sessions?  We were having issues with some of the ajax calls on our cart and checkout pages mucking with the user's cart and had get stateless on these calls.  The issue we were having was our checkout page was loading, then a javascript include was going out and bringing code from a 3rd party relevance engine into our dom, which was in turn calling back an ajax request to our servers.  This issue…

Jira Tabs: Open all those Jira's at once!

Update: Code lives on GitHub Ever want to open all the Jira’s on the screen in new tabs? Jess does, I do, and you should too! For firefox and chrome we now have the JiraTabs bookmark button. Go to this page and drag the link up to your bookmarks bar. Then, whenever you are on a filter or search view of Jira's, click the button and all the jira's on your screen will open up in new tabs Demo:

Skynet Becomes Self Aware Tonight

Terminator: The Sarah Connor Chronicles April 21, 2011. Judgment Day. Kyle Reese and Derek Reese witness the launch of U.S. missiles while playing ball in their yard.[1] As a result of temporal interference by Sarah Connor, her son John, Miles Dyson, and the T-800[2] destroyingCyberdyne headquarters and all backups of the research in 1995, the date for Judgment day is moved back to here.[3] Skynet is destined to go online a few days earlier on April 19, 2011 at 20:11