ssh -t ec2-user@REPLACE_HERE_YOU_HOST 'sudo docker exec -it "$(sudo docker ps --format {{.ID}})" bash'
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
| curl -XDELETE http://localhost:9200/my_index | |
| sleep 3 | |
| curl -XPUT "http://localhost:9200/my_index" -d ' | |
| { | |
| "mappings": { | |
| "blogpost": { | |
| "properties": { | |
| "comments": { | |
| "type": "nested", |
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
| const getTokens = (ids) => { | |
| return Rx.Observable.create((observer) => { | |
| ids.forEach((id) => { | |
| setTimeout(() => observer.next(`Token of id: ${id}`), 1000) | |
| }) | |
| setTimeout(() => { | |
| console.log("Got tokens") | |
| observer.complete() | |
| }, 7000) |
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
| const getTokens = (ids) => { | |
| return Rx.Observable.create((observer) => { | |
| ids.forEach((id) => { | |
| setTimeout(() => observer.next(`Token of id: ${id}`), 1000) | |
| }) | |
| setTimeout(() => { | |
| console.log("Got tokens") | |
| observer.complete() | |
| }, 7000) |
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
| const getToken = (id) => { | |
| return new Promise((resolve) => { | |
| setTimeout(() => { | |
| console.log(`Resolved token for ${id}`) | |
| resolve(`Token of id: ${id}`) | |
| }, (Math.floor(Math.random() * 3000))) | |
| }) | |
| } | |
| const getTokens = (ids) => { |
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
| wVersionChecker.CheckForUpdates() | |
| 2021-08-27 11:19:16,446 [1]INFO EntryLogicDM [(null)] - Begin printing routine | |
| 2021-08-27 11:19:16,446 [1]INFO EntryLogicDM [(null)] - Visitor Badge | |
| 2021-08-27 11:19:16,468 [1]INFO EntryLogicDM [(null)] - PhotoURL: https://ambirvmsdevbucket.s3.us-east-2.amazonaws.com/visitor_photos/5202?X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDsaCXVzLWVhc3QtMiJHMEUCIQDoWRe6UK2Jh2ta%2FRLassxUKoYf6ouHhUJTuHJMsDkoKQIgDMP032C73pSe9ilOPI21kbG0OkqpTri7yIVwJSn2BsQq4wMIdBAAGgw1OTMyNzQyNzE1NTkiDMIKB%2FStO35q7%2B4oCCrAA7ytMG1u%2FtR3VVKY0x%2F8AgF33%2FMX%2FDeixsZ3PL1JqAXeqe1zl48XHXKXBSLRIVEMcwOHveRxGG1ESKOn0YTBjJXOgH2aUXIqzoePhAzJLRdp3vKGuePlV76cwnWWSledoFyM7%2F1JMdhbFrqu5%2BAaAerL9rdrI%2BM5J7dsSmnaeNpeRNkfWkYI2VQax7tNCl4gSEGdmBrWLEbJHnM5wVQjXxLYf5Sa6O%2B7yh9iMr6QVoLzHupYRfcXRlDD1Kptnp2bWUkpxLQHdyI5Ws7b5vva%2BXfRu95xWk2C9%2BJ3ZzT4SskEgx63wrC24nH9kDN5YG44Ect9VhpTJuI2MHiDIwsIC3xmtluzZ5Nz7P61%2FWn9YeTF4DPHv69ISKvGXW1UUrK1JKovzmnDUiaZEqGBdT74caAMvr1Ovj8eD604DqPzjWEOtUKS0hbVGvOb8j%2B68 |
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
| 2021-08-13 15:41:54,297 [1]ERROR EntryLogicDM [(null)] - System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. | |
| at System.Net.HttpWebRequest.GetResponse() | |
| at AmbirScanVMS.AppNewVersionChecker.CheckForUpdates() | |
| 2021-08-16 10:06:10,826 [1]ERROR EntryLogicDM [(null)] - System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. | |
| at System.Net.HttpWebRequest.GetResponse() | |
| at AmbirScanVMS.AppNewVersionChecker.CheckForUpdates() | |
| 2021-08-16 11:26:44,688 [1]ERROR EntryLogicDM [(null)] - System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. | |
| at System.Net.HttpWebRequest.GetResponse() | |
| at AmbirScanVMS.AppNewVersionChecker.CheckForUpdates() | |
| 2021-08-24 16:25:47,133 [1]ERROR EntryLogicDM [(null)] - System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. |
OlderNewer