Skip to content

Instantly share code, notes, and snippets.

Chris Hausler chausler

  • Zendesk
Block or report user

Report or block chausler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ping_test
ping -c50 > ~/ping-test.txt
ping -c50 >> ~/ping-test.txt
ping -c50 >> ~/ping-test.txt
traceroute >> ~/ping-test.txt
traceroute >> ~/ping-test.txt
View gist:2cf25f7b4dbf36650613
import seaborn as sns
from sklearn.decomposition import PCA
x_pca = PCA(n_components=2).fit_transform(X)
sns.jointplot("PCA_0", "PCA_1", x_pca)
import pylab as plt
from sklearn.metrics.pairwise import pairwise_distances
from sklearn.manifold import TSNE
chausler / rails-to-iana-timezone-map
Created Sep 22, 2014
Rails to IANA timezone map
View rails-to-iana-timezone-map
(def rails-to-iana-timezone-map {"International Date Line West" "Pacific/Midway"
"Midway Island" "Pacific/Midway"
"American Samoa" "Pacific/Pago_Pago"
"Hawaii" "Pacific/Honolulu"
"Alaska" "America/Juneau"
"Pacific Time (US & Canada)" "America/Los_Angeles"
"Tijuana" "America/Tijuana"
"Mountain Time (US & Canada)" "America/Denver"
"Arizona" "America/Phoenix"
"Chihuahua" "America/Chihuahua"
You can’t perform that action at this time.