shortcut for getting out of frozen ssh:
Enter~.
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the branch/status of the current git repository | |
# * the branch of the current subversion repository | |
# * the return value of the previous command | |
# | |
# USAGE: |
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl |
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages | |
git clone https://github.com/Xavura/CoffeeScript-Sublime-Plugin.git CoffeeScript |
curl -sSL https://get.rvm.io | bash |
1. download new java from oracle site: | |
https://java.com/en/download/installed.jsp | |
2. unlink the symlink of java then link to the new location: | |
sudo rm /usr/bin/java | |
sudo ln -s /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java | |
3. update the environment variable by adding this to .bashrc: | |
export JAVA_HOME='/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home' |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
shortcut for getting out of frozen ssh:
Enter~.
These instructions will get you up and running with Deis and CoreOS in a AWS VPC. There already exists a CloudFormation script to get up and running in AWS. But if you want to get down and dirty, this document will help walk you through the steps. Some of the AWS steps have the equivilent AWS CLI commands to get up and running without need for the AWS web interface.
Since we will be running CoreOS and Deis inside a VPC we need some AWS setup first. We need a single subnet VPC, some security groups, and instances of CoreOS.
This is a quick guide on installing HTTPie for Mac OS X systems. This is also useful if you want the python package management utility pip
. An installed copy of Homebrew is a prerequisite.
# install the python package provided with homebrew
brew install python
# install HTTPie with the pip utility
pip install httpie