I hereby claim:
- I am amritghimire on github.
- I am amritghimire (https://keybase.io/amritghimire) on keybase.
- I have a public key whose fingerprint is F83D 0484 26BD 7B2A 63CD AC00 08E8 9580 7FE4 35FE
To claim this, I am signing this object:
const {post} = =require('../utils/http'); | |
const {putToken, saveUser} = require('../utils/token'); | |
async function login(username, password){ | |
try{ | |
const response = await post('/login',{username, password}); | |
if(response.status === 201){ | |
// Login Successful. | |
putToken(response.data.token); | |
saveUser(response.data.user); |
f = lambda n:sorted(str(n)) | |
n = 99999 | |
while not f(n*2) == f(n*3) == f(n*4) == f(n*5) == f(n*6): n += 9 | |
print(n) |
def compute(): | |
ans = sum(x for x in range(1000) if (x % 3 == 0 or x % 5 == 0)) | |
return str(ans) | |
if __name__ == "__main__": | |
print(compute()) |
I hereby claim:
To claim this, I am signing this object:
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):