Skip to content

Instantly share code, notes, and snippets.

View Nate-Wilkins's full-sized avatar
🐧

Nate-Wilkins Nate-Wilkins

🐧
View GitHub Profile
@Nate-Wilkins
Nate-Wilkins / spotify_ad_muter.userscript
Last active October 15, 2023 03:11
spotify_ad_muter.userscript
// ==UserScript==
// @name CodeNull - Spotify Ad Muter
// @author [email protected]
// @version 4.0
// @namespace http://tampermonkey.net/
// @description Detects and blocks ads on Spotify. Automatically mute Spotify ads. Turn sound on again after the ad.
// @match https://*.spotify.com/*
// @grant none
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=spotify.com
@Nate-Wilkins
Nate-Wilkins / youtube_ad_muter.userscript
Last active October 15, 2023 03:12
youtube_ad_muter.userscript
// ==UserScript==
// @name CodeNull - YouTube Videos Ad Muter
// @author [email protected]
// @version 4.0
// @namespace http://tampermonkey.net/
// @description Detects and blocks ads on YouTube Videos. Automatically mute ads. Turn sound on again after the ad.
// @match https://www.youtube.com/*
// @grant none
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
@Nate-Wilkins
Nate-Wilkins / amazon_prime_ad_muter.userscript
Last active February 22, 2024 00:07
amazon_prime_muter.userscript
// ==UserScript==
// @name CodeNull - Amazone Prime Video Ad Muter
// @author [email protected]
// @version 4.0
// @namespace http://tampermonkey.net/
// @description Detects and blocks ads on Amazon Prime Video. Automatically mute ads. Turn sound on again after the ad.
// @match https://www.amazon.com/gp/video/*
// @grant none
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com
@alexellis
alexellis / k8s-pi.md
Last active September 24, 2024 14:36
K8s on Raspbian
@TerribleDev
TerribleDev / Program.cs
Last active January 13, 2019 20:57
parsing args in dotnet core
public static void Main(string[] args)
{
var app = new Microsoft.Extensions.CommandLineUtils.CommandLineApplication();
var catapult = app.Command("catapult", config => {
config.OnExecute(()=>{
config.ShowHelp(); //show help for catapult
return 1; //return error since we didn't do anything
});
config.HelpOption("-? | -h | --help"); //show help on --help
});
@IlyaFinkelshteyn
IlyaFinkelshteyn / StartBuildPassEnvVar.ps1
Created October 4, 2016 17:34
Start appveyor build with API and pass value for Environment Variable
Param([string]$myVar )
$token = '<API_Token>'
$headers = @{
"Authorization" = "Bearer $token"
"Content-type" = "application/json"
}
$body = @{
@lornajane
lornajane / mac.md
Last active November 14, 2024 19:33
Keyboard Only OS X

Keyboard-only Mac Cheatsheet

Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)

Apps List

There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful

Tool Link Comments
@olih
olih / jq-cheetsheet.md
Last active November 4, 2024 05:44
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window

Wallpapers

Install with git git clone https://gist.github.com/85942af486eb79118467.git ~/Pictures/wallpapers