I hereby claim:
- I am azharkhan on github.
- I am azhar (https://keybase.io/azhar) on keybase.
- I have a public key whose fingerprint is 17C4 A389 7E7D 20B2 651A 9554 22B1 CC87 6D6B BB74
To claim this, I am signing this object:
| grep -nr yourString* . |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Returns a random number between min and max | |
| */ | |
| function getRandomArbitary (min, max) { | |
| return Math.random() * (max - min) + min; | |
| } | |
| /** | |
| * Returns a random integer between min and max | |
| * Using Math.round() will give you a non-uniform distribution! |
| Verifying I am +azhar on my passcard. https://onename.com/azhar |
| const user = { | |
| t: '', | |
| companyName: 'SkyNet' | |
| }; | |
| let result = [user.t, user.companyName].filter(function(item) { | |
| return !_.isNil(item); | |
| }).join(' at '); | |
| console.log(result); |
| {"errors":{"businessMeta.shipsFrom.geometry.bounds.northeast.lat":{"message":"Cannot read property 'locationType' of undefined","name":"ValidatorError","properties":{"message":"Cannot read property 'locationType' of undefined","type":"user defined","path":"geometry.bounds.northeast.lat","value":71.5388001,"reason":{}},"kind":"user defined","path":"geometry.bounds.northeast.lat","value":71.5388001,"reason":{},"$isValidatorError":true},"businessMeta.shipsFrom.geometry.bounds.northeast.lng":{"message":"Cannot read property 'locationType' of undefined","name":"ValidatorError","properties":{"message":"Cannot read property 'locationType' of undefined","type":"user defined","path":"geometry.bounds.northeast.lng","value":-66.88541700000002,"reason":{}},"kind":"user defined","path":"geometry.bounds.northeast.lng","value":-66.88541700000002,"reason":{},"$isValidatorError":true},"businessMeta.shipsFrom.geometry.bounds.southwest.lat":{"message":"Cannot read property 'locationType' of undefined","name":"ValidatorError","p |
| with open("fuel.txt", "r") as f: | |
| lines = [int(line) for line in f.readlines()] | |
| def add(x, y): return x + y | |
| def calc(x): | |
| if (x // 3 - 2 <= 0): | |
| return 0 | |
| else: | |
| return x // 3 - 2 + calc(x // 3 - 2) |