Go here for the real thing, I put it in it's own repository now...
http://github.com/evaryont/bin/blob/master/ssh-intercept
Go here for the real thing, I put it in it's own repository now...
http://github.com/evaryont/bin/blob/master/ssh-intercept
| dmenu-4.0-2 0.01 | |
| luafilesystem-1.5.0-1 0.01 | |
| mime-types-1.0-3 0.01 | |
| pacpan-2010.04.11.1-1 0.01 | |
| pm-quirks-0.20100316-1 0.01 | |
| which-2.20-3 0.01 | |
| perl-common-sense-3.2-1 0.02 | |
| pkgtools-18-1 0.02 | |
| kdenetwork-kdnssd-4.4.2-2 0.03 | |
| pm-utils-1.3.0-2 0.03 |
| // ==UserScript== | |
| // @name Github news feed minimizer | |
| // @namespace evaryont.me | |
| // @include https://github.com/ | |
| // @include https://github.com/dashboard/yours | |
| // @datecreated 2010-04-22 | |
| // @version 0.1 | |
| // @author Colin 'Evaryont' Shea | |
| // @license MIT | |
| // @description Do many little things, but overall, make the whole page a lot better. |
| # Maintainer: Gaetan Bisson <[email protected]> | |
| # Edited by Colin Shea <[email protected]> | |
| # --- | |
| # Remember to remove the `.sh' from the filename. it's there to help Gist | |
| # syntax highlight this whole shebang. | |
| # | |
| # See my blog post for more info: http://mindtables.heroku.com/2010/05/18/compiling-jabberd-2-on-arch/ | |
| pkgname=jabberd2 | |
| pkgver=2.2.9 |
| #!/usr/bin/ruby | |
| # A simple CLI client to save images to imgfave.com | |
| # It's kind of like an undocumented API but that doesn't matter so much, right? | |
| # They've hit inertia beyond what they can easily manage. This so-called 'API' | |
| # will be available for a good while anyways. | |
| require 'net/http' | |
| # 3 parameters passed. |
| [url "ssh://[email protected]/"] | |
| ; What to substitute when pushing | |
| pushInsteadOf = gh: | |
| ; What to substitute when pulling/cloning | |
| insteadOf = gh: | |
| ; Inspired by KDE's config. |
| fs.file-max = 65535 | |
| fs.inode-max = 32768 | |
| fs.suid_dumpable = 0 | |
| kernel.core_uses_pid = 1 | |
| kernel.exec-shield = 1 | |
| kernel.maps_protect = 1 | |
| kernel.msgmax = 65536 | |
| kernel.msgmnb = 65536 | |
| kernel.panic = 30 | |
| kernel.panic_on_oops = 30 |
| wget http://URL/BIG_FILE -O/dev/null 2>&1 1>/dev/null | awk '/^ / { speed=$8 } /^\d/ { speed = $7 } { if (NR % 500 == 0) { print "\n" } if (index($speed, "M")) { print substr($speed, 1, index($speed, "M")-1)*1024 } else if (index($speed, "K")) { print substr($speed, 1, index($speed, "K")-1) } else { print 0 } }' | tr '\n' ',' | sed "s/,,/\n/g;s/^,//" > speeds.csv |
| --- | |
| :blue: "#3465A4" | |
| :cyan: "#06989A" | |
| :green: "#4E9A06" | |
| :bright_red: "#EF2929" | |
| :bright_yellow: "#FCE94F" | |
| :bright_purple: "#AD7FA8" | |
| :bright_white: "#EEEEEC" | |
| :red: "#CC0000" | |
| :yellow: "#C4A000" |
| $ puppet apply truthy.pp | |
| "0" is truthy! | |
| /Stage[main]//Notify["0" is truthy!]/message: defined 'message' as '"0" is truthy!' | |
| 1 is truthy! | |
| /Stage[main]//Notify[1 is truthy!]/message: defined 'message' as '1 is truthy!' | |
| 0 is truthy! | |
| /Stage[main]//Notify[0 is truthy!]/message: defined 'message' as '0 is truthy!' | |
| Finished catalog run in 0.17 seconds |