This file contains 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
Verifying that +aidanskinner is my blockchain ID. https://onename.com/aidanskinner |
This file contains 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
from celery.decorators import periodic_task | |
from celery.schedules import crontab | |
@periodic_task( | |
run_every=crontab(minute='*/10'), | |
) | |
def hello_world(): | |
print "hello" |
This file contains 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 | |
for i in `find $1 -name "*.php"`; do sed 's/^.*aWYoZn.*\?>//' < $i > $i.clean ; mv $i.clean $i; done; |
This file contains 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
#!/usr/bin/python | |
from mongoengine import * | |
class Noddy(Document): | |
fields = DictField() | |
def main(): | |
connect("test", port=27019) | |
Noddy.drop_collection() |