id | summary | categories | tags | difficulty | status |
---|---|---|---|---|---|
tutorial-guidelines |
A summary tutorial description. Remember the content of it (as the title) is searchable. It should be around 26 words. |
snapcraft |
tutorial,guidelines,snap |
2 |
Published |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name anti key-grabber | |
// @description Prevent web apps from capturing and muting vital keyboard shortcuts | |
// @grant none | |
// @version 1.2 | |
// ==/UserScript== | |
(function(){ | |
var isMac = unsafeWindow.navigator.oscpu.toLowerCase().contains("mac os x"); | |
unsafeWindow.document.addEventListener('keydown', function(e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Trello - Next User | |
// @namespace [email protected] | |
// @include https://trello.com/b/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
window.addEventListener('load', function() { |
UI tweaks
Partly needed to make Tree Style tabs look nicer
Edit in: [your_ffox_profile_dir]/chrome/userChrome.css
Tree Style tab tweaks: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules
Visit the official information for installing Minikube: https://kubernetes.io/docs/tasks/tools/install-minikube/
You need to install Virtualbox, Minikube, and kubectl.
Once installed, run:
minikube start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost:8443 | |
tls self_signed | |
#root build/ | |
#rewrite / /es6-unbundled/index.html | |
proxy / http://localhost:8080 { | |
transparent | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export name="xenial-maas" | |
lxc init -p maas ubuntu:16.04 "${name}" | |
lxc config set "${name}" raw.idmap "both $(id -u) 1000" | |
lxc config device add "${name}" maas-src disk source="$(pwd)" path=/src/maas | |
lxc start "${name}" | |
lxc exec "${name}" --env=HOME=/src/maas -- sudo --login --user ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name My Kittens Game tweaks | |
// @namespace https://gist.github.com/WillMoggridge/133c22444caaa4cc3f2a5536e9621a37 | |
// @description Kittens! | |
// @include *bloodrizer.ru/games/kittens/* | |
// @version 1.0.0 | |
// @grant none | |
// ==/UserScript== | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This looks like a useful resource: | |
# https://gist.github.com/so0k/42313dbb3b547a0f51a547bb968696ba | |
# Kubetail looks useful for watching multiple node logs | |
# https://github.com/johanhaleby/kubetail | |
# List everything for app label - seems to list items twice and is a bit too wide (with -o wide) | |
kubectl get all -l app=a.website.com -o wide | |
# List pods related to app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/pulseaudio -nF | |
.include /etc/pulse/default.pa | |
# Focusrite Scarlett 2i2 USB | |
load-module module-remap-source source_name=scarlett_1 source_properties="device.description='Scarlett 2i2 Channel 1'" remix=no master=alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo channels=2 channel_map=left,right master_channel_map=left,left | |
load-module module-remap-source source_name=scarlett_2 source_properties="device.description='Scarlett 2i2 Channel 2'" remix=no master=alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo channels=2 channel_map=left,right master_channel_map=right,right | |
# set-default-sink alsa_output.pci-0000_09_04.0.analog-stereo.monitor | |
# set-default-source scarlett_1 |
OlderNewer