Skip to content

Instantly share code, notes, and snippets.

@crispyricepc
crispyricepc / install-instructions.md
Last active October 17, 2025 08:01
wlprop - An xprop clone for wlroots based compositors

Dependencies

Make sure you have installed the following commands:

  • swaymsg
  • jq
  • slurp
  • awk

Installation

@themagicalmammal
themagicalmammal / Optimizations_Artix.md
Last active July 29, 2025 23:44
Set of optimizations, I use on my Artix Setup
@Bad3r
Bad3r / Private_File_Sharing_Services.md
Last active October 14, 2025 10:10
Private File Sharing Services

Centralized File Sharing


Site Size Limit API Clearnet Mirrors Tor Mirrors Online
GoFile.io No Limit API N/A
@arvl130
arvl130 / wsindicator.sh
Created April 7, 2020 19:39
bar: wsindicator.sh -- Workspace module for my BSPWM lemonbar panel
#! /bin/sh
set -e
parse_wspcstat() {
while [ $# -gt 0 ]; do
item="$1"
name="${item#?}"
case "$item" in
[fFoOuU]*)
@fnky
fnky / ANSI.md
Last active October 21, 2025 06:49
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active October 17, 2025 08:35
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@chriscandy
chriscandy / install-arch-linux-using-efi-and-grub.md
Last active September 1, 2025 14:54
Install Arch Linux using EFI and GRUB

Installing Arch linux with EFI

  1. Change keyboard layout:

    • loadkeys no
  2. Verify boot mode:

    • ls /sys/firmware/efi/efivars (If the directory exist your computer supports EFI)
  3. Ping some site on the Internet to verify connection:

  • ping archlinux.org
@htruong
htruong / chroot-to-pi.sh
Last active July 27, 2025 12:36
Chroot to pi sd card
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued
@devhero
devhero / py_remote_extract_tar_gzip.py
Last active September 9, 2024 14:06
python download and extract remote file tar.gzip
# Instruct the interpreter to create a network request and create an object representing the request state. This can be done using the urllib module.
import urllib.request
import tarfile
thetarfile = "http://file.tar.gz"
ftpstream = urllib.request.urlopen(thetarfile)
thetarfile = tarfile.open(fileobj=ftpstream, mode="r|gz")
thetarfile.extractall()
# The ftpstream object is a file-like that represents the connection to the ftp server. Then the tarfile module can access this stream. Since we do not pass the filename, we have to specify the compression in the mode parameter.
@JBlond
JBlond / bash-colors.md
Last active October 17, 2025 14:19 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple