I hereby claim:
- I am dkrutsko on github.
- I am dkrutsko (https://keybase.io/dkrutsko) on keybase.
- I have a public key ASBNrsTzx2CiVNZb72TrzX8NxibTWWSxEoq6UlwcCJuS_wo
To claim this, I am signing this object:
| //////////////////////////////////////////////////////////////////////////////// | |
| // -------------------------------------------------------------------------- // | |
| // // | |
| // Copyright (C) 2013 David Krutsko // | |
| // // | |
| // -------------------------------------------------------------------------- // | |
| //////////////////////////////////////////////////////////////////////////////// | |
| //----------------------------------------------------------------------------// | |
| // Prefaces // |
| void Mystery (PRINTF p) | |
| { | |
| const char text[] = | |
| { | |
| 'H', 'e', 'l', 'l', 'o', ' ', | |
| 'W', 'o', 'r', 'l', 'd', '!', | |
| '\n', '\0', | |
| }; | |
| p (text); |
| ; (function ($, window, document, undefined) | |
| { | |
| "use strict"; | |
| //////////////////////////////////////////////////////////////////////////////// | |
| var PLUGIN_NAME = "passwordMeter"; | |
| //////////////////////////////////////////////////////////////////////////////// |
| // Link with psapi.lib | |
| #define NOMINMAX | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <Windows.h> | |
| #include <Psapi.h> | |
| int main (void) | |
| { |
| template<typename type> | |
| static bool IsStrEq | |
| (const type* a, const type* b) | |
| { | |
| // Handle potential null cases | |
| if (!a || !b) return !a && !b; | |
| // Perform standard comparison | |
| while (*a != '\0' && *a == *b) | |
| { |
I hereby claim:
To claim this, I am signing this object: