Using the dirs (bash-builtins(7)) stack to create a playlist for Audacious of two Ubiktune albums I recently purchased off of Bandcamp:
$ dirs -v
0 ~/Music
1 ~/Music/Zackery_Wilson/SNESQUE
2 ~/Music/Joshua_Morse/Waveform_4
$ audacious
| #!/usr/bin/env perl6 | |
| use v6.d; | |
| =begin DESCRIPTION | |
| Given a newline-delimited file of mm/dd/yyyy, write a newline-delimited | |
| file of yyyy-mm-dd. | |
| =end DESCRIPTION |
| #!/bin/bash | |
| while inotifywait \ | |
| --quiet --quiet \ | |
| --recursive \ | |
| --event close_write \ | |
| lib/ @lib/.precomp/ bin/ t/; do \ | |
| clear; \ | |
| prove --exec perl6 --lib --verbose; \ | |
| done |
| #!/bin/sh | |
| vimrc="$HOME/.vimrc" | |
| vim_plugin_dir="$HOME/.vim/plugin" | |
| sensible_plugin='https://raw.githubusercontent.com/tpope/vim-sensible/master/plugin/sensible.vim' | |
| mkdir -p "$vim_plugin_dir" | |
| wget -P "$vim_plugin_dir" "$sensible_plugin" | |
| cat << "EOT" - >> "$vimrc" |
| |---+-------------+--------| | |
| | | Description | Amount | | |
| |---+-------------+--------| | |
| | | Foo | 5.30 | | |
| | | Bar | 3.10 | | |
| |---+-------------+--------| | |
| | # | Total: | 8.40 | | |
| |---+-------------+--------| | |
| #+TBLFM: $3=vsum(@2..@-1);%.2f |
Using the dirs (bash-builtins(7)) stack to create a playlist for Audacious of two Ubiktune albums I recently purchased off of Bandcamp:
$ dirs -v
0 ~/Music
1 ~/Music/Zackery_Wilson/SNESQUE
2 ~/Music/Joshua_Morse/Waveform_4
$ audacious
| # Based on this tutorial: | |
| # http://www.devshed.com/c/a/Perl/Perl-Bit-by-Bit/3/ | |
| # | |
| # This will print: | |
| # | |
| # .--------------------------------. | |
| # | Name | Programmer? | Adult? | | |
| # +---------+-------------+--------+ | |
| # | Bob | Yes | Yes | | |
| # | Alice | No | Yes | |
| /* | |
| This is very crude. | |
| Example usage: | |
| $ node eggtartClient.js \ | |
| 'https://github.com/fcambus/ansiweather' \ | |
| 'fcambus/ansiweather' \ | |
| AnsiWeather CLI weather unicode shell_script github repository-git | |
| null { result: { '$': { code: 'done' } } } |
| $ npm install mocha should journey | |
| $ node_modules/.bin/mocha --ui tdd --reporter tap server.checkHello.test.js | |
| 1..1 | |
| ok 1 Response from /hello URI should return JSON containing "hello" | |
| # tests 1 | |
| # pass 1 | |
| # fail 0 |
| #!/bin/sh | |
| # Try to add GNU readline support to GNU ed | |
| hash rlwrap 2>&- | |
| if (( $? == 0 )); then | |
| exec /usr/bin/rlwrap /bin/ed "$@" | |
| else | |
| exec /bin/ed "$@" | |
| fi |
| #!/bin/bash | |
| # | |
| # By Andrew Grangaard ( http://www.lowlevelmanager.com ) | |
| # inspired by | |
| # svnvimdiff: | |
| # Copyright 2007 by Geoff Buchan | |
| # http://www.vim.org/scripts/script.php?script_id=1797 | |
| # which was | |
| # Based on the script cvsvimdiff, written by | |
| # Stefano Zacchiroli <zack@cs.unibo.it> |