Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
AntonFriberg / README.md
Last active December 2, 2025 21:09
How to install and configure a basic Hyprland setup on Ubuntu 24.04 using Nix and Home Manager

Hyprland on Ubuntu 24.04

Hyprland is not available by default on Ubuntu 24.04 so instead we can utilize the Nix package manager and Home Manager.

Nix

The benefit of the Nix package manager compared to others in this case is that the package and dependencies of Nix packages is immutable and self contained. This means that the entire setup is contained to a separate /nix

@ab007shetty
ab007shetty / css-reset.css
Created June 30, 2021 15:08
Remove Default CSS styles of Browser
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
@HerrCraziDev
HerrCraziDev / hoverslam.ks
Created January 6, 2018 17:34
Script for performing an hoverslam (aka. suicide burn) in KSP, like SpaceX's rockets. Uses the mod kOS. Start the script on the launchpad, and launch the rocket normally. It will automatically handle the descent and landing for you.
parameter defaultRadarOffset is 7, gearDeployTime is 6.
clearscreen.
print "*****************************".
print "* FAITO Aerospace *".
print "* XASR-3.1 Autolander Pilot *".
print "* © Empire of Fegeland, 2055*".
print "*****************************".
if defaultRadarOffset <> 7
@yurydelendik
yurydelendik / !wasmllvm.md
Last active September 9, 2025 17:33
Using WebAssembly in LLVM

NOTE: the content is out-of-date. All development is moved to the https://github.com/yurydelendik/wasmception

Using WebAssembly in LLVM

Compiling

# locations, e.g.
export WORKDIR=~/llvmwasm; mkdir -p $WORKDIR
export INSTALLDIR=$WORKDIR