This file contains hidden or 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
| var promise = new Promise((resolve, reject) => { | |
| setTimeout(() => resolve('first promise'), 1000); | |
| }) | |
| var secondPromise = new Promise((resolve, reject) => { | |
| setTimeout(() => resolve('second promise'), 500); | |
| }) | |
| var thirdPromise = new Promise((resolve, reject) => { | |
| setTimeout(() => resolve('third promise'), 250); |
This file contains hidden or 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
| let array = [ //Test Array | |
| { | |
| "name": "Test1", | |
| "ranking": 42 | |
| }, | |
| { | |
| "name": "Test2", | |
| "ranking": 41 | |
| }, | |
| { |
This file contains hidden or 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
| #!/usr/bin/python3 | |
| import requests | |
| import json | |
| api_url = "https://m.facebook.com/login.php" | |
| def login(email, passw): | |
| data = { | |
| 'lsd': lsd, |
This file contains hidden or 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
| //C code | |
| int main(){ | |
| int i = 0; | |
| if (i == 1) | |
| write(1, '1', 1); | |
| if (i == 2) | |
| write(1, '1', 1); | |
| if (i == 3) | |
| write(1, '1', 1); |
NewerOlder