Skip to content

Instantly share code, notes, and snippets.

@fartbagxp
Created February 20, 2018 20:56
Show Gist options
  • Save fartbagxp/7730469aa0d7bcdb3215bafc74ea5ffc to your computer and use it in GitHub Desktop.
Save fartbagxp/7730469aa0d7bcdb3215bafc74ea5ffc to your computer and use it in GitHub Desktop.
Thinkpad-Carbon-X1-Setup
#!bin/bash
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install curl nmap git
// Disable the synatic pad (12 is where the pinpoint is, leave that on)
xinput --disable 11
// Install NVM for node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
source ~/.profile
nvm install 8.9.4
// Install Docker
sudo apt-get remove docker docker-engine docker.io
sudo apt-get install apt-transport-https ca-certificates software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
lsb_release -cs
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get install docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
// Change layout to Windows
cd ~
mkdir scripts && cd scripts
wget https://raw.githubusercontent.com/bill-mavromatis/gnome-layout-manager/master/layoutmanager.sh
chmod +x layoutmanager.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment