Skip to content

Instantly share code, notes, and snippets.

Cecile Muller cecilemuller

Block or report user

Report or block cecilemuller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cecilemuller / tasks.json
Last active Jul 14, 2019
VSCode: Compile Typescript on file save
View tasks.json
"version": "2.0.0",
"tasks": [
"label": "Delete Output Folder",
"type": "shell",
"options": {
"cwd": "${workspaceRoot}"
cecilemuller / cubemap.bat
Created May 1, 2019
Generate a DDS cubemap from 6 JPEG images
View cubemap.bat
texassemble cube -w 1024 -h 1024 -o px.jpg nx.jpg py.jpg ny.jpg pz.jpg nz.jpg
texconv -m 0 -y -f BC1_UNORM
View photoshop-functions.js
/* eslint-env photoshop */
* New 3D Layer from File.
* @param {String} modelFilepath Absolute path to the 3D file
* Examples:
* `addLayer3D('C:\\example\\scene.wrl');`
* `addLayer3D('C:\\example\\scene.dae');`
* `addLayer3D('C:\\example\\scene.obj');`
fakuivan / dishonored2_cvars.txt
Last active Apr 1, 2019
All cvars for Dishonored 2 as of version ````, in the format: <cvar struct address> | <cvar name> = <cvar default value> | <cvar int value address> -> <current int value>\n<cvar description>
View dishonored2_cvars.txt
Dishonored2.exe+3BFC7F0 | aas_subdivisionSize = 64 | Dishonored2.exe+3BFC818 -> 64
the size of subdivisions to use for debug drawing
Dishonored2.exe+340CC20 | achievements_Verbose = 0 | Dishonored2.exe+340CC48 -> 0
debug spam for achievements
Dishonored2.exe+3BFA570 | ai_debugCam = 0 | Dishonored2.exe+3BFA598 -> 0
enable debug camera
Dishonored2.exe+3BFA470 | ai_debugScript = -1 | Dishonored2.exe+3BFA498 -> 4294967295
cecilemuller /
Created Jan 3, 2019
Maxscript: get the Material Editor thumbnail for an arbitrary material
-- Reads the 88x88 thumbnail from Material Editor for an arbitrary material.
-- Note that it renders faster when the material editor is closed,
-- so you could call `MatEditor.Close()` first.
-- Parameters:
-- mat: a material instance (StandardMaterial, Universal_Material, etc..)
-- Returns:
-- a Bitmap or `undefined`
cecilemuller /
Created Dec 18, 2018
Marmoset Toolbag: Bake maps properties

Marmoset Toolbag: Bake maps properties


import mset

baker = mset.findObject("Baker")
baker.getMap("Normals").enabled = True
cecilemuller /
Last active Apr 28, 2019
Marmoset Toolbag: Shader subroutine fields
View shader-stream-2018-11-14.glsl
#version 410 core
uniform float fGlobalTime; // in seconds
uniform vec2 v2Resolution; // viewport resolution (in pixels)
uniform sampler1D texFFT; // towards 0.0 is bass / lower freq, towards 1.0 is higher / treble freq
uniform sampler1D texFFTSmoothed; // this one has longer falloff and less harsh transients
uniform sampler1D texFFTIntegrated; // this is continually increasing
uniform sampler2D texChecker;
uniform sampler2D texNoise;
cecilemuller /
Last active Oct 17, 2019
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

cecilemuller / VSCode.reg
Last active Apr 24, 2018
Adds a "Open Folder in VSCode" command in Windows Explorer
View VSCode.reg
Windows Registry Editor Version 5.00
@="Open folder in VSCode"
"Icon"="C:\\Program Files\\Microsoft VS Code\\resources\\app\\resources\\win32\\code_file.ico"
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""
You can’t perform that action at this time.