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
As someone who has lived and worked in a number of diverse cities, I've had the pleasure of working with and getting to know many immigrants. Some of them are affected by the president's extreme, arbitrary, and racially motivated ban. | |
Uber is in a unique position. Not only a are you a leader in technology, your CEO, Travis Kalanick, has the ear of the president. Unfortunately, so far his soft wait-and-see stance only serves to enable the president's actions. I strongly believe that by refusing to take a strong stance on the Muslim ban, Uber is planting its flag firmly on the wrong side of history. | |
I urge you to pass this message up the chain: the tech world is watching. I can't speak for the entirety of an industry, but I know quite a few talented software developers. If there's one thing we have in common, it's that we are an idealistic bunch who build the world they want to live in. In today's market, we developers have a privileged position of being choosy about our employers. If Uber wants to maintain i |
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
<html> | |
<head> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
</head> | |
<body> | |
<script src="script.js"></script> | |
</body> | |
</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
<html> | |
<head> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
</head> | |
<body> | |
<script src="script.js"></script> | |
</body> | |
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# replace all instances of "servername" with the remote host name | |
# `servername` lists available screen sessions | |
# `servername <session>` connects to a given session | |
function servername { | |
if [ -n "$1" ]; then | |
ssh -t servername "screen -DR $1"; | |
else | |
echo "Usage: servername [environment]"; | |
echo "Open sessions:" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
''' | |
Geocode Toronto Dinesafe data. | |
Uses MapQuest's Nominatim mirror. | |
''' | |
import dbm | |
import urllib2 | |
import csv |
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
friendset = set() | |
for line in open('input/soc-LiveJournal1Adj.txt'): | |
try: | |
user, friends = line.strip().split('\t') | |
except ValueError: | |
continue | |
for friend in friends.split(','): | |
friendset.add((user, friend)) |
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 os.path import getsize | |
from progressbar import ProgressBar | |
class ProgOpen(object): | |
def __init__(self, filename): | |
self.filename = filename | |
def __iter__(self): | |
return self |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.