Skip to content

Instantly share code, notes, and snippets.

View cutesthypnotist's full-sized avatar
🦊

Kit cutesthypnotist

🦊
View GitHub Profile
:root {
--rs-version: "2.0.11";
}
#app-mount .wrapper__44b0c {
border-radius: var(--rs-avatar-shape);
}
#app-mount .wrapper__44b0c svg:not(:root) {
overflow: visible;
contain: none;
@cutesthypnotist
cutesthypnotist / workona_to_bookmark_html.py
Last active February 21, 2023 20:59 — forked from willdhorn/workona_to_bookmark_html.py
Convert exported Workona data into a format that can be imported into you browser
# Updated to handle changes (as of 02 Feb 2023) in Workona's exported data structure.
# Original from: https://gist.github.com/willdhorn/0f8e7e8f1258e17331bd1e4ba77041a4
import yaml
from pprint import pprint
import re
import sys
# Usage:
# python workona_to_bookmark_html.py <exported workona text file>
@cutesthypnotist
cutesthypnotist / MatCapTechniques.shader
Created January 29, 2022 17:39 — forked from bgolus/MatCapTechniques.shader
Showing multiple matcap techniques, including a proposed improved method that's no more expensive than the usual fix if you're starting with the world position and world normal.
Shader "Unlit/MatCap Techniques"
{
Properties
{
[NoScaleOffset] _MatCap ("MatCap", 2D) = "white" {}
[KeywordEnum(ViewSpaceNormal, ViewDirectionCross, ViewDirectionAligned)] _MatCapType ("Matcap UV Type", Float) = 2
}
SubShader
{
Tags { "RenderType"="Opaque" }
//Kinda based on some example code posted by @meta556 https://metaaa.booth.pm/
Shader "Custom/More Passes"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_Color ("Color", Color) = (1.0,1.0,1.0,1.0)
}
SubShader