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
FIXME: | |
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
or | |
ERROR -: Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0 | |
gem uninstall nokogiri libxml-ruby | |
brew update | |
brew uninstall libxml2 |
#!/bin/bash | |
folder=/users/tommydangerous/dropbox/rails_projects/ombrb | |
clear | |
echo "This script will climb through the $folder tree and repair conflict files" | |
echo "Press a key to continue..." | |
read -n 1 | |
echo "------------------------------" |
upstream api { | |
least_conn; | |
server 10.0.0.101:8080; | |
server 10.0.0.102:8080; | |
server 10.0.0.103:8080; | |
server 10.0.0.104:8080; | |
} | |
upstream homepage { | |
least_conn; |
FROM ruby | |
ENV RAILS_ENV production | |
ENV ROOT_DIR /var/www/app | |
RUN mkdir -p $ROOT_DIR/tmp | |
WORKDIR $ROOT_DIR | |
# Mount volume for Nginx to serve static files from public folder | |
VOLUME $ROOT_DIR |
# Mupen64Plus Configuration File | |
# This file is automatically read and written by the Mupen64Plus Core library | |
[Core] | |
# Draw on-screen display if True, otherwise don't draw OSD | |
OnScreenDisplay = True | |
# Use Pure Interpreter if 0, Cached Interpreter if 1, or Dynamic Recompiler if 2 or more | |
R4300Emulator = 2 | |
# Disable compiled jump commands in dynamic recompiler (should be set to False) |
# https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-ubuntu-16-04 | |
$ sudo pip3 install -vU setuptools = 3 | |
$ sudo pip3 install jupyter = 3 |
# SSH into instance | |
$ jupyter notebook --no-browser | |
# Open local terminal and create tunnel | |
$ ssh -i ~/Documents/keys/aws/airbnb-macbook.pem -L 8157:127.0.0.1:8888 \ | |
ubuntu@ec2-13-57-14-25.us-west-1.compute.amazonaws.com | |
# Kill any running notebooks | |
$ jupyter notebook list | |
$ netstat -tulpn |
$ sudo add-apt-repository ppa:longsleep/golang-backports | |
$ sudo apt-get update | |
$ sudo apt-get install golang-go |
# https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rvm-on-ubuntu-16-04 | |
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
$ cd /tmp | |
$ curl -sSL https://get.rvm.io -o rvm.sh | |
$ ./rvm.sh | |
$ cat /tmp/rvm.sh | bash -s stable --rails | |
$ source /home/ubuntu/.rvm/scripts/rvm | |
$ rvm list known | |
$ rvm install 2.5 |