Skip to content

Instantly share code, notes, and snippets.

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

Cameron TheLazyHatGuy

418: I'm a teapot
View GitHub Profile
#!/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
@TheLazyHatGuy
TheLazyHatGuy / 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
@TheLazyHatGuy
TheLazyHatGuy / 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:

@TheLazyHatGuy
TheLazyHatGuy / quickstart.sh
Last active December 22, 2022 10:11
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 "1010359+TheLazyHatGuy@users.noreply.github.com"
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"

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: