Skip to content

Instantly share code, notes, and snippets.

View 505e06b2's full-sized avatar

505e06b2

View GitHub Profile
@harubaru
harubaru / wd1-3-release.md
Last active June 29, 2024 14:19
Official Release Notes for Waifu Diffusion 1.3
@sar
sar / firefox.webgpu.md
Created March 14, 2021 00:44
Enable Web GPU Video Decoding and DOM Acceleration on Firefox Linux

Firefox GPU Acceleration

Enable GPU accelerated content decoding and DOM compositor rendering on Linux. For more details refer to docs.

Properties can be set by navigating to about:config.

DOM

gfx.webrender.all=true
layers.mlgpu.enabled=true
@Zezombye
Zezombye / owo.txt
Last active July 22, 2023 09:05
Overwatch custom game icon list
This glitch has returned with team names: https://i.imgur.com/vVaQvH9.png
Patched on 1.48 though.
All credit goes to flarn2006, he was the one who found that glitch!
!!!!
New album, way better organized
ALL sprays, player icons, achievement icons, and other stuff!
https://imgur.com/a/HJoeHy1
@fnky
fnky / ANSI.md
Last active June 29, 2024 19:59
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@binarycrusader
binarycrusader / pysdl2_pyopengl_modern_opengl_example.py
Last active December 29, 2023 22:19
pysdl2 pyopengl "modern" opengl example
#!/usr/bin/python2.7
"""Quick hack of 'modern' OpenGL example using pysdl2 and pyopengl
Based on
pysdl2 OpenGL example
http://www.arcsynthesis.org/gltut/Basics/Tut02%20Vertex%20Attributes.html
http://schi.iteye.com/blog/1969710
"""
import sys
@74togo
74togo / FloydSteinberg.html
Last active November 6, 2020 02:51
An example of the Floyd–Steinberg applied to images in Javascript.
<html>
<head>
<title>Dithering Test</title>
</head>
<body>
<canvas></canvas>
<script>
var canvas = document.getElementsByTagName("canvas")[0];
@cobyism
cobyism / gh-pages-deploy.md
Last active June 26, 2024 23:06
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).