Dropbox has a great feature called Camera Upload, where you can automatically upload pictures from your phone, making life for lazy people like me easier. The problem is that I take so many pictures with my phone that the folder ends up with a huge amount of files, making the task of browsing and viewing them slow and annoying.
To fix this problem, I created a python script that will automatically organize pictures inside folders Year > Month.
How to use:
In order to use the script, put the file organize.py inside the ‘Camera Upload’ folder and run it from the terminal:
SSH’ing to a server and doing all the configuration through terminal is easy and very fast, but when you want to edit files and set a remote development environment on your local machine, mounting a remote filesystem over ssh and editing them as the files were in your computer is the way to go.
Right now I’m using the just released OSX Mavericks (OSX 10.9), so for mounting a remote system you will need to do some tricks and tweaks to have it working. I will try to explain step-by-step on how to do it.
Bitcasa is a great option for everyone who wants to backup a big chunk of files. You have unlimited space to host your files, and it also works as an external drive. I can say it works alright, but it is still a bit slow and there is still a lot of work to be done in order to be as good as its competitors, such as Dropbox.
With the last iOS update, you are now able to backup all of your phone’s pictures directly to the Bitcasa Upload folder. It’s great and works very well BUT the problem is that after a month of uploads, the folder is packed with more than a thousand pictures, which makes it extremely slow to function (because it’s all in the cloud). So I made a small python script to automatically organize the folder by the time it was uploaded, creating a folder like /Volumes/Bitcasa/Uploads/2013/Aug and it moves them to those folders.
Below you can check out the script, hope it helps!
So long and thanks for all the fish!!!
PicPlz is going down, I guess that soon they will allow users to download their pictures before all is wiped off their data centers. While we wait, I’ve created a simple Python Script when entering the username you can download all the photo stream.
You get follow the project on GitHub
I needed to calculate the distance between two Geo-Points using PHP.
Using Haversine formula you get to this function, where you enter lat1, long1, lat2, long2 and it will give the distance in Km.
In case you want to show the distance in Miles, simply change the Earth radius to 3956.
Hope it helps someone!
Yesterday I was playing with the PicPlz API and decided to build a gallery for myself, so I can simply see all my PicPlz pictures in one page, and with the coolness of FancyBox.
You can also use to create your own gallery, simply by going to http://www.danielandrade.net/picplz/?u=USERNAME, changing the USERNAME to your own. And then you have it.
Ah, take a look at my gallery here.
Hope you like it, and use it!!
Let me know what do you think of it.