The BIG IDEA here is just that I can create a list of things I want to work on with my spare time and generate a random list of things to practice each day. The idea that it's randomized gives it a little more excitement for me and (I think) makes it easier for me to challenge myself to learn and grow.
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
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
set -sg escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" |
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
import scipy.stats as st | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
def z_score(x, m, s): | |
return (x - m) / s | |
def p(x, m, s): | |
z = z_score(x, m, s) |
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 bs4 import BeautifulSoup | |
from urllib import urlopen | |
import textmining | |
urls = [ | |
'http://www.webmd.com/cancer/childhood-leukemia-symptoms-treatments', | |
'http://kidshealth.org/parent/medical/cancer/cancer_leukemia.html', | |
'http://www.nlm.nih.gov/medlineplus/childhoodleukemia.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
U, s, V = np.linalg.svd(a, full_matrices=False) | |
U.shape, V.shape, s.shape | |
S = np.diag(s) | |
np.allclose(a, np.dot(U, np.dot(S, V))) |
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
{ | |
"root": "dist", | |
"clean_urls": true, | |
"error_page": "/index.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
var gulp = require('gulp'); | |
var browserify = require('gulp-browserify'); | |
var concat = require('gulp-concat'); | |
var cssMin = require('gulp-css'); | |
var nodeunit = require('gulp-nodeunit'); | |
gulp.task('cssMinfy', function(){ | |
gulp.src('src/**/*.css') | |
.pipe(cssMin()) | |
.pipe(gulp.dest('dist')); |
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
var React = require('react'); | |
var Reflux = require('reflux'); | |
var ${1:Noun}Actions = Reflux.createActions([ | |
$0 | |
]); | |
module.exports = $1Actions; |
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
class CleanSubContractorContracts | |
def records | |
@records ||= SubContractorContract.includes(:contact).where("users.id IS NULL") | |
end | |
def no_user | |
@no_user ||= User.find_by_email('[email protected]') | |
end | |
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="component_library.js" type="text/javascript"> | |
<link rel="stylesheet" type="text/css" href="adaptive_styles.css"> | |
</head> | |
<body> | |
<MainLayout src="pageflow.json"> | |
<CoreConcept /> | |
<MainNavigation location="bottom"> |