Skip to content

Instantly share code, notes, and snippets.

View dbryant4's full-sized avatar

Derrick Bryant dbryant4

View GitHub Profile
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"sql_server_name": {
"defaultValue": "sql-server",
"type": "String"
},
"databases_adwtestdb_name": {
"defaultValue": "sql-server/adwtestdb",

Keybase proof

I hereby claim:

  • I am dbryant4 on github.
  • I am dbryant4 (https://keybase.io/dbryant4) on keybase.
  • I have a public key whose fingerprint is 594E 790B F56D 839D 9F7C 7D43 8742 C24A 802A 9D28

To claim this, I am signing this object:

class BytecodeList(object):
def __init__(self, bytecodes):
self.bytecodes = bytecodes
self.index = 0
self.len = len(bytecodes)
def next(self):
while self.index < self.len:
yield self.bytecodes[self.index]
self.index += 1
@dbryant4
dbryant4 / howto-bump.md
Last active December 28, 2015 20:22
Bump Version of Furtive

workon furtive

git checkout master
git pull origin master
bumpversion --commit --tag --verbose --allow-dirty minor
git push origin master --tags

Update readthedocs.org branch

@dbryant4
dbryant4 / README.md
Last active December 30, 2015 07:09
Cabi Dashing Widget

Capital Bikeshare (Cabi) Widget

About

This widget is based on the B-cycle widget. Capital Bikeshare (cabi) is the bike share system operating in Washington, DC. This system is operated by Alta. As far as I can tell, each Alta installation provides their own API so unlike B-cycle, there is not one place to get information about all Alta based systems. Therefore, this widget only works with Capital Bikeshare but should be easily modifiable to work with NYC, Chicago, and other bike share systems operated by Alta.

Like the B-cycle widget, this widget allows users to use the station ID to get the number of bikes and empty docks at Cabi stations.

Installation