Skip to content

Instantly share code, notes, and snippets.

View T1ckbase's full-sized avatar

T1ckbase T1ckbase

View GitHub Profile
@rebane2001
rebane2001 / glass-with-controls.html
Last active June 23, 2025 03:34
glass effect test css/svg thing (messy) - demo: https://codepen.io/rebane2001/details/OPVQXMv
<div style="position:absolute;top:-999px;left:-999px">
<svg
id="effectSvg"
width="200"
height="200"
viewBox="0 0 200 200"
xmlns="http://www.w3.org/2000/svg">
<filter id="displacementFilter4">
@fabiospampinato
fabiospampinato / build.js
Created June 1, 2025 20:05
Transparent worker pool demo, with WorkTank and Esbuild.
/* IMPORT */
import esbuild from 'esbuild';
import worktank from 'worktank-esbuild-plugin';
/* MAIN */
esbuild.build ({
bundle: true,

How to HDR stickers on Discord

Someone found out HDR emojis and stickers work on Slack: https://sharpletters.net/2025/04/16/hdr-emoji/

So I've decided to experiment a bit and see if it works on Discord.

It works! But only if you find a way to pass-through the image as-is through the CDN.

One of ways to do this is making it an APNG sticker.

@jlia0
jlia0 / agent loop
Last active June 23, 2025 12:34
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@t3dotgg
t3dotgg / try-catch.ts
Last active June 23, 2025 10:37
Theo's preferred way of handling try/catch in TypeScript
// Types for the result object with discriminated union
type Success<T> = {
data: T;
error: null;
};
type Failure<E> = {
data: null;
error: E;
};
@ThioJoe
ThioJoe / !AddCompressToMenu -- How-To-Use.txt
Last active May 30, 2025 10:39
Add "Compress To" Option to Old Windows 11 Start Menu - Registry Tweak
How To Use:
1. Choose which version you want to use:
- "Full Menu" Version: The same as the original one in the new context menu, and has multiple sub-menu items
- Other Version: Doesn't have a sub-menu, it just directly opens the "Create Archive" menu. (The equivalent of clicking the "Additional Options" sub-item in the original)
2. Double click the "Add_" reg file of whichever version you choose
3. Restart Windows Explorer
- You can restart it by opening Task Manager with Ctrl+Shift+Esc, then search it for "Windows Explorer", right click that and hit "Restart"
@CodeByAidan
CodeByAidan / Center-No-Vert-Bar-H1-H2.md
Last active April 29, 2025 18:57
No vertical bar for h1 and h2 with GitHub Markdown, fixed!

    Hi, I'm Aidan

@OrionReed
OrionReed / dom3d.js
Last active June 19, 2025 01:28
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@TrevTV
TrevTV / ArcOn10.md
Last active December 5, 2024 16:22
Guide to installing Arc Browser on Windows 10

NOTICE: Arc now supports Windows 10 officially. This guide is no longer necessary.

As this is not an official way of installing Arc, if you encounter any issues do NOT report them to the developers, they did not intend for people to be running Arc on Windows 10.

@dkaraush
dkaraush / oklch2rgb.js
Last active May 27, 2025 23:00
conversion OKLCH into RGB and RGB into OKLCH in js, simplified
const multiplyMatrices = (A, B) => {
return [
A[0]*B[0] + A[1]*B[1] + A[2]*B[2],
A[3]*B[0] + A[4]*B[1] + A[5]*B[2],
A[6]*B[0] + A[7]*B[1] + A[8]*B[2]
];
}
const oklch2oklab = ([l, c, h]) => [
l,