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
| #Requires -Version 3.0 | |
| # Configure a Windows host for remote management with Ansible | |
| # ----------------------------------------------------------- | |
| # | |
| # This script checks the current WinRM (PS Remoting) configuration and makes | |
| # the necessary changes to allow Ansible to connect, authenticate and | |
| # execute PowerShell commands. | |
| # | |
| # IMPORTANT: This script uses self-signed certificates and authentication mechanisms |
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 SS = SpreadsheetApp.openById('yourspreadsheetidhere'); | |
| var str = ""; | |
| function doPost(e) { | |
| var maintenacesheet = SS.getSheetByName('maintenance'); | |
| var now = Utilities.formatDate(new Date(), "GMT+1", "yyyy-MM-dd' 'HH:mm"); | |
| var nowTimeStamp = Math.floor((new Date()/1000)).toString(); | |
| maintenacesheet.getRange('B1').setValue(now); | |
| var parsedData; | |
| var result = {}; | |
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
| /********* | |
| ESPCAM image to flask with http-client library | |
| based on: | |
| Rui Santos | |
| Complete project details at https://RandomNerdTutorials.com/esp32-cam-take-photo-save-microsd-card | |
| IMPORTANT!!! | |
| - Select Board "AI Thinker ESP32-CAM" | |
| - GPIO 0 must be connected to GND to upload a sketch |