This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- sh -*- | |
# | |
# Original plugin: https://gist.github.com/vvicaretti/cb4b2e27dadaf458eb3bc4ac215cf5fd | |
# Changes: | |
# - Made lookup case-insensitive | |
# | |
# [Pass](https://www.passwordstore.org/) | |
# the standard unix password manager | |
# [zaw](https://github.com/zsh-users/zaw) | |
# zsh anything.el-like widget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "imiric.id" is my Blockstack ID. https://onename.com/imiric |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Main credit goes to joostrijneveld on github: | |
# Ref: https://gist.github.com/joostrijneveld/59ab61faa21910c8434c | |
# adopted to "I want to have a pdf with a textual AND QR key to directly | |
# print it and put it in the bank safe" needs by Jan Stuehler, | |
# 2015-10-05. | |
if [ $# -lt 2 ] | |
then | |
echo "Please specify [Key ID] and an arbitrary [Name]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Tomorrow Night Global theme https://github.com/chriskempson/vim-tomorrow-theme adapted from Solarized Dark Everywhere. | |
* | |
* thttps://userstyles.org/styles/118481/tomorrow-night-global | |
* by Hafiz Shafruddin @ gmhafiz | |
* update 2015 Sep 16 | |
* | |
*/ | |
@namespace url(http://www.w3.org/1999/xhtml); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Author: Douglas Creager <[email protected]> | |
# This file is placed into the public domain. | |
# Calculates the current version number. If possible, this is the | |
# output of “git describe”, modified to conform to the versioning | |
# scheme that setuptools uses. If “git describe” returns an error | |
# (most likely because we're in an unpacked copy of a release tarball, | |
# rather than in a git working copy), then we fall back on reading the | |
# contents of the RELEASE-VERSION file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Hosted Zone ID e.g. BJBK35SKMM9OE | |
ZONEID="enter zone id here" | |
# The CNAME you want to update e.g. hello.example.com | |
RECORDSET="enter cname here" | |
# More advanced options below | |
# The Time-To-Live of this recordset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .vimrc | |
" See: http://vimdoc.sourceforge.net/htmldoc/options.html for details | |
" For multi-byte character support (CJK support, for example): | |
set fileencodings=ucs-bom,utf-8,cp936,big5,euc-jp,euc-kr,gb18030,latin1 | |
set nocompatible " be iMproved | |
set nocompatible " be iMproved | |
set pastetoggle=<F2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Split a FLAC file (including HD/96kHz) into individual files using a cue sheet | |
# Source: http://unix.stackexchange.com/a/63976/44047 | |
cue_file="$1" | |
aud_file="$2" | |
time[0]="00:00.00" | |
c=1 | |
for ts in $(cuebreakpoints "${cue_file}"); do | |
time[${c}]=${ts} | |
c=$((c+1)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo pacman -Syu | |
:: Synchronizing package databases... | |
core 107.0 KiB 154K/s 00:01 [######################################################################] 100% | |
extra 1531.8 KiB 509K/s 00:03 [######################################################################] 100% | |
community 2.1 MiB 491K/s 00:04 [######################################################################] 100% | |
multilib 112.1 KiB 162K/s 00:01 [######################################################################] 100% | |
pfkernel 10.0 KiB 1111K/s 00:00 [##################################################################### |