Skip to content

Instantly share code, notes, and snippets.

@p-mng
p-mng / README.md
Last active November 20, 2026 21:06
Uninstall Rosetta 2 on macOS

Uninstall Rosetta 2 on macOS

1. Disable SIP (System Integrity Protection)

  1. Boot into recovery
  2. Open a terminal (Utilities > Terminal)
  3. Disable SIP using csrutil disable (confirm the prompt with y)
  4. Reboot into macOS

2. Uninstall Rosetta

@mikedeboer
mikedeboer / helmet-ct-strategy.md
Created November 20, 2026 09:19
Guide: From Open CT Head Scans to Helmet Design Measurements

Guide: From Open CT Head Scans to Helmet Design Measurements

Links were checked for reachability when this guide was written (a few sites block automated checks; these are marked (browser)). Software and dataset versions change, so verify details on the linked pages.

0. Big picture (read this first)

What we're building: a repeatable pipeline that turns many anonymous CT head scans into 3D models and a table of head measurements.

Download CT scans → Convert/inspect → Auto-segment (TotalSegmentator) → Check & fix (3D Slicer)
@Klerith
Klerith / flutter-instalaciones.md
Last active November 20, 2026 21:00
Instalaciones del curso de Flutter - Móvil de cero a experto
@0xjac
0xjac / private_fork.md
Last active November 20, 2026 20:56
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@hood
hood / gist:2edf6244dd314b527c8ec3b20d9d6a19
Last active November 20, 2026 20:54
portable_blocklist.txt
||googleads.g.doubleclick.net^
||securepubads.g.doubleclick.net^
||ad.doubleclick.net^
||ad-delivery.net^
||c.amazon-adsystem.com^
||fastlane.rubiconproject.com^
||rubiconproject.com^
||g2.gumgum.com^
||gumgum.com^
||pagead2.googlesyndication.com^
@mogzol
mogzol / Create a bootable USB for Lenovo Yoga Slim 7X.md
Last active November 20, 2026 20:45
Create a bootable USB for Lenovo Yoga Slim 7X

Create a bootable USB for Lenovo Yoga Slim 7X

I originally wrote this as a Reddit comment, but it was deleted (I guess because it has links? idk), so I'm creating this Gist instead to document how I was able to boot the Windows installer on this laptop.

Note that the easiest solution is to just download the recovery media creator from Lenovo's support site, but I wanted to run the stock Windows installer, so this outlines how to do that.


Here are the steps I took to boot the Windows installer on my Lenovo Yoga Slim 7X (with an ARM64 Snapdragon Elite X CPU). I initially tried using Rufus, and while that drive did show up in the boot menu, selecting it would just hang on the YOGA logo forever.

@superopticasmkd
superopticasmkd / InertialBounce.jsx
Created November 20, 2026 20:45 — forked from animoplex/InertialBounce.jsx
Inertial Bounce - After Effects Expression by Animoplex
// Inertial Bounce - Created by Animoplex: www.animoplex.com
// Original Version: http://www.graymachine.com/top-5-effects-expressions/
// Modified expression for a smoother bounce effect and easier editing. Use this on any property with two keyframes to get a nice bounce effect that is based on velocity of the value change. Perfect for a scale from 0 to 100 or a speedy rotation that needs some extra life. Adjust amp, freq and decay values to tweak the effect. Amp is intensity, freq is bounces per second, and decay is the speed of decay, slow to fast.
// Full Tutorial: https://www.youtube.com/watch?v=653lxeVIyoo
amp = 5.0; freq = 2.0; decay = 4.0;
n = 0;
if (numKeys > 0) {
n = nearestKey(time).index;
@animoplex
animoplex / InertialBounce.jsx
Last active November 20, 2026 20:45
Inertial Bounce - After Effects Expression by Animoplex
// Inertial Bounce - Created by Animoplex: www.animoplex.com
// Original Version: http://www.graymachine.com/top-5-effects-expressions/
// Modified expression for a smoother bounce effect and easier editing. Use this on any property with two keyframes to get a nice bounce effect that is based on velocity of the value change. Perfect for a scale from 0 to 100 or a speedy rotation that needs some extra life. Adjust amp, freq and decay values to tweak the effect. Amp is intensity, freq is bounces per second, and decay is the speed of decay, slow to fast.
// Full Tutorial: https://www.youtube.com/watch?v=653lxeVIyoo
amp = 5.0; freq = 2.0; decay = 4.0;
n = 0;
if (numKeys > 0) {
n = nearestKey(time).index;
@whitingx
whitingx / meta-tags.md
Created October 5, 2012 16:41 — forked from kevinSuttle/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>