Skip to content

Instantly share code, notes, and snippets.

View antongorshkov's full-sized avatar

Anton Gorshkov antongorshkov

View GitHub Profile
Verifying that "antong.id" is my Blockstack ID. https://onename.com/antong
https://www.zenbership.com/Resources/Demo
http://www.capterra.com/membership-management-software/spotlight/44378/Tendenci/Tendenci
https://www.admidio.org/
http://blog.capterra.com/which-price-is-right-for-your-membership-management-software-solution/
recdesk.com
https://github.com/kidaa/aur/blob/974ca1e3f0c741a0df2ad29c5d7ee3dc8e32d92c/picasa_upload/picasa_upload
https://github.com/hazelnusse/picasaAPI/tree/36b06cbfa15ff905fdb0e99299128dfd2028b339
https://github.com/ivh/piscripts/blob/66c405b2b2016095703fe10d1c81ae82727edf25/googleUpload.py
https://github.com/JamesSeo/raspberryCCTV/blob/9eefd22e2ae61935c40df32aa8372cb0352f6aab/upload-photo.py
* Clipboard Manager OSX: https://fiplab.com/apps/copyclip-for-mac (Ditto for Windows)
import pprint
with open('fruits') as f:
d = dict([x.rstrip(),1] for x in f)
fruit = raw_input('Enter fruit: ').title()
if fruit in d:
print('Got it!')
else:
print('No luck!')
Abiu
Acai
Acerola
Ackee
Agave
Aizen
Alligator
Amazon
Ambarella
Apple
Remove space used:
docker ps -a
docker rm < <IMAGE_NAME>
docker volume ls
docker volume rm <VOLUME_NAME>
sudo service docker stop
sudo rm -rf /var/lib/docker
sudo service docker start
@antongorshkov
antongorshkov / wikistats2json
Created April 10, 2016 03:21
convert pagecount stats to Json messages to be sent to Kafka/MemSQL
#!/bin/bash
for f in *.top; do
f_notop=${f/.top/}
IFS='-' read -r -a array <<< "$f_notop"
date=${array[1]}
hour=${array[2]}
first=0
while read p; do
IFS=' ' read -r -a tokens <<< "$p"