Skip to content

Instantly share code, notes, and snippets.

View chrisblammo123's full-sized avatar
:shipit:
: )

Chris Struck chrisblammo123

:shipit:
: )
View GitHub Profile
@vngnc3
vngnc3 / VIOLENCE AND ABUSE IN BRANDOVILLE.md
Last active January 8, 2025 07:29
Passing the torch to our friends overseas.

On The Violence in Brandoville, and The Opening of Lailai Studios

Jakarta, September 14th, 2024 — Recently, there has been a major controversy in Indonesia's creative industries over an exposé about the abuse and mistreatment done by the leaders and co-founders of Brandoville Studios: Cherry Lai and Ken Lai.

Brandoville Studios was a game and animation studio based in Jakarta, Indonesia that recently closed down between February and July 2024. The official statement about their closure follows in August 2024 (https://www.instagram.com/p/C-w8R0nTgPM/).


First things first

@EtiTheSpirit
EtiTheSpirit / Rain World Sound Tutorial.md
Last active May 4, 2024 13:20
Rain World New Sound Tutorial

Adding Custom SFX to Rain World

This is NOT for modifying existing sounds! To see how to modify existing sounds, visit Rain World Modding Wiki: Modification Files.

Sounds exist in-game abstractly, that is, rather than you the modder dealing with AudioClip/AudioSource instances (belonging to Unity), you will instead use sounds via their abstract SoundID class, which, like all other ExtEnum<T> types, contains a unique string ID of your choosing.

Part 1: Declaring code

Consider creating a new class in your mod, like so:

public static class Sounds {

To add a Windows context menu item "Edit With GIMP", download RegEditWithGimp.reg, edit the version number in the exe path to match your actual GIMP exe, and then double-click the reg file to install it into the registry.

@primaryobjects
primaryobjects / m3u8.md
Last active April 17, 2025 05:02
How to download m3u8 and ts video movie streams.

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@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
@gkbrk
gkbrk / slowloris.py
Last active December 20, 2024 00:02
Slowloris implementation in Python. https://github.com/gkbrk/slowloris
import socket
import random
import time
import sys
log_level = 2
def log(text, level=1):
if log_level >= level:
print(text)
@efenacigiray
efenacigiray / replaceAt
Last active August 23, 2023 17:55
Javascript replace char at index
function replaceAt(string, index, replace) {
return string.substring(0, index) + replace + string.substring(index + 1);
}
@DTrejo
DTrejo / .gitignore
Created April 4, 2011 03:32
How to Readline - an example and the beginnings of the docs
node_modules/