This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Class() | |
{ | |
this._a = 0; | |
this._max = 0; | |
} | |
Object.defineProperty(Class.prototype, 'a', { | |
get: function() { return this._a; }, | |
set: function(v) { | |
if (v > this._max) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDE0dE8pTVq1nAoFCUPmHAx5xGuuv6bvy9Z73tQ9HFAsrv2GbrL37WUoED1oGAfAN4viJl3uf0O/Gn+ch0oFq8GbWUSG1LI5E8PSKNvQ0oiyErM3l+fZbBfInL9Elb2AkmRjg/9mqZjSS4bz+Os9xfgQ/DsHK2hifYbx+9cSeiQVABZZBXgpgqXwM+9G2jIxHLAj0UgJMbDNZYjSnhBiklv2j24tuErcHXMRf8GfEFwdF6fV3hW0TfPWmY6wsOFtcT6x4sIj+703fJxun1t2+vdcv5LDjPQI4OFUcTaLiY84ImLrGa09WupMpWsnqyOpZwx9v8WKG3wwDu9cuBOkJN2uUaKxwOEXwtLZMkhdknJ76K9aEcy7CkLNmXPKbS8KXrLS14WQIpj+TrcpF6tzSfAdYMp6percgl5/s/kh+ldx+IXk4+P9HMPglKEJdyJTGwGxPSBrElifKXULayd0uH/O22hZOAEftjmiZePFnscBhomKd7aGIbgf6vp7kKm5SO95zrZlunDZemdV5td8lU5InCTV4loZDrkdEjbN9NOKCh0N7ZE0ZEOBaNmlyVdZW5N0zLvL2Vrm6+FDjC0rk9qxKSN42JAnB+tIT2XWeUnB0pr4l3UXu7q9LkxIWyKiDZlaz0L6Fc27tPMC25Gw/rAB+x8NYKaq33gMqwSLdkQFQ== kenneth@docsend.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define __STDC_LIMIT_MACROS | |
#include <stdint.h> | |
#include <string.h> | |
static uint8_t rotl8(uint8_t x, int n) | |
{ | |
return ((x << n) | (x >> (8 - n))) & UINT8_MAX; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// domain 5star probability 1.07 | |
const PROBABILITY = { | |
main_stat: { | |
plume_of_death: { | |
'atk': 1 | |
}, | |
flower_of_life: { | |
'hp': 1 | |
}, | |
sands_of_eon: { |