I hereby claim:
- I am catermelon on github.
- I am ohnorainbow (https://keybase.io/ohnorainbow) on keybase.
- I have a public key whose fingerprint is 852C 5FFC D2EE 9F6A D016 B0E5 BCA7 3947 7A89 393C
To claim this, I am signing this object:
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBGIHRHkBEADocq8TrwFZB4JjEgjzCCm7qakBf7VcNjl3ZaXTWC7o/mnpf3Ts | |
MasFXmi01c/F3jiowJstsrbLdCuYTr9vNegURF/BvGSIMpcwz3bNW9hz/HCrhqzw | |
jVo9JfER/mg+yJGIvFj3eqwNDg0pHI3iWXEgdbCBrQKgJTNjhQRfuqJCuPCAie4A | |
vX0G57qoQMu82q7K5D9uNRSd5+9PGWsypNTQVU/45gQa6WEXLWOYaw5ZChmhGQcV | |
AwnYWTxv3TK0WPbQRtpxcR1HqRtjugAV61YvIaaeWxqsXNnYkyYzC1WiLuhRqpLV | |
+oFbQyubwKT1D3PF9UkKKZLUgvI9MsQdGA5BUQNaxn0UkZc4t43FV2hJTG1t52iu | |
4mqPMAYsHpIug1BWFXqvkyTnOhfr6TUgle21/Qt7+KLdX+cR79ISn9WHBNf93+0H | |
vRb/Y1KH6dQP9ZwIWLF/N9gd9GD7r7zfcR4UsBnaSI2ZdoDqkyerWyascSaeOLVw |
I hereby claim:
To claim this, I am signing this object:
from flask import current_app | |
class FeatureFlags(object): | |
def __init__(self, app=None): | |
if app is not None: | |
self.init_app(app) | |
def init_app(self, app): |
# This is not used unless SQLALCHEMY_BINDS is not present | |
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{username}:{password}@{hostname}/{database}?charset=utf8' | |
SQLALCHEMY_BINDS = { | |
'master': 'mysql+pymysql://{username}:{password}@{hostname}/{database}?charset=utf8', | |
'slave': 'mysql+pymysql://{username}:{password}@{hostname}/{database}?charset=utf8' | |
} |
from pyexchange import Exchange2010Service, ExchangeNTLMAuthConnection | |
from datetime import datetime | |
import time | |
from pytz import timezone, utc | |
def getEvents(): | |
URL = u'https://blah.blah/EWS/exchange.asmx' | |
USERNAME = u'DOMAIN\\user' | |
PASSWORD = u"password" |
#!/usr/bin/env python | |
import os | |
import logging | |
import requests | |
from requests_ntlm import HttpNtlmAuth | |
import getpass | |
import xml.dom.minidom | |
logging.basicConfig(level=logging.DEBUG) |
#"aabbbcccdde" => "a2b3c3d2e1" | |
def encode_string(unencoded): | |
if unencoded is None or unencoded == "": | |
return None | |
last_letter = None | |
count = 0 |
class Rachel_ChanceItIfUsing(object): | |
def __init__(self, name): | |
self.name = name | |
self.minShotguns = 2 | |
def turn(self, gameState): | |
green_dice_left = 6 | |
red_dice_left = 3 |
# Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" | |
# instead of the number and for the multiples of five print "Buzz". For numbers which are | |
# multiples of both three and five print "FizzBuzz". | |
# This is a moldly oldie in the programmer community, it's known as "FizzBuzz" (for obvious | |
# reasons). Here's a blog post: | |
# http://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html | |
# This solution runs through every number between 1 and 100, checks if they are evenly |
Build for PyExchange-Test | |
Built: July 18, 2013. 1:01 p.m. | |
State: Finished | |
Outcome: Passed | |
Version: latest |