This file contains 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
docker pull registry | |
docker run -d -p 5000:5000 registry |
This file contains 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/curseoff/items/a9e64ad01d673abb6866 から | |
#index.docker.ioから指定したイメージを取り込む | |
docker pull REPOSITORY[:TAG] | |
#イメージ一覧を得る | |
docker images | |
#イメージからコンテナを起動する | |
docker run -i -t -d IMAGE /bin/bash |
This file contains 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
auto eth0 | |
iface eth0 inet static | |
address 192.168.249.128 | |
network 192.168.249.0 | |
netmask 255.255.255.0 | |
broadcast 192.168.249.255 | |
gateway 192.168.249.2 | |
dns-nameservers 192.168.249.2 |
This file contains 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
sudo service nmbd stop | |
sudo service smbd stop | |
sudo service nmbd start | |
sudo service smbd start |
This file contains 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
group :development, :test do | |
gem 'factory_girl_rails', '~> 4.2.1' | |
end | |
group :development do | |
gem 'rack-mini-profiler' | |
end | |
group :test do | |
gem 'rspec' |
This file contains 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
source 'https://rubygems.org' | |
gem 'rails', '4.0.8' | |
gem 'mysql2' | |
gem 'devise' | |
gem 'rails_config' |
This file contains 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
# Prefix | |
set-option -g prefix C-t | |
# View | |
set -g status-interval 5 | |
set -g status-left-length 16 | |
set -g status-right-length 50 | |
set -g status-bg black | |
set -g status-fg white |
This file contains 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
GRANT ALL PRIVILEGES ON *.* TO username@localhost IDENTIFIED BY 'password' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; |
This file contains 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
Show hidden characters
{ | |
"cmd": ["stylus", "$file"], | |
"file_regex": ".", | |
"selector": "source.stylus", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, |