- Download and install Vagrant
- Download and install Virtual Box
- Download the file bellow; name must be "Vagrantfile"
Go to the folder where your "Vagrantfile" in your terminal/shell. Run the following commands:
sudo fdesetup authrestart |
{ | |
"postfix": "Rain", | |
"color": "green", | |
"data": { | |
"value": "🌦" | |
} | |
} |
VERSIONER_PERL_PREFER_32_BIT=1 perl -MMac::InternetConfig -le 'print +(GetICHelper "http")[1] |
Go to the folder where your "Vagrantfile" in your terminal/shell. Run the following commands:
FROM ubuntu | |
MAINTAINER Example McAuthor | |
RUN apt-get update | |
RUN apt-get install -y \ | |
mongodb-10gen | |
RUN mkdir -p /data/db | |
EXPOSE 27017 |
docker-machine create --driver virtualbox --virtualbox-cpu-count 2 --virtualbox-memory 4096 --virtualbox-boot2docker-url https://github.com/boot2docker/boot2docker/releases/download/v1.13.1/boot2docker.iso default |
# change to root user | |
su root | |
# add repository public key to aptitude | |
wget http://download.opensuse.org/repositories/home:/siteshwar/Ubuntu_12.04/Release.key | |
apt-key add - < Release.key | |
rm Release.key | |
# install fish | |
echo 'deb http://download.opensuse.org/repositories/home:/siteshwar/Ubuntu_12.04/ /' >> /etc/apt/sources.list.d/osc.list |
Yank lines 81-91
:81,91y<enter>
If your fingers don't like to find the : and , keys, this would work as well (go to line 81, yank 11 lines)
81gg11yy
My only use of g is 5gg. To go to the 5th line. 22gg: 22nd line. As jimbo said, it's really only a modifier for some other commands.
gqip |