This file contains 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
báíocht | |
báúil | |
báúlacht | |
bóín | |
buíán | |
búíocht | |
buíóg | |
buíú | |
caíúil | |
caíúlacht |
This file contains 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
Download a video from Vine. | |
Requires a recent version of youtube-dl: https://rg3.github.io/youtube-dl/ | |
Usage example: | |
./dl-vine.sh https://vine.co/v/ig3PwDLpmEL |
This file contains 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
21 = 27.5 Hz // A0, lowest note on piano | |
22 = 29.1352350948806 Hz | |
23 = 30.8677063285078 Hz | |
24 = 32.7031956625748 Hz // C1 | |
25 = 34.647828872109 Hz | |
26 = 36.7080959896759 Hz | |
27 = 38.8908729652601 Hz | |
28 = 41.2034446141087 Hz | |
29 = 43.6535289291255 Hz |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Make an image with some text. Example: | |
./textimg.py -f fonts/SourceCodePro-Regular.otf 'Hello, world.' | |
""" | |
import argparse | |
import subprocess | |
import sys |
This file contains 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
function hman() | |
{ | |
if [ $# -gt 0 ]; then | |
man $@ | man2html | bcat | |
else | |
man | |
return 1 | |
fi | |
} |
This file contains 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/sh | |
bundle exec rubocop |
This file contains 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
> require 'nodaire/indental' | |
# true | |
> source = <<~NDTL | |
NAME | |
KEY : VALUE | |
key : duplicate | |
wrong indent level | |
NDTL |
This file contains 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/sh | |
set -o errexit | |
set -o nounset | |
tile() { | |
printf "%s\033[1B\033[3D%s\033[1B\033[3D%s\033[2A" '╲┴╱' '┤╳├' '╱┬╲' | |
} | |
printf "\033[2J\033[H" |
This file contains 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
avatar-500.png: avatar.png | |
convert avatar.png -unsharp 0x5 -resize 500 avatar-500.png | |
avatar.png: avatar.pdf | |
inkscape -b white -d 100 -o avatar.png avatar.pdf | |
mogrify -flatten -background white avatar.png | |
avatar.pdf: avatar.ps | |
ps2pdf -dEPSCrop avatar.ps |
This file contains 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
%!PS-Adobe-3.0 EPSF-3.0 | |
%%Pages: 1 | |
%%BoundingBox: 0 0 720 720 | |
%%EndComments | |
/inch { 72 mul } def | |
/windistance 1 def | |
/project3d { |
OlderNewer