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 bash | |
# bash 4.3.11(1) Linux 3.13.0 git 1.9.1 Date : 2018-01-12 | |
# | |
# _______________| git-logur : get log of GitHub repo without cloning. | |
# | |
# Usage: $ git-logur [username] [repository] [-m|-c|-v] | |
# # Format defaults to messages -m, else | |
# # -c for concise text, or -v for verbose json. | |
# # Concise includes author and committer, with timestamps. | |
# |
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 bash | |
# bash 4.3.11(1) Linux 3.13.0 git 1.9.1 Date : 2017-08-14 | |
# | |
# _______________| git-lu : get last commit date for file(s) | |
# since git can change OS file modification times! | |
# | |
# Usage: git lu [filename(s), wildcards optional] | |
# | |
# Example: $ git lu *.ipynb # SAMPLE OUTPUT FORMATTING | |
# 0000-00-00 _Not_committed _No_SHA 00-tpl-v4.ipynb |
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 python | |
# vim: set fileencoding=utf-8 ff=unix tw=78 ai syn=python : per PEP 0263 | |
# python 2.7.13 under Linux Ubuntu 14.04 Date : 2017-02-02 | |
# IPython 5.1.0 from Anaconda distribution | |
# | |
# _______________| ipython_config.py : custom config file | |
# | |
''' | |
CHANGE LOG Latest config version, see https://git.io/ipython_config.py |
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
# To minimize bugs, include this comment: | |
# | |
# | |
# _oo0oo_ | |
# o8888888o | |
# 88" . "88 | |
# (| -_- |) | |
# 0\ = /0 | |
# ___/`---'\___ | |
# .' \| |// '. |
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 bash | |
# bash 4.2.24(1) Linux Ubuntu 12.04 Date : 2013-12-23 | |
# | |
# _______________| dirt : display tree size structure of directory hierarchy. | |
# | |
# Usage: dirt [directory=.] [indent_character=" "] | |
# | |
# Dependencies: None | |
# [ Note: full-featured "tree" is an available Ubuntu package: | |
# http://manpages.ubuntu.com/manpages/trusty/man1/tree.1.html |
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 bash | |
# bash 4.2.24(1) Linux Ubuntu 12.04 Date : 2013-10-19 | |
# | |
# _______________| randout : readable random output from system kernel. | |
# | |
# Usage: randout [bytes=512] [--TYPE] [characters/line] | |
# Types: space, graph, mime, url, alpha, alnum, alnoo, | |
# lonum, hex, digit (see case below for details). | |
# | |
# Examples: # Default type is --digit (but --hex is also available): |
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(a){var b,c,d,e=$(".sound"),f=require("config").get("client_id"),g=require("lib/connect").getAuthToken(),h=require("lib/helpers/conversion-helper"),i,j,k,l,m;for(b=e.length-1;b>=0;b--){c=$(e[b]);if(0==c.find(".sc-button-download").length){var n="https://soundcloud.com"+(c.find(".soundTitle__title").attr("href")||a.location.pathname);k={url:n,client_id:f},m=function(a){return function(b){var c={client_id:f};l=require("lib/url").stringify({query:c},b.stream_url+".mp3"),d=a.find(".sound__soundActions .sc-button-group"),j=d.find(".sc-button:first")[0].className.match(/sc-button-((?:small)|(?:medium))/)[1],i=$('<a class="sc-button sc-button-download sc-button-icon sc-button-responsive">Download</a>').attr({title:"Download this sound ("+h.bytesToMB(b.original_content_size)+")",href:l}).addClass("sc-button-"+j),d.append(i)}}(c),$.getJSON("http://api.soundcloud.com/resolve.json",k).success(m)}}})(window) |
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 bash | |
vlc "$( shuf -n1 - <<HearMusic | |
http://205.188.215.225:8018/listen.pls | |
http://listen.di.fm/public3/trance.pls | |
http://listen.di.fm/public3/vocaltrance.pls | |
http://listen.di.fm/public3/chilloutdreams.pls | |
http://listen.di.fm/public3/eurodance.pls | |
http://listen.di.fm/public3/club.pls | |
http://listen.di.fm/public3/electro.pls |
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 bash | |
# bash 4.2.24(1) Linux Ubuntu 12.04 Date : 2012-09-21 | |
# | |
# _______________| jpilotsudo : help sync Palm device with jpilot. | |
# | |
# Usage: jpilotsudo # requires sudo access. | |
# | |
# Dependencies: jpilot | |
# | |
# Error Message to be resolved: |
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 bash | |
# bash 4.2.24(1) Linux Ubuntu 12.04 Date : 2012-09-13 | |
# | |
# _______________| aw : use awk as quick custom calculator on command line. | |
# | |
# Usage: aw 'expression' [decimal/sig:8] [format:g] | |
# aw bak # show log file of previous result. | |
# | |
# | |
# User-defined: r = random number strictly between 0 and 1, |
NewerOlder