scarfboy


Member since 07/17/2008

4 snippets

1199 profile views

1 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

scarfboy's Recent Snippets



« Prev 1 Next »
Assumes logs are in /var/log/sshd/* and makes a few text format assumptions that probably make this specific to OpenSSH. Simple, but more than you can see from a quick less.
3 756 posted 15 years ago by scarfboy
Useful when creating canonical forms of strings for indexing.
0 579 posted 15 years ago by scarfboy
There is no standard for this at all - this just looks for the hooks that exist in IE and gecko-type browsers. See also http://msdn.microsoft.com/en-us/library/ms535926(VS.85).aspx and http://developer.mozilla.org/en/docs/DOM:window.sidebar
3 658 posted 15 years ago by scarfboy
Exploits hash keys uniqueness, but in doing so effectively toString()s everything, meaning this should not be used for much beyond strings and perhaps integers. I used this when I wanted to do some client-side filtering of (integer) identifiers.
1 551 posted 15 years ago by scarfboy
« Prev 1 Next »