Upload a directory to Rackspace Cloud Files from command line
Here's a simple bash script that uploads a directory to Rackspace Cloud Files and may later on be served as a static website.
First we have to authenticate to get the authentication token that has to be passed for every request:
$ curl -v -X GET -H "X-Auth-User: <username>" -H "X-Auth-Key …
The missing documentation for django.utils.datastructures
Cross posted from my work blog.
Note
django.utils.datastructures is intentionally not documented by the django core devs because it is an internal API and is liable to change without any notice. This file is not governed by django's lenient backwards-compatible policy. You have been sufficiently warned!
With the …
read moreDissecting Phonegap's architecture
Cross-posted from my work blog.
Apache Cordova is a open source cross-platform framework for building native mobile applications using HTML, CSS and JavaScript. It started off as Phonegap, a project of Nitobi Software before it was acquired by Adobe Systems. The code for the platform was donated to the Apache …
read moreDropbox file upload handler for django
Using Ubuntu cloud images in KVM
Cross posted from work blog.
Quite a few of our clients are powered by Amazon EC2 or Rackspace and we use Ubuntu LTS releases for our servers. Canonical provides EC2 AMIs and Openstack images for all their releases. By using these JeOS images on the server as well as on …
read moreLibvirt and KVM
Cross-posted from my work blog.
Libvirt and KVM
"But it works on my local setup!" We have heard or probably said this tens of times after something that we deployed to the production server breaks. After fire fighting for hours we learn that a particular package's version varies from the …
Using D-Link DWL-G132 from Linux
A couple of weeks back, my wireless card on my laptop first started dropping more than half the packets and then stopped working. Since the laptop is 4 years old, I was not too keen to spend to replace the wireless card (if stock was available). I had a DWL-G132 …
read moreDeveloping android applications from command line
Cross posted from my work blog.
Here at Agiliq, we also develop cross-platform HTML5 mobile applications. Using Eclipse to create an android project (one time task) and edit html and javascript files for an android app is an overkill. Wouldn't it be great, if you could use your favourite text …
read moreBehind the Scenes: From request to response
Cross posted from my work blog.
In the previous installment of "Behind the Scenes", we saw how the control flows from Form to File Storage. Today, we are going to see how the application reacts from request to response.
In this post, we are going to assume that we are …
read moreSencha Touch vs jQuery Mobile
Generally, I don't like to do a comparison of technologies or products in a single post because each deserves a dedicated post. But such type of posts get obsolete fast and the effort put into writing (not researching) them goes waste.
Before I start off the comparison, I need to …
read more