Skip to content

Instantly share code, notes, and snippets.

Place theme files in ~/.k9s/ and create a symlink to the theme you wish to use as the current skin:

ln -s ~/.k9s/theme-to-use.yml ~/.k9s/skin.yml
@eykanal
eykanal / autoscroll.user.js
Last active April 1, 2024 14:34
Automatic scroll to bottom of page in twitter and facebook
// ==UserScript==
// @name AutoScroll
// @namespace https://gist.github.com/eykanal/a0b30e035d8c15995deeffec6ab21866
// @version 0.1
// @description Automatically scroll to the bottom of the page
// @author Eliezer Kanal
// @match https://www.facebook.com/search/str/*
// @match https://twitter.com/search*
// @grant none
// ==/UserScript==
//Postman pre-request Script which generates a SAS token query string.
const storageSasKey = pm.variables.get("storageSasKey");
const storageAccountName = pm.variables.get("storageAccountName");
const storageSasTokenQueryString = createStorageSASTokenQueryString(storageAccountName, storageSasKey);
pm.variables.set("storageSasTokenQueryString", storageSasTokenQueryString);
/**
@xeloader
xeloader / unfollow-all.md
Last active October 15, 2021 04:08
Unfollow everyone on LinkedIn

Unfollow everyone on Social Media

Unfollow everyone on LinkedIn

LinkedIn is even more clickbait than Facebook nowadays. Adios. 💣

Visit https://www.linkedin.com/feed/following/

Scroll down to load all of your contacts

Open developer console, run the following

@shamil
shamil / mount_qcow2.md
Last active July 24, 2024 00:58
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8