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
@LazyHatGuy
LazyHatGuy / PKGBUILD
Created November 24, 2025 13:30
Updated PKGBUILD for Open Office. Need to figure out how to submit this later
# Maintainer: Lari Tikkanen <lartza at outlook dot com>
# Contributor: Bernhard Landauer <[email protected]>
# Contributor: Sibren Vasse <arch at sibrenvasse dot nl>
# Contributor: Dominic Finke <arch at realbig dot de>
## To install different language version adjust the following line.
## available: ast, bg, ca, ca-XR, ca-XV, cs, da, de, el, en-GB, en-US, es, eu, fi, fr, gd, gl, he, hi, hu, it, ja, km, ko, lt, nb, nl, pl, pt, pt-BR, ru, SDK, sk, sl, sr, sv, ta, th, tr, vi, zh-CN, zh-TW
_lang=en-GB
pkgname=openoffice-bin
@LazyHatGuy
LazyHatGuy / fish_aur_update
Last active July 22, 2025 01:39
Fixed status check
#! /usr/bin/fish
for i in (find . -maxdepth 1 -type d -print0 | string split0)
if not test "$i" = "."
printf '\n===== %s =====\n' $i
cd $i || exit 1
if not set --local git_status (git pull)
echo $git_status
echo "Failed to pull"
#!/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
@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
@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 / 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"

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: