Skip to content

Instantly share code, notes, and snippets.

View fearphage's full-sized avatar
Cache rules everything around me.

Phred Lane fearphage

Cache rules everything around me.
View GitHub Profile
fearphage /
Last active August 22, 2022 21:08
Modifying Archidekt to add some convenience functionality

Archidekt Enhancements

Current Functionality

Quick Add

  1. Enter selects the first element in the dropdown.
  2. Ctrl-Enter adds the selected card to the maybeboard.
  3. Shift-Enter adds the selected card to the sideboard.
fearphage /
Created January 24, 2020 16:02
Command Line Audio Playlist
# Requirements: dialog mpv
# Optional: youtube-dl wget hq
# Arguments: none
# Changelog:
# > + from function to standalone script
# + menu stack for saving previous menu command
# + choices stack for saving previous menu choice
fearphage /
Created December 30, 2019 04:07 — forked from jexchan/
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C ""
# Python/Django files
# Folder view configuration files
# Thumbnail cache files
fearphage /
Created September 11, 2019 17:26
Collection of shell functions wrapping the Azure CLI


Returns a property value of a resource passing additional params as needed.


az-get <resource> <property> [additional params]
fearphage /
Created July 10, 2019 11:59
Does mapfile work on a mac?
#!/usr/bin/env bash
mapfile -t meh < <(ps -ax)
echo "found ${#meh[@]} processes"
fearphage / expire-emails.js
Created October 2, 2018 20:34
Archives (removes from inbox) emails tagged with "expires" tag that are more than 10 days old
// The name of the Gmail Label to expire
var GMAIL_LABEL = 'expires';
// Archive messages automatically after N days
var EXPIRE_AFTER = '10';
fearphage /
Created June 15, 2018 16:20
Sends content before and after another stream

Below you will find the contents of some-file.txt:

just a file

That's all folks!

fearphage /
Created May 23, 2018 04:38 — forked from ruario/
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library

How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library


The following is a quick guide to get this working on various Linux distros. As a side note, if you have Chrome installed alongside Vivaldi, Netflix should also work after making these changes. Alternatively, use my to fetch and extract Chrome's copy of Widevine, so that it can be used by Vivaldi.

If you don't have working Flash video and need that in addition, please refer to these instructions.

Note: This guide is primarrily aimed at users of Vivaldi stable releases. If it does not solve your issues, read this in addition.

fearphage / userstyle_jsonview.css
Created June 18, 2017 18:35 — forked from lennybacon/userstyle_jsonview.css
Dark Theme for Firefox/Chrome add-ons JSON View ( and JSON Formatter ( by using the add-on Stylish (
div#json, div#jfContent{
margin: 0;
padding: 20px;
background: #191919;
color: #C4BD97;
position: fixed;