Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@saboyutaka
saboyutaka / bitcoin.go
Last active February 1, 2017 01:32
Display Bitcoin prices of 4 major exchange in BTC/JPY on Bitbar
// Display Bitcoin prices of 4 major exchange in BTC/JPY on Bitbar
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
@saboyutaka
saboyutaka / Vagrantfile
Created January 11, 2017 03:34
For Python3 environment
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, guest: 5000, host: 5000
config.vm.network :forwarded_port, guest: 8888, host: 8888
config.vm.synced_folder ".", "/vagrant"
GUEST_PYTHON_VERSION = '3.5.2'
# 必要なパッケージをインストール
config.vm.provision "shell", privileged: true, inline: <<-__SCRIPT__
@saboyutaka
saboyutaka / Vagrantfile
Created December 13, 2016 04:13
Vagrant with Ruby 2.3.3, Rails 5.0.0.1
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.synced_folder ".", "/vagrant"
GUEST_RUBY_VERSION = '2.3.3'
GUEST_NVM_VERSION = '0.30.1'
GUEST_NODE_VERSION = 'stable'
@saboyutaka
saboyutaka / kaggle-titanic-basic-exercise-trial.ipynb
Created December 12, 2016 08:46
Titanic challenge at Koza Machine Learning Bootcamp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@saboyutaka
saboyutaka / Vagrantfile
Last active December 5, 2016 10:29
Vagrantfile for Rails Tutorial
# http://qiita.com/masuidrive/items/0e0e5294bc2dc81a52c2
Vagrant.configure("2") do |config|
# インストールするOSを選択する。https://atlas.hashicorp.com/boxes/searchにインストール可能なOSがリストされている。
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.synced_folder ".", "/vagrant"
# RubyのVersionを指定