Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh root@123.123.123.123
Add ssh fingerprint and enter password provided in email
| # Accessing my home machine from outside world | |
| # on AWS | |
| sudo vim /etc/ssh/sshd_config | |
| GatewayPorts yes | |
| sudo /etc/init.d/ssh restart | |
| # check connections from outside (open port 7000 if needed) | |
| netstat -ntl |
| #!/bin/sh | |
| ffmpeg -f x11grab -s 1280x720 -i $DISPLAY -f alsa -i default ~/Videos/test.mkv |
| desc 'rolls back migrations in current branch not present in other' | |
| task :rollback_branch_migrations, [:other_branch] do |t, args| | |
| load "#{Dir.pwd}/Rakefile" | |
| branch_migrations = BranchMigrations.new(args.other_branch) | |
| puts ['Rollback the following migrations', branch_migrations, 'y,n? '] | |
| next if %w[no n NO N].include?(STDIN.gets.chomp) | |
| migrate_task = Rake::Task['db:migrate:down'] |
| echo 1 > /sys/bus/pci/rescan |
| #git tag `date "+staging-%Y%m%d%H%M%S"` | |
| git tag `date "+production-%Y%m%d%H%M%S"` | |
| git push --tags |
| 2013-04-15 17:05:03 10 | |
| 2013-04-15 19:10:34 20 | |
| 2013-04-15 21:30:45 17 | |
| 2013-04-15 22:55:00 18 | |
| 2013-04-15 23:10:18 21 | |
| 2014-04-16 07:02:44 10 | |
| 2014-04-16 11:13:07 20 | |
| 2014-04-16 11:23:00 12 |