Skip to content

Instantly share code, notes, and snippets.

View JOELwindows7's full-sized avatar
🏠
Working from home

Joel Robert Justiawan JOELwindows7

🏠
Working from home
View GitHub Profile
#version 300 es
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
out vec4 fragColor;
uniform vec2 resolution;
uniform vec3 orientation;
@EtiTheSpirit
EtiTheSpirit / Instancing.md
Last active December 30, 2023 12:36
Setting up instanced shaders

Upgrading Unlit Shaders to SPSI Rendering

Step 1: Under CGPROGRAM, place these compiler directives:

#pragma multi_compile_instancing

// IFF the scale of the model is the same for all axes (x, y, and z are ALWAYS the same number), put this next line.
// If not, do NOT use this next line. This is an optimization for the instancer, but it requires a uniform scale.
#pragma instancing_options assumeuniformscaling

ChilloutVR Shader Parameters

This was last updated for ChilloutVR 2023r173. On future versions, these values might be out of date!

This mostly covers global values or values that are relevant to you as a player.

Shader Keywords

(Nothing here yet, sorry!)

Shader values

@ThioJoe
ThioJoe / Appx-Uninstaller.ps1
Last active May 18, 2025 03:16
A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows
#
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only:
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
#
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ )
# .\WhateverScriptName.ps1
# -------------------------------------------------------------------------------------------
# Script by ThioJoe - https://github.com/ThioJoe
@FlyTechVideos
FlyTechVideos / censor_oracle.py
Last active May 15, 2025 10:42
A not entirely inaccurate oracle for whether or not Windows XP will recognize a given string as being unicode (ref. IsTextUnicode).
#!/usr/bin/env python3
import sys
# Please excuse the awfully formatted code, I did not take the time to make it look nice.
def main():
print()
if len(sys.argv) != 2:
print(f' Usage: {sys.argv[0]}')
@FlyTechVideos
FlyTechVideos / IsTextUnicode.cpp
Created June 26, 2023 22:40
Calls IsTextUnicode from the WinAPI to figure out whether or not a text is recognized as Unicode. Meant for use in Windows XP.
#include "stdafx.h"
#include <windows.h>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "\r\n";
if (argc != 2) {
@nimaid
nimaid / bad_apple_movement.py
Created February 20, 2023 00:05
Glitchy rainbow movement effect for video (https://youtu.be/iuLY_cLhiZU)
import os
import urllib.request
from enum import Enum
import hashlib
import cv2
import numpy as np
bad_apple_video = "bad_apple.mp4"
# The current best source for the original video from NicoNico
@volfegan
volfegan / Neco_ Arc.txt
Last active May 8, 2025 17:05
Neco Arc ASCII art
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⢀⡔⣻⠁⠀⢀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⢀⣾⠳⢶⣦⠤⣀⠀⠀⠀⠀⠀⠀⠀⣾⢀⡇⡴⠋⣀⠴⣊⣩⣤⠶⠞⢹⣄⠀⠀⠀
⠀⠀⠀⠀⢸⠀⠀⢠⠈⠙⠢⣙⠲⢤⠤⠤⠀⠒⠳⡄⣿⢀⠾⠓⢋⠅⠛⠉⠉⠝⠀⠼⠀⠀⠀
⠀⠀⠀⠀⢸⠀⢰⡀⠁⠀⠀⠈⠑⠦⡀⠀⠀⠀⠀⠈⠺⢿⣂⠀⠉⠐⠲⡤⣄⢉⠝⢸⠀⠀⠀
⠀⠀⠀⠀⢸⠀⢀⡹⠆⠀⠀⠀⠀⡠⠃⠀⠀⠀⠀⠀⠀⠀⠉⠙⠲⣄⠀⠀⠙⣷⡄⢸⠀⠀⠀
⠀⠀⠀⠀⢸⡀⠙⠂⢠⠀⠀⡠⠊⠀⠀⠀⠀⢠⠀⠀⠀⠀⠘⠄⠀⠀⠑⢦⣔⠀⢡⡸⠀⠀⠀
⠀⠀⠀⠀⢀⣧⠀⢀⡧⣴⠯⡀⠀⠀⠀⠀⠀⡎⠀⠀⠀⠀⠀⢸⡠⠔⠈⠁⠙⡗⡤⣷⡀⠀⠀
⠀⠀⠀⠀⡜⠈⠚⠁⣬⠓⠒⢼⠅⠀⠀⠀⣠⡇⠀⠀⠀⠀⠀⠀⣧⠀⠀⠀⡀⢹⠀⠸⡄⠀⠀
⠀⠀⠀⡸⠀⠀⠀⠘⢸⢀⠐⢃⠀⠀⠀⡰⠋⡇⠀⠀⠀⢠⠀⠀⡿⣆⠀⠀⣧⡈⡇⠆⢻⠀⠀
⠀⠀⢰⠃⠀⠀⢀⡇⠼⠉⠀⢸⡤⠤⣶⡖⠒⠺⢄⡀⢀⠎⡆⣸⣥⠬⠧⢴⣿⠉⠸⡀⣇⠀
@AkBKukU
AkBKukU / DECtalk_Script.md
Created September 23, 2022 14:58
DECtalk DTC01 - 1984 Speech Synthesizer (Full Script with speech examples))
[:np] Hello, my name is Perfect Paul and I’m here to introduce you to the
DECtalk speech synthesizer. In particular, the DECtalk DTC01 released in 
1984. The DECtalk had revolutionary features for computer speech, but don’t 
just take my word for it.

[:nb] I can agree with that. Hi, my name is Beautiful Betty and my voice 
represents just one of the many ways the DECtalk is a flexible advanced 
system. Today we’re going to take an in depth look at the DTC01 device 
itself, and how it raised the bar for speech synthesis in ways that are 
@MolassesLover
MolassesLover / deltarune_website_analysis.txt
Created September 17, 2022 21:09
Deltarune September 17th scraping results
URL `https://deltarune.com/'
Real URL https://deltarune.com/
Check time 0.146 seconds
D/L time 0.000 seconds
Size 11.54KB
Result Valid: 200 OK
URL `https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194'
Parent URL https://deltarune.com/, line 1, col 11422
Real URL https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194