Skip to content

Instantly share code, notes, and snippets.

View ergoz's full-sized avatar
😈
let's rock

Sergey Morozov ergoz

😈
let's rock
View GitHub Profile
@HaleTom
HaleTom / aria2-trackers-update
Last active October 15, 2025 04:34
Update aria2.conf with 20 "best" BitTorrent trackers
#!/bin/bash
# Update the bt-tracker= line in aria2.conf
# Any bt-tracker= lines are removed and and a new one added at the bottom of the file
# Updates at: https://gist.github.com/HaleTom/fe873dc2f3c5bd14f7418efefc2b91a8
# Inspiration: https://github.com/wuyuansushen/aria2c_TrackersList
set -euo pipefail
shopt -s failglob
@Saren-Arterius
Saren-Arterius / Waydroid.sh
Last active November 29, 2025 00:59
Install Waydroid on Steam Deck (As of 2024-03-16)
#!/bin/sh
cage -- bash -c 'wlr-randr --output X11-1 --custom-mode 1280x800; sleep 1; sudo /usr/local/bin/waydroid-helper & waydroid show-full-ui'
@longtian
longtian / alpine-cloud-init.md
Last active September 27, 2024 11:46
cloud-init for alpine on proxmox

Enable cloud-init for a Alpine VM on proxmox

alpine version 3.17.4 cloud-init version 22.4

Install

Download alpine-virt-3.17.4-x86_64.iso Uploda to PVE Create a VM

@bioluks
bioluks / nerd-fonts-complete-windows.bat
Last active September 19, 2025 15:37
Install all Nerd Fonts on Windows, using scoop. You will obviously need scoop (https://scoop.sh) and git on your Windows setup before executing this script, for now.
powershell -command "scoop bucket add nerd-fonts"
powershell -command "scoop install nerd-fonts/Monocraft-Nerd-Font nerd-fonts/Delugia-Mono-Nerd-Font nerd-fonts/Delugia-Nerd-Font nerd-fonts/Delugia-Nerd-Font-Book nerd-fonts/Delugia-Nerd-Font-Complete nerd-fonts/Delugia-Mono-Nerd-Font-Complete nerd-fonts/3270-NF-Mono nerd-fonts/Agave-NF-Mono nerd-fonts/AnonymousPro-NF-Mono nerd-fonts/Arimo-NF-Mono nerd-fonts/AurulentSansMono-NF-Mono nerd-fonts/BigBlueTerminal-NF-Mono nerd-fonts/BitstreamVeraSansMono-NF-Mono nerd-fonts/CascadiaCode-NF-Mono nerd-fonts/CodeNewRoman-NF-Mono nerd-fonts/ComicShannsMono-NF-Mono nerd-fonts/Cousine-NF-Mono nerd-fonts/DaddyTimeMono-NF-Mono nerd-fonts/DejaVuSansMono-NF-Mono nerd-fonts/DroidSansMono-NF-Mono nerd-fonts/FantasqueSansMono-NF-Mono nerd-fonts/FiraCode-NF-Mono nerd-fonts/FiraMono-NF-Mono nerd-fonts/Gohu-NF-Mono nerd-fonts/Hack-NF-Mono nerd-fonts/Hasklig-NF-Mono nerd-fonts/HeavyData-NF-Mono nerd-fonts/Hermit-NF-Mono nerd-fonts/IBMPlexMono-NF-Mono nerd-fonts/Inconsolata-NF-Mono n
@hyunbinseo
hyunbinseo / ssh.bash
Last active May 5, 2025 18:25
Setup SSH (macOS, YubiKey FIDO)
# Moved to https://github.com/hyunbinseo/blog/blob/master/posts/setup-ssh.md
### Preparation ###############################################################
# macOS bundled OpenSSH does not support FIDO.
# https://developer.apple.com/forums/thread/698683
# https://github.com/apple-oss-distributions/OpenSSH/pull/1
brew install openssh
@llcawc
llcawc / angie.md
Last active July 2, 2025 06:41
Настройка сервера Angie для Ubuntu или Debian

Настройка сервера Angie

Angie (Энджи) — эффективный, мощный и масштабируемый веб-сервер, реализованный как форк nginx:

  • Создан бывшими разработчиками исходного проекта, чтобы двигаться в новом направлении, и может служить заменой предшественнику без переработки конфигурации и модулей.
  • Включает все возможности nginx 1.27.4 и добавляет к ним целый ряд новых функций.

Установка Angie на сервер Ubuntu или Debian

На основе официальной документации: https://angie.software/angie/docs/installation/

@lucsoft
lucsoft / GnomeNested.sh
Last active September 27, 2025 00:52 — forked from davidedmundson/PlasmaNested.sh
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
# Fetch Resolution
RES=$(xdpyinfo | awk '/dimensions/{print $2}')
# Apply Resolution in env and start a new nested gnome with a new dbus
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested
@Blackshome
Blackshome / bathroom-humidity-exhaust-fan.yaml
Last active December 11, 2025 05:13
bathroom-humidity-exhaust-fan.yaml
blueprint:
name: Bathroom Humidity Exhaust Fan
description: >
# 🚿 Bathroom Humidity Exhaust Fan
**Version: 2.6**
Step into the future of freshness - customize it your way and experience the convenience of automated humidity control! 🌿🚿
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active August 20, 2025 14:23
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active December 7, 2025 11:36
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none