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
""" | |
Tiny flask app that listens for incoming requests from a "GitHub webhook", | |
and, if the webhook was triggered by a push to the "native_client" repo, | |
calls the "Travis API" to trigger a build for the "lind_project" repo. | |
""" | |
import os | |
import json | |
import hmac | |
import hashlib | |
import requests |
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
""" | |
Sublime Text 3 command to find next or previous occurrence of a string in a tex | |
document and in the corresponding open pdf document, built with ST3 package | |
`LaTeXTools`, and displayed using OSX pdf viewer `skim`. | |
Add snippet to new *.py file in: | |
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/ | |
Handy keybindings: | |
(~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap |
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/env python | |
""" | |
<Program Name> | |
count_html_elems.py | |
<Author> | |
Lukas Puehringer <luk.puehringer@gmail.com> | |
<Started> | |
May, 2018 |
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/env python | |
""" | |
<Program Name> | |
say_lte.py | |
<Author> | |
Lukas Puehringer <luk.puehringer@gmail.com> | |
<Purpose> | |
Script to help me position my `Alcatel Linkhub HH40v` LTE modem for the |
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 | |
# vim:set fileencoding=utf-8 sw=2 ai: | |
import sqlite3 | |
import datetime | |
import re | |
SQL = ''' | |
select | |
name, version, time, author, text |
NewerOlder