Skip to content

Instantly share code, notes, and snippets.

@tonyc
tonyc / gist:5989308
Last active December 19, 2015 17:09
Ubuntu + chruby + ruby-2.0/passenger/nginx/redis stack
#/usr/bin/env bash
set -e
set -x
apt-get update
apt-get upgrade
apt-get -y install build-essential curl git-core openssl libreadline6 libreadline6-dev \
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \
@evan-007
evan-007 / gulpfile.js
Last active August 19, 2016 01:33
gulp shell example
var gulp = require('gulp');
var connect = require('gulp-connect');
var modRewrite = require('connect-modrewrite');
var runSequence = require('run-sequence');
var shell = require('gulp-shell');
//proxy all requests to /api to localhost:3000 for rails api
gulp.task('connect', function(){
connect.server({
root: './app',
@genkuroki
genkuroki / Yokuyo and Tensu of Karaoke.ipynb
Last active October 15, 2017 04:26
カラオケにおける抑揚と点数の関係
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@genkuroki
genkuroki / Distribution GTDist(μ,ρ,ν).ipynb
Last active October 15, 2017 04:26
Distribution GTDist(μ,ρ,ν)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@genkuroki
genkuroki / MCMC simulation of the t-distribution model.ipynb
Last active October 15, 2017 04:26
t分布モデルを階層ベイズモデルとみなして解く
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@genkuroki
genkuroki / Likelihood functions of the t-distribution model.ipynb
Last active October 15, 2017 04:27
t分布モデルの尤度函数の様子
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@genkuroki
genkuroki / Animations of linear regressions.ipynb
Created October 7, 2017 21:23
Animations of linear regressions
Sorry, this is too big to display.
@genkuroki
genkuroki / Animations of linear regressions - output cleared to upload to JuliaBox.ipynb
Created October 7, 2017 21:22
線形回帰のアニメの作り方 JuliaBox へのアップロード用
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@genkuroki
genkuroki / Test of t-reg.ipynb
Last active October 15, 2017 04:28
r分布線形回帰の実験
Sorry, this is too big to display.
@genkuroki
genkuroki / Animals2.ipynb
Last active October 15, 2017 04:29
Animals2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.