Category Archives: Programming

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

Better output from sqlite3 command line

That weird output from sqlite3 command line is annoying you as well ? Just set this up to get something better : cat < <EOF>~/.sqliterc .mode "column" .headers on .explain on EOF

Posted in Programming | Leave a comment

Ruby XMLRPC over a Self Certified SSL with a warning

If you use the XMLRPC client in ruby over a self certified SSL you have this warning : warning: peer certificate won’t be verified in this SSL session You can get override that warning cleanly (i have seen some people … Continue reading

Posted in Programming, Ruby | 2 Comments

Yum Force Exclude List

While talking with my fellow colleague Darren Birkett about what seems a design limitation of yum to not be able to force listing the excludes from yum. I had a shoot to make a yum plugin to force listing the … Continue reading

Posted in Programming, Python, RedHat | 6 Comments