This file contains hidden or 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
[tox] | |
envlist = py36 | |
skipsdist = True | |
[testenv] | |
deps = django==2.0.6 | |
commands = {posargs:./manage.py runserver} | |
setenv = | |
PYTHONPATH={toxinidir} | |
PATH={envdir}/bin:{env:PATH} |
This file contains hidden or 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
""" | |
Implement @secret_decorator allows to bypass decorator on base class method | |
""" | |
class Base(object): | |
@secret_decorator | |
def method(self): | |
print('base') | |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am kmmbvnr on github. | |
* I am kmmbvnr (https://keybase.io/kmmbvnr) on keybase. | |
* I have a public key whose fingerprint is E685 C7A1 645B 1101 B842 9615 CC5D BCAC 89FE 6B7B | |
To claim this, I am signing this object: |
This file contains hidden or 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
# -*- mode:python; coding: utf-8 -*- | |
""" | |
Usage: | |
import_request <username> | |
""" | |
import cx_Oracle | |
import getpass | |
import openpyxl as px | |
from datetime import datetime, time | |
from docopt import docopt |
This file contains hidden or 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
package com.kmmbvnr; | |
import java.util.Collections; | |
import java.util.LinkedList; | |
import java.util.List; | |
/** | |
* Simple Time Sync algorithm impl | |
* Based on http://www.mine-control.com/zack/timesync/timesync.html | |
*/ |
This file contains hidden or 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
Udacity cs373 code |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<classpath> | |
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | |
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | |
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | |
<attributes> | |
<attribute name="maven.pomderived" value="true"/> | |
</attributes> | |
</classpathentry> | |
<classpathentry kind="src" path="gen"/> |
This file contains hidden or 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
*/.go |
This file contains hidden or 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
*.suo | |
*.user | |
App_Data/ | |
bin/ | |
obj/ | |
packages/ | |
packages.config |
This file contains hidden or 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 | |
try: | |
from ve_setup import use_virtualenv | |
except ImportError: | |
import urllib | |
urllib.urlretrieve("http://tiny.cc/ve-setup", 've_setup.py') | |
from ve_setup import use_virtualenv | |
use_virtualenv(['--distribute', "python"], requirements="requirements.pip", activate=True) | |
# application code |