I have been meaning to get this blog SSL protected for a while and since solution like letsencrypt makes it easy I have generated some SSL keys for my domain and configured it in apache.
So far so good, but the thing is my VM at my hosting provider is pretty small and I have been using varnish for quite some time or I would get out of memory quickly some the kernel OOM killer kicking1 it....
Sometime ago or at least when I started doing programming in the late 90s XML was all the rage, it promised to be the panacea for everything from data to storage to data presentation and processing. People realized that it was just complexity as Joel Spolski points out an attempt to make the complex seem accessible to ordinary people.. Really people were annoyed to write all those tags as those ‘<’ and ‘>’ are hard to reach on a qwerty keyboard....
How I feel when I try to address all pylint warning/errors:
Adapted from http://devopsreactions.tumblr.com/post/47690154351/trying-to-code-to-w3c-standards
I have been using quite a bit the anything-mode for Emacs, it’s basically a Quicksilver/Alfred or Gnome-do for Emacs and allow to configure a lot of different sources to complete some chosen ‘source’with different actions.
With my work on OpenStack I have found myself jumping a lot between git directories and due configured the variable ‘magit-repo-dirs for easy access to most of them easily.
Plugging those two just seemed natural I had already this in my emacs to quickly open those magit repository directories :...
I have released a python binding to Rackspace CloudDNShere 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 out most of it from here :
https://github.com/rackspace/python-clouddns/blob/master/tests/t.pyI will be very welcoming pull request that add a bit of documentation.
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 it as part of the dependence with easy_install or pip.
cool kids on latest debian/ubuntu can do stuff like this (from python-stdeb package) :
pypi-install python-cloudfiles
which would automatically download the tarball from pypi and install it as a packages (like the way it should be for prod machine!...
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 last.fm and display its lyrics. No fancy HTML or javascript just the lyrics displayed for your enjoyment.
This is available here :
http://getlastlastfmlyrics.appspot.com/
for the scripter around you can just get (via curl or other) :...
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 :
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: unable to find valid certification path to requested target javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun....
Lately I had to do a lot of works with the VMware VCloudproduct 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 of the API works with Java. I never did any Java before and while I have found Eclipse+Java development surprisingly pleasant and easy to use/learn my favourite are still Emacs+Python.
I have then started to look over Jython to see if I can interact easily with Java via Python and this was actually pretty easy, it took me less than 10mn to convert a Login/Listing-VAPPS script in Jython....