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/env python3 | |
| """ | |
| Extended Enviro+ example for the Pimoroni Enviro+ board. | |
| This script is derived from Pimoroni's ``all-in-one.py`` example but has two | |
| important differences: | |
| 1. Rather than requiring you to wave your hand over the proximity/light | |
| sensor to cycle through each sensor reading, the display will |
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
| #!/bin/bash | |
| if [ $1 = "uninstallswap" ]; then | |
| echo "Uninstalling swapfile..." | |
| sudo dphys-swapfile swapoff | |
| sudo dphys-swapfile uninstall | |
| sudo update-rc.d dphys-swapfile remove | |
| sudo systemctl disable dphys-swapfile | |
| echo "Swap file has been removed" | |
| elif [ $1 = "disableswap" ]; then |
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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.1", | |
| "parameters": { | |
| "location": { | |
| "type": "string", | |
| "defaultValue": "[resourceGroup().location]", | |
| "metadata": { | |
| "description": "Location used for the createtion of the resources." |
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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.1", | |
| "parameters": { | |
| "location": { | |
| "type": "string", | |
| "defaultValue": "[resourceGroup().location]", | |
| "metadata": { | |
| "description": "Location used for the createtion of the resources." |
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 <FS.h> | |
| void setup() { | |
| Serial.begin(9600); | |
| if(SPIFFS.begin()) | |
| { | |
| Serial.println("Mounted!"); | |
| } | |
| else | |
| { |
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
| # Automation script for instatlling telegraf agent | |
| # | |
| #Set Colors | |
| # | |
| bold=$(tput bold) | |
| underline=$(tput sgr 0 1) | |
| reset=$(tput sgr0) |
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
| // name: ayanev-theme | |
| { | |
| "theme":{ | |
| "base-color":{ | |
| "default":"#00aa95", | |
| "value":"#273e55", | |
| "edited":true | |
| }, | |
| "page-titlebar-backgroundColor":{ | |
| "value":"#273e55", |
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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "alwaysShowTabs": true, | |
| "defaultProfile": "{14ad203f-52cc-4110-90d6-d96e0f41b64d}", | |
| "initialCols": 150, | |
| "initialRows": 30, | |
| "keybindings": | |
| [ | |
| { | |
| "command": "closeTab", |
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
| # Telegraf Configuration | |
| # | |
| # Telegraf is entirely plugin driven. All metrics are gathered from the | |
| # declared inputs, and sent to the declared outputs. | |
| # | |
| # Plugins must be declared in here to be active. | |
| # To deactivate a plugin, comment out the name and any variables. | |
| # | |
| # Use 'telegraf -config telegraf.conf -test' to see what metrics a config | |
| # file would generate. |