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
| // Sort Numbers by Ascending | |
| // ----------------------------------------------------- | |
| // [1, 2, 3, 4, 5, 6, 7, 8, 9]; | |
| // [0, 0, 0, 1, 10, 20, 59, 63, 88]; | |
| // Time Complexity: O(n²) | |
| function sortAscending(unsortedList) { | |
| if (unsortedList.length < 1) { | |
| return unsortedList; |
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
| @echo off | |
| REM #1 Download Curl for Windows https://curl.haxx.se/download.html#Win64 | |
| REM #2 Download the certificate file (cacert.pem) from https://curl.haxx.se/docs/caextract.html | |
| REM #3 Put both curl.exe and cacert.pem into c:/curl directory | |
| REM #4 Add Webhooks as a service https://ifttt.com/maker_webhooks | |
| REM #5 Create a recipe with Webhooks (give it an event name) for starting action and set it to trigger your desired outcome | |
| REM #6 Replace {{event_name}} below with the name you used along with the {{api_key}} which can be found on the documentation page | |
| c:\curl\curl.exe --cacert c:\curl\cacert.pem -X POST https://maker.ifttt.com/trigger/{{event_name}}/with/key/{{api_key}} |