Skip to content

Instantly share code, notes, and snippets.

View drylucidity's full-sized avatar

Jop Roskam drylucidity

View GitHub Profile
@junegunn
junegunn / vimawesome.vim
Last active September 2, 2025 05:06
Plugin completion using VimAwesome API
" ----------------------------------------------------------------------------
" vimawesome.com
" ----------------------------------------------------------------------------
function! VimAwesomeComplete() abort
let prefix = matchstr(strpart(getline('.'), 0, col('.') - 1), '[.a-zA-Z0-9_/-]*$')
echohl WarningMsg
echo 'Downloading plugin list from VimAwesome'
echohl None
ruby << EOF
require 'json'
anonymous
anonymous / prompt_jemhuntr_setup
Created January 29, 2016 11:20
#
# A ZSH theme inspired by paradox and agnoster themes,
# supercharged with FontAwesome icons.
#
# This theme requires a patched Powerline font. You will also need to
# have FontAwesome set as default fallback font.
#
# Authors:
# Jerome Indefenzo <[email protected]>
@huytd
huytd / PowerLineBottomURL.css
Last active February 15, 2020 01:31
Mod for Firefox
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*
Author: Twily
Description: Minimal flat styled tabs for Australis
Compitability: Firefox Nightly v31.0a1 - v32.0a1 (Australis)
CSS Variables were introduced to Firefox in v29.0a1
Website: http://twily.info/
License: CC BY-NC-SA
// ==UserScript==
// @name ViewTube
// @version 2017.02.20
// @description Watch videos from video sharing websites without Flash Player.
// @author sebaro
// @namespace http://isebaro.com/viewtube
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @downloadURL https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.user.js
// @updateURL https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.user.js
// @icon https://raw.githubusercontent.com/sebaro/viewtube/master/viewtube.png
$ cat t.py
from pprint import pprint
from pytheory import Tone, Fretboard, charts_for_fretboard


tones = (
    Tone.from_string("F2"),
    Tone.from_string("C3"),
    Tone.from_string("G3"),

Tone.from_string("D4"),

# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history