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
import datetime | |
import os | |
import re | |
import sys | |
from collections import defaultdict | |
from datetime import timedelta | |
import sqlite3 | |
from dateutil.parser import parser |
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
* * * * * cd /Users/mark/src/hindsight/ && (python screenshot_browser.py > today.html) && /usr/local/bin/phantomjs rasterize.js file:///Users/mark/src/hindsight/today.html todayscreens.png >/dev/null 2>&1 |
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
set nocompatible | |
" ---------- plugins --------- | |
execute pathogen#infect() | |
" Syntastic | |
let g:syntastic_auto_loc_list=1 | |
let g:syntastic_html_checkers=[] | |
let g:syntastic_python_checkers = ['flake8', 'pylint', 'mypy'] |
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
import json | |
import random | |
from flask import Flask, request | |
app = Flask(__name__) | |
x = 0 | |
@app.route('/ShareWebServices/Services/General/LoginPublisherAccountByName', methods=['post']) |
OlderNewer