see explanation
-p, --patch
Interactively choose hunks of patch between the index and the work tree and add them to the index. This gives
the user a chance to review the difference before adding modified contents to the index.
see explanation
-p, --patch
Interactively choose hunks of patch between the index and the work tree and add them to the index. This gives
the user a chance to review the difference before adding modified contents to the index.
| apt-get install build-essential module-assistant | |
| m-a prepare |
During VM boot we see an error from piix4_smbus and in dmesg something like:
piix4_smbus 0000:00:07.3: Host SMBus controller not enabled!
This error is caused by VM having no smbus but Ubuntu always trying to load the module. It doesn’t affect anything but is a bit annoying. Originally this error was reported on VirtualBox and Ubuntu 10.10, but I still see it in Ubuntu 13.10. It also exist on VMware Fusion.
| #!/bin/bash | |
| set -ex | |
| [[ $(id -u) == 0 ]] || { echo "Buddy needs to be root to run this"; exit 1; } | |
| [[ $PWD == "/root" ]] || { echo "Run this from /root"; exit 1; } | |
| # 1. Download key | |
| wget -q -O google_signing_key.pub https://dl-ssl.google.com/linux/linux_signing_key.pub | |
| apt-key add google_signing_key.pub |
| #!/usr/bin/env bash | |
| # Author: Ori Tzoran, based on idea and gist by aaronzirbes (see evolution below) | |
| # Tested on Mac OS X 10.10.2 (14C109) | |
| set -e | |
| ## verify root runs this | |
| [[ $(id -u) == 0 ]] || { echo need root; exit 1; } | |
| #set -vx |
source: isoc-il
timeserver.iix.net.il # 192.114.62.250 stratum-2
| # vim: set filetype=sh : | |
| # Purpose | |
| # set environment variables for EC2_URL EC2_HOME JAVA_HOME CLASSPATH | |
| # required by ec2-api-tools, used by other tools (e.g. vagrant) | |
| # Usage: | |
| # source this | |
| # create local env.monsoon in a project's subdir defining: | |
| # export AWS_PROJECT="MOCONS / rmjen" |
The proc is explained here