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.
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
// Display Bitcoin prices of 4 major exchange in BTC/JPY on Bitbar | |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
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
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__ |
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
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' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# 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を指定 |