Skip to content

Instantly share code, notes, and snippets.

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

Rospars Quentin qrospars

🏠
Working from home
View GitHub Profile
@m4rt1n0
m4rt1n0 / game_boy_camera.glsl
Created July 1, 2022 22:04
Game Boy Camera shader for OBS ShaderFilter Plus
// Game Boy Camera shader for OBS ShaderFilter Plus plugin [https://github.com/Limeth/obs-shaderfilter-plus]
// A modified version of [https://www.shadertoy.com/view/ttsSzr] by yx
// Palettes from [https://www.deviantart.com/thewolfbunny64/art/Game-Boy-Palette-Set-Super-Game-Boy-Bash-879821261]
// Use .hlsl on Windows and .glsl on Linux
#pragma shaderfilter set mirror__description Mirror image
#pragma shaderfilter set mirror__default false
#pragma shaderfilter set preset_palette__description Preset palette
#pragma shaderfilter set preset_palette__default 0
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active April 9, 2025 14:04
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cobyism
cobyism / gh-pages-deploy.md
Last active April 12, 2025 09:10
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).