Skip to content

Instantly share code, notes, and snippets.

View NickLarsenNZ's full-sized avatar
🦀

Nick NickLarsenNZ

🦀
View GitHub Profile
@amanusk
amanusk / display.sh
Last active August 7, 2023 01:46
Easily change between laptop and external displays in i3 + dmenu
#!/bin/bash
# This script is intended to make switching between laptop and external displays easier when using i3+dmenu
# To run this script, map it to some shortcut in your i3 config, e.g:
# bindsym $mod+p exec --no-startup-id $config/display.sh
@xypnox
xypnox / compton.conf
Created October 11, 2018 16:58
Compton Configuration file
fading = true; # Fade windows during opacity changes.
inactive-opacity = 0.8;
active-opacity = 0.9;
opacity-rule = [
"99:class_g = 'Firefox'",
"99:class_g = 'eom'"
];
@babakness
babakness / disable-back-gesture-on-mac-by-browser.md
Last active May 18, 2025 10:16
A list of commands to disable the back gesture for Chrome, FireFox, Brave, and Safari

When working with online editor, the back gesture on a Mac can become very frustrating. Here are some helpful commands disable the back gesture:

# Disable back gesture in specific apps

# Chrome
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
# FireFox
defaults write org.mozilla.firefox AppleEnableSwipeNavigateWithScrolls -bool FALSE
# Brave
@EronWright
EronWright / ca-certificate.ts
Last active January 28, 2022 15:26
Generate a CA Certificate using Pulumi
/*
Copyright (c) 2020 StreamNative. All rights reserved.
This work is licensed under the terms of the MIT license.
For a copy, see <https://opensource.org/licenses/MIT>.
*/
import * as pulumi from "@pulumi/pulumi";
import * as tls from "@pulumi/tls";
@jdah
jdah / .vimrc
Created June 14, 2021 11:54
jdh's NeoVim .vimrc
call plug#begin()
Plug 'drewtempelmeyer/palenight.vim'
Plug 'vim-airline/vim-airline'
Plug 'wlangstroth/vim-racket'
Plug 'sheerun/vim-polyglot'
Plug 'rust-lang/rust.vim'
Plug 'preservim/tagbar'
Plug 'universal-ctags/ctags'
Plug 'luochen1990/rainbow'
Plug 'vim-syntastic/syntastic'
@soenkeliebau
soenkeliebau / k8ssearch.yaml
Created November 9, 2023 17:27
Example of manually provisioning certificates via the secret operator k8ssearch backend
# Secretclass for use by NiFi because we cannot yet rename it there
---
apiVersion: secrets.stackable.tech/v1alpha1
kind: SecretClass
metadata:
namespace: nifi-test
name: tls
spec:
backend:
k8sSearch: