I hereby claim:
- I am colegleason on github.
- I am colegleason (https://keybase.io/colegleason) on keybase.
- I have a public key whose fingerprint is AB7C 7466 28F1 F92E 1DAD 4093 91A7 3434 E6BD 5AFC
To claim this, I am signing this object:
| <html style="width:100%; height:100%; overflow:hidden"> | |
| <head> | |
| <!-- You can include external scripts here like so... --> | |
| <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>--> | |
| </head> | |
| <body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
| <style> | |
| #container { | |
| width: 640px; |
| #Rock Paper Scissors | |
| import random | |
| repeat = True | |
| continue_game = True | |
| while(repeat): | |
| total_rounds = input("What is the maximum number of rounds that you wish to play? ") | |
| curr_round = 1 | |
| wins = 0 | |
| losses = 0 | |
| draws = 0 |
| #Cole's Weather Wizard | |
| #First we need to import some modules. | |
| import urllib | |
| from xml.dom import minidom | |
| from string import lower | |
| #Ask the user for their zip code. | |
| zip = input("Enter your zip code: ") | |
| #Create the correct Google url by appending the user's zip code. | |
| url = 'http://www.google.com/ig/api?weather=%d' % (zip, ) | |
| #Parse the XML document into a usable DOM. |
I hereby claim:
To claim this, I am signing this object:
| name: "GoogLeNet" | |
| input: "data" | |
| input_dim: 1 | |
| input_dim: 3 | |
| input_dim: 224 | |
| input_dim: 224 | |
| layers { | |
| name: "conv1" | |
| type: CONVOLUTION | |
| bottom: "data" |
| from apiclient.discovery import build | |
| import csv | |
| import os | |
| service = build('civicinfo', 'v2', | |
| developerKey=os.environ['API_KEY']) | |
| r = service.representatives() | |
| d = service.divisions() | |
| find . -type d -mtime +365 -maxdepth 1 -exec zip -mr {}.zip {} \; |
| from ortools.sat.python import cp_model | |
| # --- Model setup (same as before) --- | |
| model = cp_model.CpModel() | |
| num_slots = 12 | |
| slots = list(range(num_slots)) | |
| park_names = ['MK', 'EPCOT', 'HS', 'AK', 'None'] | |
| crowds = [ | |
| [5,3,4,4,11], # Sunday | |
| [4,3,4,6,11], # Monday |