Skip to content

Instantly share code, notes, and snippets.

Jon Stout tinwatchman

Block or report user

Report or block tinwatchman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tinwatchman / ko-jquery-hidden.js
Created Apr 27, 2017
Basic Knockout.js 'hidden' binding. Uses jQuery.
View ko-jquery-hidden.js
* Knockout Extension: Hidden
* The inverse of the `visible` binding: hides the element when the observable
* is true, shows it when the observable is false.
* @requires Knockout.js
* @requires jQuery
* @author Jon Stout (
tinwatchman / ko-bootstrap-formState.js
Last active Apr 27, 2017
A Knockout.js extension that adds Bootstrap form validation classes to a form group.
View ko-bootstrap-formState.js
* Knockout Extension: Bootstrap Form State
* Adds Bootstrap form validation classes to a form group; will also display
* a message if provided.
* @requires jQuery
* @requires Bootstrap 3
* @requires Knockout.js
tinwatchman / gist:2d69b6cf32e6b7b06127
Created Jul 29, 2015
A858DE45F56D9BC9 combo file (raw binary in hex as interpreted by Sublime Text 2)
View gist:2d69b6cf32e6b7b06127
da68 66c1 791a a50d 062c 2c50 c444 d1a9
f033 ab80 65e7 0835 4804 2017 d0ce adf5
78c8 da6b 851c b6c2 3faf 869d f52c 8ff4
65c6 255f c4b6 c683 70ac d87e 250f bee3
dd51 b94f 6f17 b36a 46d3 f13b 28e7 f19e
9414 ccba 52c4 b377 9c95 a449 16ef fb46
1955 c7e5 058a b6c4 9fea ea9d 0c4b 45f1
6c24 4992 2bf2 43ea 9da1 c30a adf5 45c3
9628 2fe1 b19e 0938 3a62 d64d 1413 dca5
9bc2 fd09 2143 ff61 69b6 8f64 0929 1b47
tinwatchman / combo.js
Last active Aug 29, 2015
A858DE45F56D9BC9 combo script
View combo.js
var samples = {
"201507252204": "c409c8b91c7910f220ee4981b8df77c4 330dc24548f60c7e00cdcffd971d9ff6 62aab227bf0763900cb3d02a782a1fbb 121a181b6b7a36bb9113c48ed074a8d8 d9bbc89c25018ae1a274b0e660425eb0 fbd42e509a39e767191e6b3b690acaa1 07f8e1f3ae09416e8db60431d1267772 5e571af000d64fd4be6f16e97eab2b7a 3b023dbc640f9e39f0c69a268dcf29b1 ebc6895e8d9ec5e93e57f90efa236d12 e6090053978596e5b632795374df33a7 4f71c3077ceef9e39a3e6088ff2500c8 b73d0d3f17823d88d17e86bbca9b89da 60ff75ac2c022bc916b012bc5065e3c9 b3ca5dba8cbc44facf48999063375750 75d998d66f97f728d6aa8065feefe9dc 6174ae7a779df9ac090c73a7c9ca6581 8c94f5007c74d05ed216531da5b2384e d5d5ca57105b3ff4bceda29131e4ae61 32028e032cdec447fcbf6a9334c07400 483a79c0d62a0dfdca17ae2fd92b9a1a 7189f6aea57ffc4465b401a23bfe090b 5dd473722844c62e98d3087d4007bc20 896aa7dadf5b8c9767b93454feb32096 fbe111d30f80cd323bb9697bd087ea73 39dff0311ea3653d2b3ac900d88e2b81 2864adb1ae7e42de41485a6975c1c9d6 b2a2135b7b0281e302d23a30b1cecc4c 2273a3e7b5c8e95ae389522559b67288 7d5b30a0fc680f2f320401f6f56fa404
tinwatchman / byteToString
Last active Aug 29, 2015
Java function - convert a byte into a binary string
View byteToString
public static String byteToString(byte b) {
byte[] masks = { -128, 64, 32, 16, 8, 4, 2, 1 };
StringBuilder builder = new StringBuilder();
for (byte m : masks) {
if ((b & m) == m) {
} else {
You can’t perform that action at this time.