Skip to content

Instantly share code, notes, and snippets.

View chrisco23's full-sized avatar

Chris Cortese chrisco23

View GitHub Profile
@Axxon
Axxon / gist:c150339eba06dd5cd8ec8b9e2904e40e
Created February 19, 2021 21:01
Fix append_path message (add fn in /etc/profile.d/perlbin.sh)
append_path()
{
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
@notdodo
notdodo / install_printer
Last active August 24, 2024 13:52
Install a printer on Arch Linux with cups using command line
#!/bin/bash
################################################################
# Install a printer on Arch Linux with cups using command line #
# Used for a HP PSC 1510 with default driver #
################################################################
sudo pacman -S cups
sudo systemctl start org.cups.cupsd