Skip to content

Instantly share code, notes, and snippets.

View sm-moshi's full-sized avatar

sm_moshi sm-moshi

  • Berlin, Germany
View GitHub Profile
@thesamesam
thesamesam / libxcrypt-migration.md
Last active December 10, 2021 22:39
Migrating a Gentoo install to libxcrypt (OBSOLETE)

This document is oboslete!

Please read the news item and wiki page instead.

Migrating a Gentoo install to libxcrypt

This is a set of instructions for migrating a Gentoo glibc system's libcrypt provider from glibc[crypt] to libxcrypt[system].

See wiki notes for background, etc.

@sarthakpranesh
sarthakpranesh / cleanMacVMs.sh
Last active March 30, 2024 22:29
Debloat Mac OS ( use at your own risk )
# I use MacOS VMs from github for iOS development.
# By no suprise they are a bit slow and have a lot of things I don't use
# Hence this script for lighter and better VM for my iOS development and builds
# GUI and animation related things to tweak
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
defaults write -g QLPanelAnimationDuration -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
defaults write com.apple.dock launchanim -bool false
sudo sysctl debug.lowpri_throttle_enabled=0
@gcarq
gcarq / package.env
Last active February 21, 2022 19:15
Gentoo package.env for global clang-13
# Required to bootstrap LLVM and clang
sys-devel/llvm bootstrap-clang
sys-libs/libcxx bootstrap-clang
sys-libs/libcxxabi bootstrap-clang
sys-libs/compiler-rt bootstrap-clang
sys-libs/compiler-rt-sanitizers bootstrap-clang
sys-libs/llvm-libunwind bootstrap-clang
sys-devel/lld bootstrap-clang
sys-devel/clang bootstrap-clang
@renich
renich / 00-gentoo-installation-partitioning.bash
Last active April 11, 2024 14:48
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories