Skip to content

Instantly share code, notes, and snippets.

View dreamiurg's full-sized avatar

Dmytro Gaivoronsky dreamiurg

  • CISO & VP of Engineering @ Assurance IQ
  • Seattle
  • 18:37 (UTC -07:00)
View GitHub Profile
### Keybase proof
I hereby claim:
* I am dreamiurg on github.
* I am dreamiurg (https://keybase.io/dreamiurg) on keybase.
* I have a public key whose fingerprint is 94C4 271D B090 BBB2 92DE 0FA3 ED90 F588 25F7 5764
To claim this, I am signing this object:
https://gist.github.com/dreamiurg/df8f175d469f10cda3e178ba57d6424a
import requests
import arrow
LOGIN_URL = 'https://strengthlevel.com/signin-or-register'
BASE_LIFT_URL = 'https://strengthlevel.com/XXX-lifter'
def login(session):
data = {
'email': r'XXX',
brew cask install iterm2 sublime-text istat-menus
import arrow
import csv
import boto3
import datetime
import logging
import numpy as np
import os
import re
import sys
import StringIO
$ cat buffer.c
#include <stdio.h>
#include <string.h>
#include <time.h>
int main() {
char src[4] = {0};
char dst[1] = {0};
time_t epoch;
time(&epoch);
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
# The short X.Y version.
version = get_version().lstrip('v')
# The full version, including alpha/beta/rc tags.
release = version
@dreamiurg
dreamiurg / gist:1329598
Created November 1, 2011 01:28
Stylebot css to remove wasted space in Google Reader new theme
/*
before http://pix.am/ArBv/
after http://pix.am/uvye/
*/
#top-bar {
display: none;
}
@dreamiurg
dreamiurg / fabfile.py
Created July 25, 2011 08:40
fabfile.py for webfaction and vagrant
"""
This fabric file makes setting up and deploying a django application much
easier to webfaction servers or your dedicated server, but it does make a
few assumptions. Namely that you're using Git, Apache and mod_wsgi. Also
you should have SSH installed on both the local machine and any servers you
want to deploy to.
Thanks to:
http://github.com/ryanmark/django-project-templates
# override settings with environment and local_settings
FLAVOR = os.environ.get('FLAVOR')
if FLAVOR:
override_settings('config.' + FLAVOR)