Setup:
$ mongo
> use pubsub
> db.createCollection('messages', { capped: true, size: 100000 })
> db.messages.insert({})
| /* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
| * http://benalman.com/ | |
| * Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
| (function($) { | |
| var o = $({}); | |
| $.subscribe = function() { | |
| o.on.apply(o, arguments); |
| catt() { sed "s/^[#|;]\+.*$//g" $1 | grep -v "^$"; } |
| <!-- IMAGE BEGINS HERE --> | |
| <font size="1"> | |
| <pre><font color=black>1111111010101101000110001110000000110111000100000110110110001110001110011101100101101000010000100110110011000000110000100000100110</font><br><font color=black>1000010010100100111011001101100111100011001111011101110101101011100100111110100011010100001100010111110000111001101111011001111011</font><br><font color=black>0011000001110000110000101000111000110111110110101100100101111001100010110001010011000000010001110110100100010000100110001001100001</font><br><font color=black>1110100010001110111111111011010010010110001100101011010110100010110001111110110000000000011110101000011011010101110011111011100000</font><br><font color=black>1111001000111010110011001001100000010100111111111010110100110101000010011101000001111110010100100100001001011111001000101000001001</font><br><font color=black>1010010010001110101010110100010110101100100110101000000101100000011001101001101101101110111100110110100000010111110000011101110110</font><br><font color=black>1010 |
ssh-srv-wrapper is bash shell script which tries to find a SSH SRV record for the first host and uses what is found rather than what was passed (if a valid record is found).
Run the script directly or feel free to rename or symlink to the name ssh. It will look for another ssh in your path to execute.
| ! ~/.Xmodmap | |
| ! xmodmap -pke | egrep '(Control|Super|Alt|Menu)' | |
| ! Use to set keycodes correctly below. List reordered to match | |
| ! keys from left to right. | |
| ! First clear all modifiers, caps lock & control | |
| clear lock | |
| clear control | |
| clear mod1 |
| var isPulse=true; | |
| function heartbeat(){ | |
| if(isPulse){ | |
| var hb = setTimeout(heartbeat, seconds*1000); | |
| //process stuff here | |
| //isPulse can be whatever you want. | |
| //It just needs to be something that will stop the recursive loop--an error condition, perhaps. |
| #!/bin/bash | |
| ############################################################################### | |
| # | |
| # renamemp3 - Version 1.0 | |
| # Copyrighted (c)2013 Dwight Spencer (@denzuko) <[email protected]> | |
| # All Rights Reserved. Licenced under OSI MIT licence. | |
| # | |
| # renames files in a directory given by parameters to append '.mp3' | |
| # | |
| ############################################################################### |
| gem 'coderay', require: false | |
| gem 'slop', require: false | |
| gem 'method_source', require: false | |
| gem 'pry', require: false | |
| gem 'yard', require: false | |
| gem 'pry-doc', require: false | |
| gem 'columnize', require: false | |
| gem 'debugger-ruby_core_source', require: false | |
| gem 'debugger-linecache', require: false | |
| gem 'debugger', require: false |
| #!/usr/bin/env python | |
| import re | |
| import hashlib | |
| import Queue | |
| from random import choice | |
| import threading | |
| import time | |
| import urllib2 | |
| import sys | |
| import socket |