Cache Pip package downloads locally

Tweet You can easily cache downloaded Python packages locally when they are installed via Pip. Next time you install one of those dependencies, Pip will use the locally cached copy instead of connecting to PyPi. mkdir -p ~/.pip_download_cache echo -e “[global]\ndownload-cache = ~/.pip_download_cache” >> ~/.pip/pip.conf

Public-key cryptography should replace text passwords

Tweet The recent leaking of almost 10 million passwords from LinkedIn, eHarmony and is unsettling to say the least, but it has left me wondering…why are we still using text-based passwords? We already use public-key crypto to secure and authenticate our interactions with websites via SSL. It seems straightforward to have all computers, [...]

Make Eclipse Run Blazingly Fast On Mac OS X

Tweet If you use Eclipse on OS X, you’ve probably been frustrated by how slow it can be. As it turns out, this can be easily improved upon! Eclipse uses Java 1.5 by default in OS X. This is probably for compatibility reasons, but I don’t know for sure. Regardless, [...]

Quickly enable robust Python logging throughout an application

Tweet Sometimes it’s helpful to quickly enable logging in a Python application so you can peer into what the libraries you depend on are doing under the hood. Many libraries include logging, but in order to see the messages they rely on you configuring a root level logger in your [...]

View all tabs in Chrome with Mac Trackpad Gesture

Tweet If you’re like me, you probably have way too many tabs open in your web browser by the end of the day. It can be frustrating to find a tab as each one shrinks to be a little smaller with every tab you open.   Well now, Chrome has a [...]

Beware gotcha when using HTML comments in Firefox

Tweet Just spent far too much time on this little gotcha, hopefully this saves someone a lot of frustration! Let’s say you have some markup, like so: <div id=”someContainer”> <span>Some text</span> </div><!– someContainer –> It’s relatively common for people to put a closing comment to help match up closing tags. [...]

Learn to be an iOS Developer from the best, without paying tuition

Tweet There are some really great resources available if you want to learn to develop for the iOS platform (iPhones, iPod Touches, iPads). But perhaps the best resources out there, are free! Professor Paul Hegarty of Stanford teaches CS 193P – iPhone Application Development, and all of the lectures are available [...]

Entrepreneurs Threatened By Ironically Named America Invents Act

Tweet So you’ve got a great idea for a business? Odds are, you’re not the only one that’s thought of it. One of the biggest worries–and wastes of time–for new entrepreneurs is “what if someone else steals my idea?” They get very secretive, make people sign NDAs, and start talking [...]

30 Day Challenge Interrupted

Tweet This is so frustrating, but I am sick with a sore throat and haven’t been able to record. But I am determined to finish, so as soon as I can I will continue!!!