Profile
Achievement
scarfboy's Recent Snippets
- All /
« 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
944
posted 16 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
830
posted 16 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
719
posted 16 years ago by scarfboy