Category Archives: Programming

Rackspace CloudDNS python binding

I have released a python binding to Rackspace CloudDNS here which allow you to create/update/delete domains and records. It’s available on github https://github.com/rackspace/python-clouddns/ The binding is pretty simple and have unfortunately no documentation (or even tests) but you can figure … Continue reading

Posted in Cloud, Programming | Leave a comment

Installing python-cloudfiles from pypi

I have just uploaded python-cloudfiles to pypi available here This make things easy to add as a dependence of your project like you can have something like this in your setup.py : requirements = ['python-cloudfiles'] and it will automatically download … Continue reading

Posted in Cloud, Programming, Python, Rackspace | Leave a comment

Get latest lyrics of a scrobbled LastFM song

All my music players (Spotify, XBMC, Rythmbox etc…) are scrobbling over lastfm but not all of them display song lyrics properly so I came up with a quick Google AppEngine app that grab the latest or current song scrobbled over … Continue reading

Posted in Programming | Leave a comment

Python decorator to argument checking

I am sure there is billions or more people who already done that but I needed this quickly for my project and was not feeling googling around :

Posted in Programming, Python | Leave a comment

connecting to self signed SSL certificate from Java on Debian/Ubuntu

You want to connect to self signed SSL certificate from Java using the standard HttpsURLConnection and you are getting this error, because the self signed certificate is obviously not recognized by Java : SEVERE: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: … Continue reading

Posted in Java, Programming | Leave a comment

Using Jython with the vCloud API

Lately I had to do a lot of works with the VMware VCloud product and since the python API did not seem available and I did not have the courage to use the PHP API I had to do most … Continue reading

Posted in Cloud, Programming | 1 Comment

Accessing to Rackspace Cloud Files via servicenet (update)

Last week I have posted an article explaining how to connect to Rackspace Cloud Files via Rackspace ServiceNET but I actually got it wrong as pointed by my great colleague exlt so I had to take it down until figured … Continue reading

Posted in Programming, Python, Rackspace | 2 Comments

How to connect to Rackspace Cloud Files via ServiceNET

If you are a Rackspace customer and you are are planning to use Rackspace Cloud Files via it’s internal network (ServiceNet) so you don’t get billed for the bandwidth going over Cloud Files this is how you can do. The first thing is … Continue reading

Posted in Programming, Python, Rackspace | 4 Comments

Rackspace Cloud Files helper scripts

Since working a lot with Rackspace Cloud Files I have put some quick scripts using the python-cloudfiles API to do some ls rm and cp of containers or objects.. It’s really a collection of quickly written stuff put in the … Continue reading

Posted in Programming, Rackspace | Leave a comment

Upload to Rackspace Cloud files from GNOME nautilus

After seeing this script http://overhrd.com/?p=106 which allow to upload files with the file manager (finder) of MacosX to Rackspace Cloud Files, I have made a nautilus script that doe the same for us Gnome/Unix users. Available here : http://github.com/chmouel/nautilus-rackspace-cloud-file/tree/master

Posted in Programming, Rackspace, Scripts | Leave a comment