Skip to content

Instantly share code, notes, and snippets.

@GAS85
GAS85 / aria2c_webUI.md
Last active July 8, 2024 00:16
Aria2 + Ubuntu 18.04 + Apache2 + Web UI
OS: Ubuntu 18.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24

Aria 2

1. Installation

Install aria2 package:

@PixelSergey
PixelSergey / layeredfs.md
Last active April 14, 2025 18:18
LayeredFS patching guide

Luma LayeredFS game patching guide

This is a guide for patching a game with Luma's built-in LayeredFS feature. This requires the latest Luma3DS and b9s. They can be installed using the guide if you have not already.


Dumping RomFS from a game

You can dump RomFS from any game using Godmode9.

@yhay81
yhay81 / pin-bot.py
Last active April 12, 2022 11:32
Discord bot who can pin messages with just adding reaction 📌
import discord
client = discord.Client()
@client.event
async def on_ready():
print('Logged in as')
print(client.user.name)
@highgain86j
highgain86j / nginx config for icecast2
Last active February 3, 2023 13:06
nginx configuration for reverse-proxying icecast2 streaming server.
server {
listen 80;
listen [::]:80;
server_name radio.example.com;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
location / {
@tcitworld
tcitworld / wallabag_theme_tutorial.md
Last active September 10, 2022 13:48
wallabag theme tutorial
@mitchellkrogza
mitchellkrogza / discourse.css
Last active January 14, 2020 08:18
My own custom css for a Discourse Forum - Use it, change it and please send back any improvements
/** Discourse CSS by Mitchell Krog - [email protected] **/
@font-face {
font-family: ProximaNova;
src: url('https://dmmj3mmt94rvw.cloudfront.net/webfonts/ProximaNova300.eot');
src: url('https://dmmj3mmt94rvw.cloudfront.net/webfonts/ProximaNova300.eot?#iefix') format('embedded-opentype'), url('https://dmmj3mmt94rvw.cloudfront.net/webfonts/ProximaNova300.woff') format('woff'), url('https://dmmj3mmt94rvw.cloudfront.net/webfonts/ProximaNova300.ttf') format('truetype'), url('https://dmmj3mmt94rvw.cloudfront.net/webfonts/ProximaNova300.svg#icon') format('svg');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: ProximaNova;
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active April 17, 2025 11:00
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@mjmeyer
mjmeyer / http-cat-error-pages.conf
Created February 17, 2016 22:58
Http.cat erorr pages for nginx
# ---------- Status Cats Error Pages!!! via: https://http.cat/ ---------
#
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1;
# typically uses dnsmasq for 127.0.0.1 resolver
#
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
#
@xndc
xndc / tunejack.sh
Last active March 17, 2025 09:42
Instant radio streaming script using the TuneIn API
#!/bin/bash
# tunejack.sh uses the TuneIn public API (at opml.radiotime.com) to search for
# a radio station, print out its details and try to play it somehow.
if [ "$#" -eq 0 ]; then
echo "$0: search for a radio station using the TuneIn API"
echo "Usage: $0 PATTERN"
exit 1
fi
@carld
carld / arch-linux-macbook-pro-5-5
Last active July 14, 2021 19:16
Arch Linux on Macbook Pro 5,5 notes
# Some notes on my Arch Linux install... not quite complete but something to go on
# I needed rEFInd?
# After booting from arch ISO image (from CD)
# Partition disk etc
fdisk /dev/sda
n # new partition
t # set type, 1 is EFI partition
# Install EFI bootloader