Skip to content

Instantly share code, notes, and snippets.

##### git markdown:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code
##### git revert :
git checkout -- app/views/posts/index.html.erb
@yapale
yapale / gist:ec1b202048972f9d2fd0
Last active August 29, 2015 14:07
installing openstack@Ubuntu
#images are here :
#http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
#git clone VagrantFile
# get localrc and thats all !
vagrant up
#https://github.com/edx/configuration/blob/master/vagrant/release/devstack/Vagrantfile
#hardware pre requists
@yapale
yapale / gist:ea23856e8ecd70435516
Last active August 29, 2015 14:07
vagrant for openstack
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Dont touch unless you know what youre doing!
VAGRANTFILE_API_VERSION = "2"
$ubuntu = <<UBUNTU
#follwing commands wont do nothing probably
sudo apt-get update -y
sudo apt-get upgrade -y