Skip to content

Instantly share code, notes, and snippets.

kernelPackages = pkgs.linuxPackagesFor
(pkgs.linux_testing.override {
argsOverride = rec {
src = pkgs.fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "sha256-zeHvEipSGZ3Db9oLoRJ9u7k2wWhwJO9iCdHwaN4mdOA=";
};
version = "5.14-rc7";
modDirVersion = "5.14.0-rc7";
};
#!/usr/bin/env bash
# bw git-credential helper
# Based on https://github.com/lastpass/lastpass-cli/blob/master/contrib/examples/git-credential-lastpass
# A credential helper for git to retrieve usernames and passwords from bw.
# For general usage, see https://git-scm.com/docs/gitcredentials.
# Here's a quick version:
# 1. Put this somewhere in your path.
# 2. git config --global credential.helper bw
order = ["cpu_load", "network", "battery", "audio", "time"]
separator = " · "
[audio]
control = "Master"
mute = "MUTE"
template = "{ICO} {VOL}%"
icons = ["奄", "奔", "墳"]
[battery]
export http_proxy
export https_proxy
export ftp_prox
export no_proxy
export HTTPS_PROXY
export HTTPS_PROXY
export FTP_PROX
export NO_PROXY
".config/tmuxinator/default.yml" = {
text = ''
name: default
startup_window: 1
root: ~/Sources/github.com/elastio
windows:
- work-editor:
panes:
- nvim
apt update
apt install htop -y
apt install dnsutils -y
apt install docker -y
apt install jq -y
apt install kubetail -y
apt install neovim -y
apt install tmux -y
curl -sfL https://get.k3s.io | sh -
curl -sS https://webinstall.dev/k9s | bash
{
"colors": {
"primary": {
"background": "#000000"
}
},
"font": {
"bold": {
"family": "Hack Nerd Font Mono"
},
@ivankovnatsky
ivankovnatsky / split_keyboards.md
Created July 11, 2022 05:51 — forked from itod/split_keyboards.md
Every "split" mechanical keyboard currently being sold that I know of
# Ubuntu 20.10 and newer
sudo apt-get -y update
sudo apt-get -y install podman neovim sysstat
# Ubuntu 22.04
cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# Specify the preferences directory
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.iterm2"
# Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true