Skip to content

Instantly share code, notes, and snippets.

@Alexnder
Last active January 12, 2017 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alexnder/78510b2af14268b06d6599b3244c1f75 to your computer and use it in GitHub Desktop.
Save Alexnder/78510b2af14268b06d6599b3244c1f75 to your computer and use it in GitHub Desktop.

Disable suspend by closing

sudo vim /etc/systemd/logind.conf

Change param to HandleLidSwitch=ignore

systemctl restart systemd-logind

Git

cd / && sudo tar xf ~/repos.tar
sudo useradd -m -d /git git
sudo chown git:git /git
sudo su git
cd && mkdir .ssh && vim authorized_keys
chmod 600 authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment