Start the worker:
celery -A tasks worker --loglevel=info -c 2 --pidfile=celery.pid
In another terminal send 6 tasks:
python script.py
// ==UserScript== | |
// @id Twitter pinbaord unread | |
// @name Twitter pinboard unread | |
// @namespace http://jacky.seezone.net/twitterpinboardunread | |
// @description press p to save link in current tweets to pinobard unread | |
// @include https://twitter.com/* | |
// @include http://twitter.com/* | |
// ==/UserScript== | |
function getTitle(link){ |
/* coffee-script example usage - at https://github.com/johan/dotjs/commits/johan | |
on path_re: ['^/([^/]+)/([^/]+)(/?.*)', 'user', 'repo', 'rest'] | |
query: true | |
dom: | |
keyboard: 'css .keyboard-shortcuts' | |
branches: 'css+ .js-filter-branches h4 a' | |
dates: 'css* .commit-group-heading' | |
tracker: 'css? #gauges-tracker[defer]' | |
johan_ci: 'xpath* //li[contains(@class,"commit")][.//a[.="johan"]]' |