Skip to content

Instantly share code, notes, and snippets.

@tildebyte
tildebyte / ms_tracking_domains_blocklist.txt
Last active March 10, 2024 23:14
Microsoft Windows 10 tracking domains list
a-0001.a-msedge.net
a-0002.a-msedge.net
a-0003.a-msedge.net
a-0004.a-msedge.net
a-0005.a-msedge.net
a-0006.a-msedge.net
a-0007.a-msedge.net
a-0008.a-msedge.net
a-0009.a-msedge.net
a-msedge.net
@tildebyte
tildebyte / inference.ipynb
Last active May 6, 2023 01:33
Running inference against DeepFloyd's IF on RunPod
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tildebyte
tildebyte / Klipper vs Prusa Slicer.md
Last active March 15, 2023 20:43
Klipper vs. Prusa Slicer tips and info

Klipper vs. Prusa Slicer tips and info

Jank scraped and collated from the Klipper Discord

[printer]
kinematics: cartesian
max_velocity: 250
max_accel: 1800
max_accel_to_decel:1800
@tildebyte
tildebyte / GShade.ini
Created January 3, 2023 21:01
GShade ini for GW2
[ADDON]
DisabledAddons=AutoHDR64@AutoHDR64.addon
[DEPTH]
DepthCopyBeforeClears=0
UseAspectRatioHeuristics=0
[GENERAL]
EffectFrameDelay=500
EffectSearchPaths=C:\Guild Wars 2\addons\reshade\gshade-shaders\Shaders,C:\Guild Wars 2\addons\reshade\gshade-shaders\ComputeShaders
@tildebyte
tildebyte / enable-long-paths-in-windows-11-10.md
Created November 1, 2022 22:34
Enable long paths in Windows 11, 10

Make Windows accept File Paths over 260 characters Enable Win32 Long Paths through Regedit

To enable Win32 long paths through Regedit-

Open Regedit
Paste the path for the file system folder
Find the LongPathsEnabled DWORD file and double click on it
Change to value from 0 to 1 and click OK
@tildebyte
tildebyte / neg prompting theory
Created October 25, 2022 04:47
SD, negative prompting, and SEO pollution
From somewhere in the bowels of https://www.reddit.com/r/StableDiffusion/comments/y0t4pd/a_bizarre_experiment_with_negative_prompts/iru7rh8
by Ok_Entreprenuer_5833
If anyone is wondering why this effect happens (and they should be wondering if they want to push SD to it's limits) it's the SEO media marketing word cloud noise coming up in the labelling of the dataset SD was trained on.
I'll try not to be long winded, want to get back to my SD project but think it's valuable enough to put down here since this experiment is a clear visual aid for the idea.
Top searches in 2019 in my example here: (didn't use 2020 onward as results of covid would skew this out of normalization).
News, people, celebrities and Trump is up there among all those at the top.
Disney
@tildebyte
tildebyte / WebGL
Last active February 27, 2022 03:22
Boilerplate for three.js
/**
* @author alteredq / http://alteredqualia.com/
* @author mr.doob / http://mrdoob.com/
*/
THREE.WEBGL = {
isWebGLAvailable: function () {
try {
@tildebyte
tildebyte / utils
Last active February 27, 2022 03:21
ES6 utility functions for Codepen
// Return a value from a given range, which avoids zero, within a given tolerance.
function avoidZero(range, tolerance) {
// Return a random value in the range from `-range` to strictly less than
// `range`, excluding the inner range +/-`tolerance` (and, logically, zero as
// well).
let value = _.random(-range, range)
while (-tolerance < value && value < tolerance) {
value = _.random(-range, range)
}
return value
// Get a list of elements that match selectors, i.e. "Toggle to follow" buttons.
// Maintainers probably need to change the selector string for new FB versions
var follows = document.querySelectorAll('div[aria-label="Toggle to follow"]');
// If you want to make sure this script doesn't click on the wrong buttons, go
// to the Elements tab, press Ctrl-F, enter "Toggle to follow" in the search
// bar, then find the button that is highlighed
var delay = 1500; // Delay between clicks to prevent being blocked by FB
var i = 0; // Initialize a counter of unfollows
@tildebyte
tildebyte / config.json
Last active September 13, 2021 01:22
codemirror code colors
{"description":"codemirror code colors","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data2.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"util.js":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":true,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/s64apah.png"}