Noob access to administer your local area network and wifi access:
http://192.168.254.254
username: user
password: @l03e1t3
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
set :application, "appname" | |
set :deploy_to, "/var/www" | |
set :scm, :git | |
set :repository, "git@github.com:user/app.git" | |
default_run_options[:pty] = true | |
set :user, "www-data" | |
set :domain, "foo.tld" | |
set :normalize_asset_timestamps, false |
UbuntuのEC2インスタンス上に、Ruby on Rails開発環境を構築する。 | |
プロンプトは$がubuntuユーザ(一般ユーザ)、#がrootユーザ。 | |
①rubyがインストールされていないことを確認する。 | |
# ruby -v | |
The program 'ruby' can be found in the following packages: | |
* ruby | |
* ruby1.8 | |
Try: apt-get install <selected package> |
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |