Skip to content

Instantly share code, notes, and snippets.

View s0b0lev's full-sized avatar

Aleksandr Sobolev s0b0lev

  • Kyrgyzstan, Bishkek
  • 11:00 (UTC +05:00)
  • X @as0b0lev
View GitHub Profile
### Keybase proof
I hereby claim:
* I am s0b0lev on github.
* I am s0b0lev (https://keybase.io/s0b0lev) on keybase.
* I have a public key ASCwDOGma2aKpfI1b7dPO8XRWl5M0KdeFSqgcwl_-pXFigo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am s0b0lev on github.
  • I am as0b0lev (https://keybase.io/as0b0lev) on keybase.
  • I have a public key ASAWXe5PhMxV5oB6hXQ3QuHmO8kjo-6VPKdkFwVHQVPnWQo

To claim this, I am signing this object:

@s0b0lev
s0b0lev / idmatch_todo.txt
Created June 14, 2017 19:44
idmatch roadmap draft
Roadmap
@s0b0lev
s0b0lev / postgres-cheatsheet.md
Created February 27, 2017 06:08 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

If run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).

Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*

@s0b0lev
s0b0lev / xvfb
Last active August 29, 2015 14:23 — forked from jterrace/xvfb
XVFB=/usr/bin/Xvfb
XVFBARGS=":1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset"
PIDFILE=/var/run/xvfb.pid
case "$1" in
start)
echo -n "Starting virtual X frame buffer: Xvfb"
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS
echo "."
;;
stop)

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.