Skip to content

Instantly share code, notes, and snippets.

View daker's full-sized avatar
🏴‍☠️
Emitting X-rays ☢️

Adnane Belmadiaf daker

🏴‍☠️
Emitting X-rays ☢️
View GitHub Profile
{
"auto_complete": false,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
#!/bin/bash
# From http://hexxeh.net/?p=328117859
sudo apt-get install -y --force-yes libnss3 libxrender1 libxss1 libgtk2.0-0 libgconf2-4
sudo mkdir -p /opt/google/
cd /opt/google
sudo wget http://distribution-us.hexxeh.net/chromium-rpi/chromium-rpi-r22.tar.gz -O chromium-rpi.tar.gz
sudo tar xvf chromium-rpi.tar.gz
sudo chown root:root chrome/chrome-sandbox
sudo chmod 4755 chrome/chrome-sandbox
@daker
daker / credis_requirements.txt
Created August 20, 2012 02:07 — forked from oliver-montes/credis_requirements.txt
Django Celery Redis Setup
Django==1.3.1
django-celery==2.3.3
redis==2.4.9
celerymon

Django-celery + Redis notes

Installation and Setup

  1. Install redis on OSX (10.7) Lion I used:

     $ brew install redis
    
  2. In the project and virtualenv I wanted to use django-celery in I installed the following.

@daker
daker / gae.sh
Created June 7, 2012 21:54
Install Google App Engine SDK on Ubuntu 12.04
# Copyright (C) 2012 Adnane Belmadiaf <daker@ubuntu.com>.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@daker
daker / gist:2877682
Created June 5, 2012 20:37 — forked from odiroot/gist:1737882
Sublime Package Control installation
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'