Skip to content

Instantly share code, notes, and snippets.

View LazyHatGuy's full-sized avatar
418: I'm a teapot

Cameron LazyHatGuy

418: I'm a teapot
View GitHub Profile

Keybase proof

I hereby claim:

  • I am thelazyhatguy on github.
  • I am tlhg (https://keybase.io/tlhg) on keybase.
  • I have a public key ASCQQ8_1MdSPeuL-xvuKYV4dM_0S4qqPf_yZLjqVPgGv5Qo

To claim this, I am signing this object:

@LazyHatGuy
LazyHatGuy / quickstart.sh
Last active April 1, 2025 09:08
My Debian Linux Quickstart Script
#!/bin/bash
# Update
sudo apt update && sudo apt upgrade -y
# Setup Git
sudo apt install git -y
git config --global user.email "[email protected]"
git config --global user.name "TheLazyHatGuy"
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@LazyHatGuy
LazyHatGuy / keybase.md
Last active May 15, 2021 19:44
keybase.md

Keybase proof

I hereby claim:

  • I am thelazyhatguy on github.
  • I am thelazyhatguy (https://keybase.io/thelazyhatguy) on keybase.
  • I have a public key ASCV-_0sGCHhHh6xKra9r3PxHQejPX36SNbSufXxBQcG9go

To claim this, I am signing this object:

@LazyHatGuy
LazyHatGuy / utils.sh
Created November 28, 2022 14:47
Some Bash Utilities
# Set verbose level for .log function
# [0]="emerg"
# [1]="alert"
# [2]="crit"
# [3]="err"
# [4]="warning"
# [5]="notice"
# [6]="info"
# [7]="debug"
__VERBOSE=7
#!/bin/bash
#rm -rf /var/lib/dpkg/lock-frontend
#rm -rf /var/lib/dpkg/lock
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get autoclean -y