Skip to content

Instantly share code, notes, and snippets.

View ppikachu's full-sized avatar

Santiago Toyos ppikachu

  • Argentina
  • 22:13 (UTC -03:00)
  • X @ppika
View GitHub Profile
@bartwttewaall
bartwttewaall / FitFillTest.js
Last active September 15, 2024 16:44
Fit, fill, stretch a texture on a mesh when given the mesh's aspect ratio
import {
Object3D,
Cache,
Texture,
PlaneGeometry,
MeshLambertMaterial,
Mesh,
ClampToEdgeWrapping,
RepeatWrapping,
MirroredRepeatWrapping,
@danielroe
danielroe / settings.json
Last active April 19, 2025 06:36
VScode settings for a minimal UI
{
// Disable telemetry
"telemetry.telemetryLevel": "off",
// Zen mode
"zenMode.fullScreen": false,
"zenMode.hideTabs": true,
"zenMode.centerLayout": false,
// Theming
"workbench.iconTheme": "city-lights-icons-vsc",
"editor.fontFamily": "Dank Mono",
@jeangjenq
jeangjenq / tcl_snippets.tcl
Last active July 6, 2024 18:25
TCL snippets for Nuke.
# Get input node name
[value this.input0.name][python nuke.thisNode().input(0).name()]
# Set a variable in expression with TCL:
[set VARIABLENAME VALUE; return]
# Use a variable
$VARIABLENAME
# String Operation that return the 5th character from top input name