Tinkering with Firefox’ JS console I had to copypaste some stuff. I got a really nice surprise when it wouldn’t let me:
Scam Warning: Take care when pasting things you don’t understand. This could allow attackers to steal your identity or take control of your computer.
That’s some really good advice coming from your browser’s console.
TL;DR: Link to a mostly working hacked version of Pictag, on my Github repo.
Since Google decided not to support Picasa for Linux anymore (yes, a long time ago) I’ve been looking for a decent photo management alternative. Lately I’ve settled with Digikam, it does everything Picasa used to do (and much better, I may add) except for providing a way to geotag your pictures on a map.
Most geotagging solutions involve having an already created waypoints map from a GPS device, which then gets processed and magically added to the images’ exif data. That didn’t cut it for me, I don’t have, nor want, a GPS I can take on holidays, plus I really only want to drag and drop pictures on a map. That’s where pictag comes in.
At the moment pictag seems to be a bit abandoned, as there are no more packages for Ubuntu 13.04. Luckily with some hacking it’s possible to get it running.
First, since there’s no package for Pictag you’ll need to take care of the dependencies yourself. On a more or less vanilla 13.04 install, this should do the trick:
sudo apt-get install python-setuptools \ python-distutils-extra \ geoclue-ubuntu-geoip \ liblaunchpad-integration-common \ libchamplain-0.12-0 \ libchamplain-0.12-dev \ libchamplain-gtk-0.12-0 \ libchamplain-gtk-0.12-dev \ python-pyexiv2 \ libclutter-gtk-1.0-0 \ libclutter-gtk-1.0-dev
After you’ve taken care of that you can download the latest version from Launchpad (while writing this article that should be 12.07.17) and run ./bin/pictag, only to watch it fail miserably.
Pictag seems to be using GSettings, a very annoying Gnome settings manager which won’t work unless you actually install whatever program you’re trying to run. Luckily we can just hack it out of Pictag simply by commenting out all references to self.settings in PictagWindow.py and Window.py. Either that or get my hacked version of Pictag, on my Github repo.
With some luck, my hacked version of Pictag should run pretty much OK on Ubuntu 13.04 or newer. There seems to be a few issues with libchamplain (the mapping library) on earlier versions of Ubuntu that may cause the map to display only broken images. If you can’t load any maps you’ll have to get a newer Ubuntu. Or fork my repo and get hacking 🙂
This is a little bit outside of what I normally post, but when I find such a terribly useful site I need to share it (so I won’t forget next time I need it).
Have you ever had to set up a forwarding to expose a LAN service to the outside world? It kind of sucks not knowing if you set up everything correctly, and it’s not easy to test, since you can only test if the service is working inside your LAN. Normally you would need to either bounce on a proxy outside, or ask a friend to nmap you. Alternatively, you can use canyouseeme.org, a website that will probe a specific port on the IP you specify, and tell you if it times out or if it’s open.
A great time saver.
UNIX is very simple, it just needs a genius to understand its simplicity.
— Dennis Ritchie
Every once in a while you need to draw a graph to quickly convey some information, and you don’t want all the hassle of opening paint, drawing whatever you want, exporting it as png, and all that stuff. Sometimes it’s just easier to do it as ASCII art, only you don’t want to spend hours carefully aligning pipes and dashes. For these times Asciiflow exists.
Give it a try, it’s a great way to quickly generate a diagram. Just remember to use monospace fonts.
There’s a very cool script to add to your browser but first:
- Do you try to keep your inbox count in 0 (but usually fail miserably)?
- Do you like (need!) to be notified when a new mail arrives?
- Do you like Opera?
If you meet this conditions then you are very sick and need professional help. In the meantime, go and check Gmail Favicon Alerts 3, a cool script which changes gmails favicon to show your current email count. It works on Opera but it makes it crash. Most likely the script is not the one to blame here…