I hereby claim:
- I am justinvw on github.
- I am justinvw (https://keybase.io/justinvw) on keybase.
- I have a public key ASDhpRx3E06Ox24RwYcm1Gj4relON8te0CSr-HOroZJAjQo
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| csv2xml.py | |
| Created by Justin van Wees on 2011-04-18. | |
| """ | |
| import sys | |
| import os | |
| import string |
| #!/usr/bin/env python | |
| # Requirements: | |
| # - beets (https://github.com/sampsyo/beets) | |
| # - flac (http://flac.sourceforge.net/) | |
| # - faac (http://www.audiocoding.com/faac.html) | |
| # TODOS: | |
| # - Use multiple threads (multiprocessing) | |
| # - Replaygain data is copied from src to dest file, but is this fair? |
| import cPickle | |
| import urllib2 | |
| import hashlib | |
| from datetime import datetime | |
| import smtplib | |
| from email.mime.text import MIMEText | |
| PICKLE_FILE = '/home/justin/tools/updatedyet.pkl' | |
| MAIL_ON_CHANGE = ['[email protected]'] | |
| MAIL_FROM = '[email protected]' |
| # Delete the possibly existing autocomplete test index | |
| curl -X DELETE localhost:9200/autocomplete_test | |
| # Put the config of the autocomplete index | |
| curl -X PUT localhost:9200/autocomplete_test -d ' | |
| { | |
| "settings" : { | |
| "index" : { | |
| "analysis" : { | |
| "analyzer" : { |
| """ | |
| Dead simple classes to consume the Twitter Streaming API | |
| Last updated: 2013-06-12 | |
| :copyright: (c) 2013 by Justin van Wees | |
| """ | |
| import requests | |
| import json |
| import json | |
| import requests | |
| def send_message(auth_token, room, message, html=True, color='yellow', | |
| notify=False): | |
| """Sends a notification message to a HipChat room. | |
| For more information see HipChat's API V2 documentation: | |
| https://www.hipchat.com/docs/apiv2/method/send_room_notification |
| 2015-01-23 11:23:56.409 INFO - Megatron 1.1.0 (2015-01-22 15:14:22) started. | |
| 2015-01-23 11:23:57.927 ERROR - No import filename provided | |
| 2015-01-23 11:23:57.928 INFO - Reading system data from file: /home/vagrant/megatron-source/megatron-java/dist/megatron-java/conf/dev/systemdata.txt | |
| 2015-01-23 11:23:57.928 DEBUG - Processing line: # This file contains test data which can be used to populate a dev-db. | |
| 2015-01-23 11:23:57.929 DEBUG - Line is comment | |
| 2015-01-23 11:23:57.929 DEBUG - Processing line: # Run Megatron with the switch --import-contacts to import this file. | |
| 2015-01-23 11:23:57.930 DEBUG - Line is comment | |
| 2015-01-23 11:23:57.930 DEBUG - Processing line: | |
| 2015-01-23 11:23:57.930 DEBUG - Processing line: # Priorities | |
| 2015-01-23 11:23:57.931 DEBUG - Line is comment |
I hereby claim:
To claim this, I am signing this object: