https://twitter.com/RyanMcGreal/status/412630378961068032
https://twitter.com/RyanMcGreal/status/413401524786962432
https://twitter.com/RyanMcGreal/status/414782506747961344
https://twitter.com/RyanMcGreal/status/415068686144139264
https://twitter.com/RyanMcGreal/status/415478843458486272
https://twitter.com/RyanMcGreal/status/415543738161582081
https://twitter.com/RyanMcGreal/status/415547620078022656
https://twitter.com/RyanMcGreal/status/415549673403740160
https://twitter.com/RyanMcGreal/status/420239192103612416
https://twitter.com/RyanMcGreal/status/420239832980271104
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 | |
| """This script tells you the nearest time zone in which it's after 5 o'clock PM.""" | |
| import datetime | |
| def get_beer_timezone(): | |
| now = datetime.datetime.today() | |
| print("The curent time is %s." % (str(now)[11:-7])) |
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
| From: Merulla, Sam | |
| Sent: Wednesday, June 26, 2013 12:55 PM | |
| To: Bishop, Kathy; DL - Council Only | |
| Cc: DL - SMT Only | |
| Subject: Re: City of Hamilton Temporary Appointment to the Police Services Board, | |
| Your Reference: HPB008 | |
| Please include this item under correspondence for tonight's Council meeting. I will | |
| be requesting a formal retraction and apology for the irresponsible suggestion that |
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
| Snow Advisory Warning Declared | |
| For Immediate release: February 5th, 2014 | |
| Hamilton, ON – The Hamilton Police Service (HPS) is advising motorists in Hamilton what the expectations and responsibilities are during a snow advisory warning with the appropriate procedures to follow: | |
| Snow Advisory Warning | |
| * City of Hamilton Transportation contacts HPS issuing snow warning | |
| * HPS issues warning to public through media |
"Cities need old buildings so badly it is probably impossible for vigorous streets and districts to grow without them. ... Old ideas can sometimes use new buildings. New ideas must use old buildings."
Walk starts at the Queen Victoria statue, Gore Park, at Noon.
- Amid all the observations, anecdotes and asides
- Three distinct stories about James Street South:
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 | |
| """Code I used to download all the details for the 2014 Hamilton Fringe Festival plays and convert them into a JSON file.""" | |
| from bs4 import BeautifulSoup as bs | |
| import json | |
| import requests | |
| import xlrd | |
| base_url = 'http://hamiltonfringe.ca/shows/' |
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
| { | |
| "created_at":"Tue Nov 11 15:21:30 +0000 2014", | |
| "id":532191393062854656, | |
| "id_str":"532191393062854656", | |
| "text":"Empty parking spaces in city-owned John\/Rebecca lot. We need affordable housing, not cheap parking @greg_tedesco http:\/\/t.co\/91JnJLNlwL", | |
| "source":"\u003ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003eTwitter for Android\u003c\/a\u003e", | |
| "truncated":false, | |
| "in_reply_to_status_id":null, | |
| "in_reply_to_status_id_str":null, | |
| "in_reply_to_user_id":null, |
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 | |
| # coding: utf-8 | |
| """Calculates kinetic energy for a moving object at a given mass and speed""" | |
| import locale | |
| locale.setlocale(locale.LC_ALL, '') | |
| objects = ( | |
| {'name': 'Bicycle', 'mass': 100,}, |
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 | |
| # coding: utf-8 | |
| """ | |
| This script downloads your Social Bicycles (SoBi) routes data from the SoBi web | |
| API and saves it as a JSON file. It uses HTTP basic authentication with your SoBi | |
| username (your email address) and password. | |
| The function that requests route data executes recursively, incrementing the page | |
| parameter with each subsequent request, until there are no more results. |
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
| Media Release | |
| Police Chief Glenn De Caire Retires Effective | |
| January 17, 2016 | |
| For immediate release: December 18, 2015 | |
| Hamilton, ON | |
| The members of the Hamilton Police Service continue to perform with excellence and professionalism and I remain extremely proud of the efforts that each member has put forth in delivering community based police services to our diverse communities across Hamilton. Our partnerships in the community are strong and we are working together to enhance community safety, revitalize the city, encourage investment and growth and we, as a community, are doing amazing work together. |