Skip to content

Instantly share code, notes, and snippets.

View ispeedyg's full-sized avatar

SpeedyG ispeedyg

View GitHub Profile
@ispeedyg
ispeedyg / .bash_profile
Created October 16, 2015 15:03 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@ispeedyg
ispeedyg / fixXcode6OnElCapitan.sh
Created September 28, 2015 17:52 — forked from DaveWoodCom/fixXcode6OnElCapitan.sh
Script to fix Xcode 6.x so that it will run on El Capitan
#!/bin/bash
## Copyright (C) 2015 Cerebral Gardens http://www.cerebralgardens.com/
##
## Permission is hereby granted, free of charge, to any person obtaining a copy of this
## software and associated documentation files (the "Software"), to deal in the Software
## without restriction, including without limitation the rights to use, copy, modify,
## merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
## permit persons to whom the Software is furnished to do so, subject to the following
## conditions:
@ispeedyg
ispeedyg / Dice.swift
Created September 23, 2015 07:22 — forked from Hysteria/Dice.swift
Dice example in swift
protocol RandomNumberGenerator {
func random() -> Double
}
class LinearCongruentialGenerator : RandomNumberGenerator {
var lastRandom = 42.0
let m = 139969.0
let a = 3877.0
let c = 29573.0
func random() -> Double {
@ispeedyg
ispeedyg / 1.csv
Created September 23, 2015 07:16 — forked from iblind/1.csv
heatmap update example
day hour N occurrence per_day_per_hour day2
1 Monday 0 50 4 12.5 0
2 Monday 1 45 4 11.25 0
3 Monday 2 25 4 6.25 0
4 Monday 3 17 4 4.25 0
5 Monday 4 8 4 2 0
6 Monday 5 24 4 6 0
7 Monday 6 25 4 6.25 0
8 Monday 7 40 4 10 0
9 Monday 8 53 4 13.25 0