Filed Under: I can’t believe I live here.
I love Satellite Eyes. I’ve been using it for the last few years(?) to beautify my desktop with local Stamen Watercolor Maps.
When I saw these Flickr heatmap tiles by Eric Fischer, I immediately wanted them as my desktop. Here’s how to do it.
Head to the Satellite Eyes preferences.
Click “Manage Map Styles…”
Add a new map style, set the source to:
Set Satellite Eyes to use the new map.
I’m a big fan of using virtualenv to create isolated environments for Python projects. Here’s how I set everything up on Ubuntu 12.10.
sudo apt-get install python-pip
sudo pip install virtualenv
Create a dir to store your virtualenvs (I use ~/.virtualenvs)
At this point you are all set to use virtualenv with the standard commands. However, I prefer to use the extra commands included in virtualenvwrapper. Lets set that up.
sudo pip install virtualenvwrapper
Set WORKON_HOME to your virtualenv dir
Add virtualenvwrapper.sh to .bashrc
Add this line to the end of
~/.bashrc so that the virtualenvwrapper commands are loaded.
Exit and re-open your shell, or reload .bashrc with the command
. .bashrc and you’re ready to go.
Create a new virtualenv
to exit your new virtualenv, use
Switch between enviornments with workon
To load or switch between virtualenvs, use the
You can read more about virtualenv here and virtualenvwrapper here. You might also want to look at this very similar (and probably better) python guide post.
I love hack days. I usually go into these things with either no idea, or an idea that’s been bubbling in my head and will almost certainly be too ambitious for a day of hacking. Today is the latter, this should be fun.
A few months ago Cal built http://thisismyj.am, a parody of http://thisismyjam.com. This triggered the domain-buying lever in my brain and I wound up with http://thisismycam.com, which has been parked ever since. The sliver of an idea that inspired the domain purchase is a site that hooks up to Flickr, looks at a user’s photos, and builds a profile of all the cameras that they’ve used. Simple, right?
The plan, pull in photos, check exif, pull in camera info from amazon, build some pretty pages to display it all. Keep an eye on http://thisismycam.com for progress.
sudo cp -R /Volumes/MenuCracker\ 2.2/MenuCracker.menu /Library/PreferencePanes/MenuMeters.prefPane/Contents/Resources/# Close/(re)Launch System Preferences, and enable MenuMeters. Boom.
$ldconfig -v | grep wkhtml(just to make sure it's loaded) PHP Bindings: # Grab php-wkhtmltox "from github":https://github.com/mreiferson/php-wkhtmltox # Install Installation: If development tools aren't installed:
$apt-get install build-essential php5-dev(ubuntu)
extension=phpwkhtmltox.soto php.ini. P.S. These instructions are for Ubuntu. If you're on centOS, things are more difficult, good luck.
$su, the password is also "alpine" #
$rm /usr/bin/animateThat's it, on the next reboot you'll only see the standard apple logo, yay! If you want to keep SSH installed on your phone, you should change the default password using passwd, right now.
$curlMake sure that whatever you chose to name the video ends with the same extension as the original file, in this case .flv Here's what it would look like for the "Happy Feet" video:
$curl http://int1.fp.sandpiper.net/reuters/t_assets/20061127/a72e...f2943.flv -o ~/Desktop/HappyFeet.flvThis would save the video to my desktop and name it HappyFeet.flv
sudo cat /Library/QuickTimeStreaming/Config/qtgroupsYou will see something like:
admin: yourQTSSuserNow to change the password enter:
sudo qtpasswd yourQTSSuserYou may now go to http://localhost:1220 with your new password and carry on.
©2014 Chris James Martin