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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2012-03-13 | |
# | |
# _______________| keywords : extract keywords from text. | |
# | |
# Usage: keywords [file, -x, -] [postproduction] | |
# # clipboard^ ^stdin (default) | |
# | |
# Example: % keywords foo.txt cat | |
# # or try something like... |
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
/** | |
2012-03-26 Forked from duncanbeevers' sc-dl.js : https://gist.github.com/2157987 | |
**/ | |
(function(document) { | |
var link = document.createElement("a"), | |
span = document.createElement("span"), | |
slug = document.querySelector("#main-content-inner img[class=waveform]").src.match(/\.com\/(.+)\_/)[1], | |
mp3 = document.querySelector("em").innerText + ".mp3"; |
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
#!/usr/bin/env bash | |
# bash 3.2.25(1) Ubuntu 7.10 Date : 2012-02-15 | |
# | |
# _______________| freqy : sort and order lines by frequency of appearance. | |
# | |
# Usage: freqy [optional: file(s)] | |
# | |
# Notes: Will work in a pipe. | |
# Does not alter the file(s) themselves. | |
# |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2012-02-17 | |
# | |
# _______________| digy : tame DNS utility dig with reasonable options. | |
# | |
# Usage: digy [address] [rev|name|short|mail|all|long|longa|who] | |
# | |
# Examples: % digy friendfeed.com | |
# 69.63.180.52 | |
# # default second argument is 'short' |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2012-02-04 | |
# | |
# _______________| lstest : list files by type, optionally show further info. | |
# | |
# Usage: lstest [test flag] [-0|-1|-A|-i|-I|-a] [--count] | |
# | |
# ^attributes | |
# ^terse "stat" | |
# ^info via "stat" |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2012-01-15 | |
# | |
# _______________| country : look-up country ISO code or currency symbol. | |
# | |
# Usage: country [term] ["iso"|"fx"] | |
# where "fx" is foreign exchange, | |
# "iso" is the default option, | |
# term is case-insensitive regular expression. | |
# |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-12-14 | |
# | |
# _______________| prepend : insert text above given line number or pattern. | |
# | |
# Usage: prepend ["text"] [filename=stdin] [linenum=1 OR pattern] | |
# | |
# Example: prepend "TEST1\nTEST2" foo 3 | |
# # insert two test lines above the third line in file foo. | |
# sort foo | prepend "Sorted result:" |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-12-10 | |
# | |
# _______________| flippar : reverse order of paragraph blocks | |
# (delimited by two or more newlines; | |
# last block is exempt from this rule). | |
# | |
# Usage: flippar [filename (pipe acceptable)] | |
# | |
# Dependencies: tac (from package 'coreutils' in main) |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2013-07-11 | |
# | |
# _______________| netspeed : check download speed via command line. | |
# | |
# Usage: netspeed [tokyo, london, usw, use, east, west, URL] | |
# ^default U.S. west coast. | |
# [ -speed_KB/sec ] | |
# ^negation activates the Mbps converter. | |
# |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2019-01-02 | |
# | |
# _______________| noise : ambient Brown noise generator (cf. white noise). | |
# | |
# Usage: noise [minutes=59] [band-pass freq center=1786] [wave] | |
# ^minutes can be any positive integer. | |
# Command "noise 1" will display peak-level meter. | |
# | |
# Dependencies: play (from sox package) |