Skip to content

Instantly share code, notes, and snippets.

@bastomiadi
bastomiadi / post-installation-void-linux-glibc.txt
Last active June 13, 2025 21:21
Post installation Void Linux (Glibc)
1. Update all package system
sudo xbps-install -Suv
2. add non-free repo
sudo xbps-install -Rs void-repo-nonfree
3. Software & utilities
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils vlc pipewire libspa-bluetooth noto-fonts-cjk noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra libreoffice-writer libreoffice-calc libreoffice-impress rhythmbox neofetch ntfs-3g gimp inkscape lm_sensors wget udisks2 gvfs mtpfs gvfs-mtp gvfs-gphoto2 xtools WoeUSB xz unrar qt5-wayland nano ffmpeg Kooha handbrake inxi streamlink
4. Install chrome gnome, gnome menu For Gnome & extension
@y-mamanaranu
y-mamanaranu / narou-bookmark-filter.js
Last active February 15, 2023 04:32
Tampermonkey script for 小説家になろう
// ==UserScript==
// @name 小説家になろう - ブックマークフィルター
// @namespace https://github.com/y-muen
// @license MIT
// @version 0.1.1
// @description 小説家になろうでブックマークを未読のみにフィルターする。
// @author Yoiduki <y-muen>
// @include *://syosetu.com/favnovel*
// @icon https://www.google.com/s2/favicons?domain=syosetu.com
// @grant GM_addStyle
@sugoidogo
sugoidogo / 0-pve.sh
Last active July 1, 2025 09:25
customized install proxmox ve on debian - only tested on buster, bullseye
#!/usr/bin/env bash
# wget -qO 0-pve.sh https://gist.github.com/sugoidogo/4684e4659431e17d15be20171160c1f9/raw/ && bash 0-pve.sh
set -e
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
function download { wget $* || curl -fLO $*; }
function stream { wget -qO- $* || curl -fsSL $*; }
function package { apt $* } #|| dnf $*; }
echo "This script will download and run the installation script in a screen session"
echo "The installation script will download post-installation scripts to $HOME and reboot the system upon successful installation"
@rssnyder
rssnyder / oracle-cloud-free-tier-guide.md
Last active July 15, 2025 18:17
oracle-cloud-free-tier-guide

how to leverage oracle's temping offers

free tier limits

The limits of the free tier say that you can create up to 4 instances.

  • x2 x86 instances (2core/1g)
  • x2 ampere instances (with 4core/24g spread between them)
  • 200GB total boot volume space across all intances (minimum of 50G per instance)

create your account

@m-radzikowski
m-radzikowski / script-template.sh
Last active July 14, 2025 10:40
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@Nominom
Nominom / shonenripperjson.py
Last active July 12, 2025 16:10
New version of pocket.shonenmagazine.com ripper
# Original script by drdaxxy
# https://gist.github.com/drdaxxy/1e43b3aee3e08a5898f61a45b96e4cb4
# Thanks to ToshiroScan for fixing after a shonen update broke this.
# And QPDEH for helping fix the black bars issue with some manga.
# This script has been tested to work with python 3.10
# To install required libraries:
#
# pip install requests
@nu12
nu12 / installer_tool.sh
Last active January 4, 2024 01:05
Installer tool
# installer_tool.sh: automated setup for ubuntu machines.
# Copyright (C) 2020 nu12
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@diyism
diyism / google cloud shell vps
Last active November 1, 2024 15:51
google cloud shell vps
#go to https://shell.cloud.google.com/
#in Terminal(bottom half page) or Cloud Shell tab in IDE(top half page):
wget https://pkgs.tailscale.com/stable/tailscale_1.30.2_amd64.tgz
tar zxvf tailscale_1.30.2_amd64.tgz
mkdir tailscale
cp tailscale_1.30.2_amd64/tailscale* tailscale/
rm -rf tailscale_1.30.2_amd64*
#in fact, google cloud shell using debian 10, we can use apt:
@oofnikj
oofnikj / answerfile
Last active July 7, 2025 23:43
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@danielbene
danielbene / docker_install.sh
Last active August 29, 2024 05:16
Docker install script for linux.
#!/bin/bash
DIST_BASE="ubuntu"
apt update
apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/$DIST_BASE/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88