Skip to content

Instantly share code, notes, and snippets.

@hakatashi
Last active December 18, 2017 16:30
Show Gist options
  • Save hakatashi/36fe2b4cc77ef50c86de77195b13abc1 to your computer and use it in GitHub Desktop.
Save hakatashi/36fe2b4cc77ef50c86de77195b13abc1 to your computer and use it in GitHub Desktop.
sudo apt update
sudo apt upgrade -y
sudo apt install devscripts git mercurial subversion cvs bzr nodejs npm curl libcurl4-gnutls-dev tmux jq virtualbox qemu-kvm debootstrap p7zip-full myrepos -y
sudo npm install -g n
sudo n latest
sudo npm install -g npm
sudo apt remove npm -y
exec sudo su -l $USER
sudo wget https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_linux_amd64.zip
unzip packer_1.1.3_linux_amd64.zip
sudo mv packer /usr/bin/packer
git clone https://github.com/hakatashi/contribution-counter.git ~/contribution-counter
cd ~/contribution-counter
npm install
cd ~
mkdir kernel
cd kernel
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -b v3.16
git clone https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
cd ~
mkdir deb
wget https://gist.github.com/hakatashi/33af4c73384e9c8ea7deef5362b889fd/raw/3650362e2a6fa0b40e44970ad113c21f7dd40bff/batch.sh
bash batch.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment