Skip to content

Instantly share code, notes, and snippets.

View ysfchn's full-sized avatar

Yusuf Cihan ysfchn

View GitHub Profile

CavalryOnLinux

A guide to running the Cavalry motion graphics software on Linux using Wine.

This guide has been tested exclusively on Wine 11.

Initial setup

Set up a new prefix

<!-- i have to warn you, this code SUCKS! i DO NOT recommend using this code, but you can if you want -->
<div style="width:calc(442px + 28px * 2); outline:1px solid #232323; border-radius:8px;position: absolute;top:0;left:0;translate:calc(50vw - 50%) calc(50vh - 50%); box-sizing: border-box;container-type: size;height:600px;contain:strict">
<div style="overflow: clip;contain:strict;width:100%;height:100%;position:absolute">
<div style="padding:28px;display: flex;height:100%;box-sizing:border-box;flex-direction: column;align-items: center;justify-content: center;">
<svg class="nv-block sm:nv-hidden nv-h-6 nv-w-auto" style="width:100px;margin-top:2px" viewBox="0 0 1230.574 519.774" xmlns="http://www.w3.org/2000/svg" aria-label="Cloudflare"><path d="m784.025 512.011 5.872-20.311c6.998-24.169 4.394-46.511-7.349-62.926-10.801-15.122-28.804-24.022-50.666-25.056l-414.114-5.281c-2.788-.147-5.096-1.403-6.518-3.471-1.44-2.123-1.773-4.856-.886-7.478 1.366-4.08 5.41-7.164 9.62-7.349l417.954-5.299c49.576-2.271 103.2
@jake-stewart
jake-stewart / color256.md
Last active April 29, 2026 02:27
Terminals should generate the 256-color palette

Terminals should generate the 256-color palette from the user's base16 theme.

If you've spent much time in the terminal, you've probably set a custom base16 theme. They work well. You define a handful of colors in one place and all your programs use them.

The drawback is that 16 colors is limiting. Complex and color-heavy programs struggle with such a small palette.

@rtm516
rtm516 / Bedrock new XVC download system.md
Last active February 8, 2026 03:03
Bedrock new XVC download system

Bedrock new XVC download system

As of Bedrock Preview 1.21.120.21 minecraft is using the new Game Development Kit and moving away from UWP. They are nolonger packaged as APPX but instead as MSIXVC which requires a new way of fetching and is far easier than previous methods but requires authentication. This hopefully will explain how to download the new format.

Quick ref

Product PackageId ProductId ContentId
Minecraft Bedrock Microsoft.MinecraftUWP 9NBLGGH2JHXJ 7792d9ce-355a-493c-afbd-768f4a77c3b0
Minecraft Preview Microsoft.MinecraftWindowsBeta 9P5X4QVLC2XR 98bd2335-9b01-4e4c-bd05-ccc01614078b

Get the content ID

@bagder
bagder / slop.md
Last active April 16, 2026 18:52
AI slop security reports submitted to curl

Slop

This collection is limited to only include the reports that were submitted as security vulnerabilities to the curl bug-bounty program on Hackerone.

Several other issues not included here are highly suspcious as well.

Reports

  1. [Critical] Curl CVE-2023-38545 vulnerability code changes are disclosed on the internet. #2199174
@OrionReed
OrionReed / dom3d.js
Last active April 8, 2026 16:29
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; // ¯\\_(ツ)_/¯
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active April 22, 2026 05:36
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active April 18, 2026 15:11
An unofficial list of discord app protocol routes

Discord app protocol routes

I know these links work on Windows, have not tested this on any other operating systems.

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
@sm-Fifteen
sm-Fifteen / whats_a_yubikey.md
Last active March 29, 2026 22:12
"What the heck is a Yubikey and why did I buy one?": A user guide

"What the heck is a Yubikey and why did I buy one?": A user guide

(EDIT: Besides Reddit, I've also put this up on Github Gist)

So while looking for information on security keys before getting one myself, I got very confused reading about all the different modes and advertised features of Yubikeys and other similar dongles. The official documentation tends to be surprisingly convoluted at times, weirdly organized and oddly shy about a few of the limitations of these keys (which I'm making a point of putting front and center). Now that I have one, I decided to write down everything I figured out in order to help myself (and hopefully some other people reading this) make sense of all this.

Since I'm partly writing these notes for myself, there might be some back and forth between "exp

@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active April 25, 2026 18:03
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2026-04-18