Skip to content

Instantly share code, notes, and snippets.

contra contra

View GitHub Profile
View nyc-ny-neighborhood.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@contra
contra / gtfs-feeds.json
Created Aug 26, 2018
huge collection of gtfs and gtfs-rt feeds, updated regularly
View gtfs-feeds.json
[{"id":"roam-transit/953","type":"gtfs","name":"Roam Transit GTFS","raw":"http://data.trilliumtransit.com/gtfs/roamtransit-banff-ab-ca/roamtransit-banff-ab-ca.zip","location":{"type":"Point","properties":{"name":"Banff, AB, Canada","shortName":"Banff"},"coordinates":[-115.570769,51.178363]}},{"id":"mission-bay-tma/952","type":"gtfs","name":"Mission Bay TMA GTFS","raw":"http://data.trilliumtransit.com/gtfs/missionbay-ca-us/missionbay-ca-us.zip","location":{"type":"Point","properties":{"name":"San Francisco, CA, USA","shortName":"San Francisco"},"coordinates":[-122.419415,37.774929]}},{"id":"avalon-transit/951","type":"gtfs","name":"Avalon Transit","raw":"http://data.trilliumtransit.com/gtfs/avalon-ca-us/avalon-ca-us.zip","location":{"type":"Point","properties":{"name":"Santa Catalina Island, California 90704, USA","shortName":"Santa Catalina Island"},"coordinates":[-118.41631,33.387886]}},{"id":"blue-grass-ultra-transit-service/950","type":"gtfs","name":"Blue Grass Ultra-Transit Service GTFS","raw":"http://dat
@contra
contra / aoe2hd.md
Last active Jun 5, 2020
Age of Empires II HD - For Mac OSX
View aoe2hd.md

AOE2HD - For Mac OSX

Estimated time: 10 minutes

!!! NOTICE - PLEASE READ !!!

PlayOnMac does not work on macOS Catalina at all - and on older versions of macOS issues have been reported with the latest version of Steam. Updating is in progress, read more here.

When the updates are released this guide will be updated. Please do not blow up my inbox by leaving comments "WHY DOESNT IT WORK".

@contra
contra / readme.css
Created Sep 19, 2016
css skin for readme.io
View readme.css
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
line-height: 1.5;
font-size: 14px;
font-weight: 300;
color: #3e454c;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h2, h3, strong {
@contra
contra / future-of-readmes.md
Last active May 24, 2017
what every github readme looks like for 2016
View no.js
// removes all instances of node and npm from your computer
var fs = require('fs');
var path = require('path');
var walk = require('fs-walk');
var wipeOut = ['node', 'npm'];
function sanicGoFast(p, cb){
walk.files(p, function(dir, file, stat, next) {
if (wipeOut.indexOf(path.basename(file) === -1) return next();
View mock-rtc.js
'use strict';
var mock = require('../temp-mock');
var temasys = require('./index');
var nu = require('new-operator');
var RTCPeerConnectionMock = mock({
methods: [
'addIceCandidate',
'addStream',
@contra
contra / kali-install.sh
Last active Oct 21, 2019
installing private internet access on kali linux
View kali-install.sh
apt-get install network-manager-openvpn
wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
mv openvpn.zip /etc/openvpn
cd /etc/openvpn
unzip openvpn.zip
rm -rf openvpn.zip
# set up the rest in the gui
# gateway = us-east.privateinternetaccess.com
# CA.crt will be in /etc/openvpn
@contra
contra / compiled-output.json
Last active Oct 19, 2015
firebase secure chat room ruleset (using the blaze compiler). users may only post new messages and update their last read date - everything else is handled by the server
View compiled-output.json
{
"rules":{
".write":"false",
".read":"false",
"user-rooms": {
".write":"false",
".read":"false",
"$userId": {
".write":"false",
".read":"(((auth.uid!==null&&auth.uid===$userId)))",
You can’t perform that action at this time.