Skip to content

Instantly share code, notes, and snippets.

View PiMaker's full-sized avatar
🕴️

pi PiMaker

🕴️
View GitHub Profile
@PiMaker
PiMaker / RayClouds.shader
Created October 15, 2023 18:55
Raymarched clouds with mip-quad communication for rendering performance.
// Copyright © 2023 github.com/pimaker
// Available under the terms of the MIT license.
Shader "_pi_/RayClouds"
{
Properties
{
_BaseTint ("Base Tint", Color) = (1, 1, 1, 0.1)
_NoiseTex ("3D Noise", 3D) = "white" {}
# made by pi (and copilot), available as CC0, no attribution required, use at your own risk, yadda yadda
# requires websocket-client from pip
import websocket
import json
import time
import threading
import re
import sys
@PiMaker
PiMaker / Phalanx.cs
Last active June 9, 2024 13:57
Avatar Phalanx - A way to upload multiple versions of a VRChat avatar with a single click
/*
Made by _pi_ in VRChat/@pimaker on GitHub
Usage:
* Make an empty GameObject
* "Add Component" a Phalanx
* Drop in your Avatar Descriptor
* Click "Get Data From Avatar"
* Get your Avatar ID from the pipeline component beneath the avatar descriptor
* Optionally: Set up a thumbnail and an overlay text to superimpose onto it dynamically
// Available under the terms of the CC0 license
// No copyright intended, this file is in the public domain
// Originally written by: _pi_
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using UnityEditor.Animations;
using System.Collections.Generic;
// Available under the terms of the CC0 license
// No copyright intended, this file is in the public domain
// Originally written by: _pi_
//
// Creates inventory enable/disable animation files for use with Silent's Cel Shading Shader:
// https://gitlab.com/s-ilent/SCSS
#if UNITY_EDITOR
using UnityEngine;
@PiMaker
PiMaker / EnergiaRaymarch.shader
Last active December 8, 2022 18:03
Energia Raymarch shader (for VRChat avatars)
Shader "Custom/Energia v2 Toon Cutout" // VRChat fallback is "Toon Cutout", fully transparent
{
Properties
{
// for fallback only
_MainTex ("[Fallback Only] Texture", 2D) = "transparent" {}
_Color ("[Fallback Only] Color", Color) = (0, 0, 0, 0)
_Cutoff ("[Fallback Only] Alpha Cutoff", Range(0.0, 1.0)) = 1.0
// animateable
#!/bin/bash
set -e
# Install or update the latest version of pve-edge-kernel[0] and the AMD Navi
# reset fix module 'vendor-reset'[1]. Run periodically to keep up to date.
#
# [0] https://github.com/fabianishere/pve-edge-kernel
# [1] https://github.com/gnif/vendor-reset
From 28e67537895c4b46b9721f19609ee4f2ccb8c132 Mon Sep 17 00:00:00 2001
From: pi <[email protected]>
Date: Sat, 7 Nov 2020 18:41:42 +0100
Subject: [PATCH] Add 'hide-hypervisor' QMP command
CAUTION: Extremely hacky stuff below. Use at own risk of bugs, breakage and
bear attacks.
Introduce a new QMP call to disable the hypervisor CPUID flag at runtime on
x86 KVM. Allows the guest OS to initialize with full hypervisor/PV support
@PiMaker
PiMaker / RSA.cs
Last active January 31, 2019 11:39
A simple, well-documented implementation of the RSA asymmetric crypto scheme.
/*
A simple, well-documented implementation of the RSA asymmetric crypto scheme.
Uses fixed initialization primes and only supports 32-bit numbers.
This file is in the public domain.
*/
using System;
using System.Collections;
Agility His Kid Reprive Instance Giving
First-Meats Falls Will Be Complementation to All your Cities
Berquon Patent &-Uberex Outlasco McDinate Video Tech Support
Private extension explainped jQuery
NOS’s native delmarult: Skift Grontify
Kubernetes hacker color data font and Coach
Survivinias passwe: not biofelstmens up for working simulation
Tiny Game Yet the New York Disruption
Linceas, New York implegeation could sizing data crashdout
Video lenua 37? Corporate efframcy [video]