Skip to content

Instantly share code, notes, and snippets.

View ThYpHo0n's full-sized avatar
🚀

Niklas Grebe ThYpHo0n

🚀
View GitHub Profile
### Keybase proof
I hereby claim:
* I am thypho0n on github.
* I am thyphoon (https://keybase.io/thyphoon) on keybase.
* I have a public key whose fingerprint is D295 03E2 324B FD42 3FB2 46FC 5C7C C0C0 2114 A96D
To claim this, I am signing this object:
# Synced folder configuration
default.vm.synced_folder '../folder1', '/folder2',
type: 'nfs', mount_options: ["nolock"]
default.nfs.map_uid = Process.uid
default.nfs.map_gid = Process.gid
# --- Synced Folder Part --- #
nfs.vm.synced_folder '../folder1', '/folder2',
type: 'nfs', mount_options: ["nolock"]
nfs.nfs.map_uid = Process.uid
nfs.nfs.map_gid = Process.gid
cl_crosshairstyle "2"
cl_crosshair_dynamic_splitdist "4"
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0"
cl_crosshair_drawoutline "0"
cl_crosshair_outlinethickness "0.100000"
cl_crosshairalpha "500" //255
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
@ThYpHo0n
ThYpHo0n / snapcast.rb
Created December 4, 2017 10:12
Snapcast Homebrew formula example
class Snapcast < Formula
desc "Snapcast"
homepage "https://github.com/badaix/snapcast"
url "https://github.com/badaix/snapcast.git", :tag => "v0.12.0", :revision => "331e965a4e83e9fcbbcf44ff0a39bcb96a0a7621"
head "https://github.com/badaix/snapcast", :using => :git, :branch => :master
depends_on "libogg"
depends_on "libvorbis"
depends_on "asio"
depends_on "flac"
@ThYpHo0n
ThYpHo0n / .zshrc
Last active August 5, 2024 01:37
WSL(2) bash profile helpers
# WSL?
if [[ "$(< /proc/sys/kernel/osrelease)" == *microsoft* ]]; then
export $(dbus-launch)
export LIBGL_ALWAYS_INDIRECT=1
export WSL_VERSION=$(wsl.exe -l -v | grep -a '[*]' | sed 's/[^0-9]*//g')
export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -d' ' -f2)
export DISPLAY=$WSL_HOST:0
# pip path if using --user
export PATH=$PATH:$HOME/.local/bin
# SSH