Skip to content

Instantly share code, notes, and snippets.

View yocontra's full-sized avatar

contra yocontra

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yocontra
yocontra / gtfs-feeds.json
Last active July 28, 2021 20:59
huge collection of gtfs and gtfs-rt feeds - originally from transit.land
[{"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
@yocontra
yocontra / aoe2hd.md
Last active June 9, 2023 18:28
Age of Empires II HD - For Mac OSX
@yocontra
yocontra / readme.css
Created September 19, 2016 21:24
css skin for readme.io
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 {
@yocontra
yocontra / future-of-readmes.md
Last active May 24, 2017 20:54
what every github readme looks like for 2016

@yocontra
yocontra / no.js
Last active January 8, 2016 18:16
// 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();
@yocontra
yocontra / mock-rtc.js
Created December 11, 2015 18:45
WebRTC Mock
'use strict';
var mock = require('../temp-mock');
var temasys = require('./index');
var nu = require('new-operator');
var RTCPeerConnectionMock = mock({
methods: [
'addIceCandidate',
'addStream',
@yocontra
yocontra / kali-install.sh
Last active January 28, 2024 06:33
installing private internet access on kali linux
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
@yocontra
yocontra / compiled-output.json
Last active October 19, 2015 02:02
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
{
"rules":{
".write":"false",
".read":"false",
"user-rooms": {
".write":"false",
".read":"false",
"$userId": {
".write":"false",
".read":"(((auth.uid!==null&&auth.uid===$userId)))",