Skip to content

Instantly share code, notes, and snippets.

View hl2guide's full-sized avatar
🫒
stuck in a for loop

Dean hl2guide

🫒
stuck in a for loop
  • Australia
View GitHub Profile
#!/bin/bash
# Check if Script is Run as Root
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user to run this script, please run sudo ./fedora_customizer.sh" 2>&1
exit 1
fi
# Updating System
dnf update -y
@hl2guide
hl2guide / Iosevka Font Guide for Windows.md
Last active September 1, 2022 09:55
A guide for using the Iosevka font in the Windows OS.

Intro

Iosevka is hands down the best font family for any kind of programming.

For Chinese and Japanese users check out Sarasa Gothic.

Features

  • open-source
  • sans-serif + slab-serif, monospace + quasi‑proportional typeface family
@hl2guide
hl2guide / settings.xml
Last active September 1, 2022 05:18
MPV v3 Settings for modern PC. Run updater.bat after adding this file.
<settings>
<channel>daily</channel>
<arch>x86_64-v3</arch>
<autodelete>true</autodelete>
<getffmpeg>true</getffmpeg>
</settings>
@hl2guide
hl2guide / btop.conf
Last active November 12, 2022 01:43
btop better default configuration file. Nicer looking "block" graph symbol.
#? Config file for btop4win v. 1.0.4
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "themes" folder in same folder as btop4win.exe
color_theme = "Default"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
@hl2guide
hl2guide / Search_Everything_Cheatsheet.md
Last active May 18, 2026 07:01
Search Everything Cheatsheet

Search Everything Cheatsheet 📒

Search Everything is a fast, powerful, and effective search tool for Windows.

This cheatsheet acts as a quick start reference to get more out of Search Everything.

It compliments the official documentation.

Searching 🔍

@hl2guide
hl2guide / config.toml
Last active August 2, 2022 03:52
An example config for use with olive (https://github.com/go-olive/olive) and streamlink (https://github.com/streamlink/streamlink). The "RoomID" is grabbed from the page's source code.
[[Shows]]
# platform name
Platform = "youtube"
# room id
RoomID = "UC3M7l8ved_rYQ45AVzS0RGA"
# streamer name
StreamerName = "thejimmydoreshow"
SaveDir = "C:/Temp/olive-streams"
Parser = "streamlink"
@hl2guide
hl2guide / winget_examples.md
Created July 1, 2022 03:19
Useful examples for using winget (terminal).

Exports installed packages to a JSON file

winget export --output "C:\Temp\winget_export.json"

Imports and installs packages in an exported JSON file (lastest package version)

winget import --import-file "C:\Temp\winget_export.json" --ignore-versions
@hl2guide
hl2guide / update_linux_os.sh
Last active October 17, 2025 02:25
A shellscript that updates all Linux OSs that use package or image manager. Version: 1.1.5
#!/bin/sh
# Version: 1.1.5
# Last Edit: 2025-10-17 13:24:12 +1100
# Tested on the following stable Linux-based OSs: Arch, Fedora, Fedora Silverblue, Linux Mint, Manjaro, POP_OS! and Ubuntu
# Checks if apt-get is available (Ubuntu, Debian and similar)
if [ -x "$(command -v apt-get)" ]; then
echo 'apt-get package manager detected - running update process..' >&2
if [ -x "$(command -v timeshift)" ]; then
@hl2guide
hl2guide / update_solus.sh
Created April 2, 2022 03:50
A bash script that updates the Solus linux distro.
#!/bin/sh
sudo eopkg up && echo ✅ UPDATES COMPLETED
@hl2guide
hl2guide / update_arch_based_linux.sh
Created April 2, 2022 03:49
A bash script that updates Arch-based linux distros.
#!/bin/sh
sudo pacman -Syu -y && echo ✅ UPDATES COMPLETED