Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| 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 "------------------------------" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| 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 \ | |
| [email protected] | |
| # 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 |