I hereby claim:
- I am expelledboy on github.
- I am expelledboy (https://keybase.io/expelledboy) on keybase.
- I have a public key ASCtq1ZGGCeKJzCsoHVl4I-gwxyI1hoMZzfb8yZgvaoZ4Ao
To claim this, I am signing this object:
if !filereadable(expand('~/.vim/plugin/source.vim')) | |
silent !curl -fLo ~/.vim/plugin/source.vim --create-dirs https://raw.githubusercontent.com/suderman/source.vim/master/plugin/source.vim | |
endif | |
" load config from gists :D | |
runtime plugin/source.vim | |
Source https://gist.githubusercontent.com/expelledboy/20d2b1a63d8d44e95016/raw/cbe125eb002ccbca86f74474510219b03ddf590a/backups.vim |
#!/bin/bash | |
# !!WARNING!! | |
# This will DELETE all efforts you have put into configuring nix | |
# Have a look through everything that gets deleted / copied over | |
nix-env -e '.*' | |
rm -rf $HOME/.nix-* | |
rm -rf $HOME/.config/nixpkgs |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash -eou pipefail | |
# https://www.backblaze.com/blog/how-many-bytes-are-in-a-megabyte-really/ | |
size_limit=$((2 * 2**20)) # 2mbs | |
# https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---disk-usage | |
commit_size=$(git rev-list --disk-usage HEAD^..HEAD) | |
test "$commit_size" -lt "$size_limit" || ( | |
echo "Commit size is too large: $commit_size > $size_limit" | |
echo "Force commit using --no-verify" |
#!/usr/bin/env sh | |
NAME=${1:-World} | |
echo "Hello, ${NAME}!" |
# Install nix | |
# https://determinate.systems/nix-installer | |
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate | |
# Enable nix command (flakes already enabled for nix >= 2.4.0) | |
mkdir -p ~/.config/nix | |
echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf | |
cat ~/.config/nix/nix.conf |