This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| from celery import Celery | |
| from kombu import Exchange | |
| from kombu import Queue | |
| # modify this to select which routing_key to consume. | |
| SITE = 'sto' | |
| celery = Celery() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| FILE=$1 | |
| [[ ! -f $FILE ]] && exit 1 | |
| function create_args() { | |
| while [[ $# -gt 1 ]]; do | |
| shift | |
| echo -n " \"$1\"" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| lookup_map={ | |
| 'A': ".-", | |
| 'B': "-...", | |
| 'C': "-.-.", | |
| 'D': "-..", | |
| 'E': ".", | |
| 'F': "..-.", | |
| 'G': "--.", |
NewerOlder