Skip to content

Instantly share code, notes, and snippets.

@andrijan
andrijan / checkboxes.md
Last active November 15, 2019 13:29 — forked from pchaigno/checkboxes.md
Task Time required Assigned to Current Status Finished
Calendar Cache > 5 hours @georgehrke in progress - [x] ok?
Object Cache > 5 hours @georgehrke in progress [x] item1
[ ] item2
Object Cache > 5 hours @georgehrke in progress
  • item1
  • item2
Object Cache > 5 hours @georgehrke in progress
  • item1
  • item2
  • works
  • works too
@andrijan
andrijan / face-boxer-usage.md
Created October 17, 2017 15:10 — forked from dannguyen/face-boxer-usage.md
A face-detection script in Python

This face-boxer.py script is more-or-less the same code that you'll find in the OpenCV tutorial: Face Detection using Haar Cascades. For another variation, with more explanation, check out RealPython's tutorial.

Usage

The face-boxer.py script is designed to be run from the command-line. It has two required arugments:

  1. The path to a XML file containing a Haar-cascade of visual features. In this example, it will be the features that make up a face.
  2. The path to an image file that you want to perform face-detection on. You can pass in more than one image file as space-separated arguments.
" Let unite ignore .gitignore files
let g:unite_source_rec_async_command= 'ag --nocolor --nogroup --hidden -g ""'
" Custom AJ settings
imap jk <Esc>
imap jj <Esc>
noremap ss :w<CR>
noremap qq :q<CR>
map <LocalLeader>h :cprev<CR>
andrijan@andrijan-stori:~/.q2pro$ ./q2proded +game action
------- FS_Init -------
Current search path:
./baseq2/pak2.pak (2 files)
./baseq2/pak0.pak (1106 files)
./baseq2
1108 files in PAK files
-----------------------
Execing default.cfg
Execing config.cfg
2012-11-29 14:19:18,430 web.1 | started with pid 5731
2012-11-29 14:19:18,433 postgres.1 | started with pid 5733
2012-11-29 14:19:18,435 pgbouncer.1 | started with pid 5738
2012-11-29 14:19:18,438 celery.1 | started with pid 5743
2012-11-29 14:19:18,443 djmemcached.1 | started with pid 5746
2012-11-29 14:19:18,446 rabbitmq.1 | started with pid 5756
2012-11-29 14:19:18,449 nx.1 | started with pid 5762
2012-11-29 14:19:18,453 reload.1 | started with pid 5766
2012-11-29 14:19:18,457 djangoref.1 | started with pid 5773
2012-11-29 14:19:18,469 memcached.1 | started with pid 5777
description "upstart configuration for gunicorn maeting"
start on net-device-up
stop on shutdown
respawn
exec /usr/local/virtualenvs/maeting/bin/gunicorn_django --pythonpath=/srv/sites/maeting --settings=settings -u deploy -c /srv/sites/maeting/configs/gunicorn.conf.py /srv/sites/maeting/settings.py
bind = "127.0.0.1:8001"
logfile = "/var/log/gunicorn/maeting.gunicorn.log"
workers = 3
PROJECT_ROOT = path(__file__).abspath().realpath().dirname()
MEDIA_ROOT = PROJECT_ROOT / 'assets' / 'uploaded' / ''
STATIC_ROOT = PROJECT_ROOT / "assets" / "static" / ''
MEDIA_URL = "/media/"
STATIC_URL = "/static/"
server {
listen 80;
server_name maeting.kasmir.is;
access_log /var/log/nginx/maeting.access.log;
error_log /var/log/nginx/maeting.error.log;
location /static/ {
root /srv/sites/maeting/assets/static/;
}
"""""""""""""""""""""""""""""""""""""""""""""""""
" Höfundur: Samúel Jón Gunnarsson
" Lýsing: vim resource skrá aka vimrc
"
" Samsuða af stillingum meðal annars frá:
" Gavim - Gaveen's Vim Configuration: http://gaveen.owain.org/2009/07/my-vim-configuration.html
" Amix the luky stiff: http://amix.dk/blog/post/19486#The-ultimate-vim-configuration-vimrc
" vimcasts.org: http://vimcasts.org
"
" Eftirfarandi viðbætur hefur mér þótt ágætt að nota í gegnum tíðina: