Skip to content

Instantly share code, notes, and snippets.

@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
@Nominom
Nominom / shonenripperjson.py
Last active July 17, 2025 11:49
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
@m-radzikowski
m-radzikowski / script-template.sh
Last active July 20, 2025 04:54
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...]
@rssnyder
rssnyder / oracle-cloud-free-tier-guide.md
Last active July 19, 2025 17:49
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

@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"
@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
@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
@taskylizard
taskylizard / fmhy.md
Last active July 22, 2025 07:24
/r/freemediaheckyeah, in one single file (view raw)
@saumas
saumas / create.sh
Last active February 11, 2025 03:34
Create an admin kubeconfig
#!/usr/bin/env bash
set -ex
NAMESPACE="default"
NAME="admin"
SECRET_NAME="admin-secret"
kubectl create serviceaccount -n $NAMESPACE $NAME
kubectl create clusterrolebinding $NAMESPACE-$NAME --clusterrole=cluster-admin --serviceaccount=$NAMESPACE:$NAME
@diyism
diyism / rclone with storj(ipfs).txt
Last active January 4, 2024 00:47
rclone with storj(ipfs)
curl https://rclone.org/install.sh | sudo bash
装最新版rclone支持storj的150GB免费空间(apt里版本太旧不支持storj),
本地上传/下载到storj us带宽大概0.8MB/s,
而在VPS里玩能到8MB/s,
用"rclone rcd --rc-web-gui"能启动网页版管理界面,
觉得可作为VPS的扩展盘使用,
可惜没集成player,folder comparer
https://docs.storj.io/dcs/how-tos/sync-files-with-rclone/rclone-with-native-integration/