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
| #include "BLEDevice.h" | |
| //#include "BLEScan.h" | |
| //Operating procedure | |
| //1. Power on only the JBL Flip 5 you want to connect to the "master of the two speakers" | |
| //2. It is ok to have it connected to your (phone/laptop/TV etc) or not at this stage | |
| //3. Plug in or reset your ESP32 with this code in it | |
| //4. Built in LED should be solid from startup, if it shuts off for two seconds the master Flip 5 was found and set to RIGHT channel mode | |
| //5. Press the ♾️ on the master speaker | |
| //6. Power on the slave speaker |
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
| using Azure.Identity; | |
| using Azure.ResourceManager; | |
| using Azure.ResourceManager.AppService; | |
| using Newtonsoft.Json; | |
| namespace AzureSettingsFinder | |
| { | |
| internal class Program | |
| { |
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/python | |
| import sys, os, json | |
| sys.path.append('/storage/.kodi/addons/script.module.requests/lib/') | |
| sys.path.append('/storage/.kodi/addons/script.module.urllib3/lib/') | |
| sys.path.append('/storage/.kodi/addons/script.module.chardet/lib/') | |
| sys.path.append('/storage/.kodi/addons/script.module.certifi/lib/') | |
| sys.path.append('/storage/.kodi/addons/script.module.idna/lib/') | |
| sys.path.append('/storage/.kodi/addons/virtual.rpi-tools/lib/') |
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
| await new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision); | |
| var browser = await Puppeteer.LaunchAsync(new LaunchOptions | |
| { | |
| Headless = true | |
| }); | |
| var page = await browser.NewPageAsync(); | |
| await page.GoToAsync("https://www.w3schools.com/html/html_tables.asp"); | |
| var rows = await page.EvaluateExpressionAsync<JArray>("Array.from(document.querySelectorAll('table')[3].querySelectorAll('tbody > tr')).map(a => Array.from(a.querySelectorAll('th, td')).map(z=> z.innerHTML))"); |