Skip to content

Instantly share code, notes, and snippets.

View bsquidwrd's full-sized avatar
💭
Learning new things everyday

Squid bsquidwrd

💭
Learning new things everyday
View GitHub Profile
@rondhi
rondhi / README.md
Last active October 8, 2025 23:33
Tutorial for Writing Streamer.bot C# code with linting in Visual Studio Code

Writing Streamer.bot C# code with linting in Visual Studio Code

Description

This tutorial provides a general step-by-step guide on setting up Visual Studio Code (VS Code) for writing C# code for Streamer.bot. By following these instructions, you'll be able to write code with linting, which will help you catch errors early and ensure your code compiles before copying into Streamer.bot

Install VS Code

  1. Download VS Code
  2. Install VS Code
@milnak
milnak / garlic-os-tips.md
Last active October 31, 2026 15:37
My set of GarlicOS tips #rg35xx

Garlic OS Tips (Windows-based)

GarlicOS Cookbook

Follow these instructions for an easy way to get up and going quickly! These are complete instructions, and will be the easiest way to get started on a new RG35XX.

Set up SD Card

Get a high quality SD (e.g. SanDisk Extreme) card, 128GB or larger, 256GB is recommended. Don't skimp here, they're cheap, and don't use the card that comes with the RG35XX as it's crap.

@scyto
scyto / docker-swarm-architecture.md
Last active September 29, 2026 15:45
My Docker Swarm Architecture
@Twanislas
Twanislas / now-playing-slider.html
Last active January 5, 2026 18:33
Simple notification style slider overlay pulling song info from local https://github.com/ytmdesktop API. For use in things like OBS.
<!-- https://gist.github.com/Twanislas/8e790f247e8d975f26aca89358fe69ff -->
<!-- Recommended size for the view is 165px high, 500px wide -->
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<script>
@nickjj
nickjj / cron-sendy-backup
Last active March 15, 2025 19:46
An example of creating a database backup and restore script for MySQL, MariaDB and PostgreSQL. It is focused on backing up and restoring a Sendy database (working example from https://www.youtube.com/watch?v=kbCytSYPh0E) but you can apply it for any database with slight modifications.
30 0 * * * root /usr/local/bin/sendy-backup > /dev/null 2>&1
@joshellington
joshellington / sftp-ubuntu.md
Created March 28, 2012 07:07
Basic tutorial for creating a SFTP-only user on Ubuntu 9.04 and greater

Adding SFTP-only user to Ubuntu Server

To add a SFTP-only user, you'll need to make sure your SSH config settings are correct, add a new user/group and set permissions for your new user. For step-by-step directions, see below. Omit sudo if you're logged in as root.

Directions

  1. Edit /etc/ssh/sshd_config and make sure to add the following at the end of the file:

     Match group filetransfer
    

ChrootDirectory %h