$ sudo apt-get update
$ sudo apt-get install vim vpnc network-manager-vpnc build-essential gcc g++ git autoconf libtool libssl-dev
$ sudo add-apt-repository ppa:noobslab/apps
$ sudo apt-get update
#!/usr/bin/env ruby | |
=begin | |
1. gem install selenium-webdriver | |
2. save urls after exec in console of google chrome | |
$('.skill-tree-row span a').each(function(i, obj){console.log('https://www.duolingo.com/' + $(obj).attr('href'));}); | |
3. $ ruby duolingo.rb | |
=end |
[Unit] | |
Description=Puma Rails Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=deploy | |
WorkingDirectory=/home/deploy/app/current | |
ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb | |
ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop |