Wordpress - chirale.wordpress.com - chirale

Latest News:

Untitled document instead of Google Docs list: how to get your document list again 26 Jul 2013 | 01:08 pm

Until yesterday, the shortcut docs.google.com listed the files I’ve on Drive. Today when I try to access the domain I can only get a blank, Untitled document. In that case you have to move the curso...

How to enable gzip on proxy servers on Apache 15 Jul 2013 | 07:29 pm

I’m starting to use the gunicorn django app using supervisord. Here my configuration: Varnish: port 80 Apache: port 8080 gunicorn: port 4180 (/path/to/my/manage.py run_gunicorn localhost:4180) Onl...

Autolaunch a command and restart it on quit on CentOS 7 Jun 2013 | 03:16 pm

I’ve a django-admin command running as a server thanks to gevent. I want this server to run on boot and autorestart on quit.  StackOverflow give me a hint: use Supervisor. On a Centos 5 distro: At the...

Django and Drupal integration using drush via SSH 1 Jun 2013 | 02:34 pm

Some months ago I talked about how to achieve a unified login from Django to Drupal using drush. The basic assumption was that both Drupal and Django are on the same server. What if the two components...

Create nice unicode PDF using Python 10 May 2013 | 03:18 pm

Today I started one of the less motivating activities in Python 2.x: encoding. In Python 3 unicode will be everywhere, but as of the 2.6 version I’ve on one of the server I have to endure. Objective: ...

Apache CentOS 6 cannot send email and Drupal get HTTP request status fails 24 Apr 2013 | 08:59 pm

I’m installing a Pressflow 6 on a new machine running CentOS 6. I’m using Apache MPM Worker with FastCGI. Then I get the classical e-mail error: Unable to send e-mail. Please contact the site administ...

Listen to your music and play video from your RaspberryPi NAS using DLNA 11 Apr 2013 | 01:43 am

Note: DLNA will give access to your files on RaspberryPi through your local wireless network. Be careful choosing directories to expose. Supposing you’ve already a RaspberryPi NAS: Change media dir to...

Unified login in Django and Drupal 15 Mar 2013 | 02:59 pm

I’m working on a project that has two hearts: a Django for a custom CRM with thousands of imported users, and Drupal, where those users should login. This howto apply on: Drupal 7.x (slave) Django 1.5...

Pair view fields content on a Drupal 7 view quick howto 25 Jan 2013 | 09:29 pm

Valid for: Drupal 7, Views 3. I have two multiple text fields on a Drupal 7 content type. I want to display those fields paired by delta in a view. Here the code I used in my module named mymodule.mod...

Scrapy on Debian 6 4 Jan 2013 | 01:52 pm

Debian 6 comes with Scrapy 0.8 as downloadable packages on apt. Here a quick howto to get this spider works on Debian 6. sudo apt-get install python-scrapy cd mkdir mydir cd mydir scrapy-ctl startproj...

Recently parsed news:

Recent searches: