Skip to content

Instantly share code, notes, and snippets.


Tony Crisci acrisci

View GitHub Profile
acrisci /
Last active Aug 3, 2020
A helper script to set a default media player in Linux
#!/usr/bin/env bash
help_string=$(cat <<EOF
Usage: $0 [-h|-l] APPLICATION
Set a video player as the default.
# List candidate desktop files for media players.
acrisci / HtmlPaste.vim
Last active Dec 27, 2015
Share your vim buffer with others easily with your own personal pastebin-like system.
View HtmlPaste.vim
" Personal Pastebin
" Based on <>
com! -range=% HtmlPaste <line1>,<line2>call HtmlPaste()
noremap <silent> gH :HtmlPaste<cr>
fun! HtmlPaste() range
" *********
" Settings
let localPaste = "~/projects/octopress/source/paste"
let remotePublic = ""