| layout | post | ||
|---|---|---|---|
| title | clamav - install and configure on mac osx | ||
| published | true | ||
| tags |
|
Install clamav via homebrew
| blueprint: | |
| name: Low battery level detection & notification for all battery sensors | |
| description: Regularly test all sensors with 'battery' device-class for crossing | |
| a certain battery level threshold and if so execute an action. | |
| domain: automation | |
| input: | |
| threshold: | |
| name: Battery warning level threshold | |
| description: Battery sensors below threshold are assumed to be low-battery (as | |
| well as binary battery sensors with value 'on'). |
CTRL + A : Move the cursor to the beginning of the line
CTRL + E : Move the cursor to the end of the line
OPTION + Left Arrow : Move the cursor one word backward
OPTION + Right arrow : Move the cursor one word forward
Left Arrow : Move the cursor one character backward
Right Arrow : Move the cursor one character forward
| #!/bin/bash | |
| # ============================================================================= | |
| # Install AzCopy on Linux | |
| # https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10 | |
| # https://github.com/Azure/azure-storage-azcopy | |
| # ----------------------------------------------------------------------------- | |
| # Developer.......: Andre Essing (https://www.andre-essing.de/) | |
| # (https://github.com/aessing) | |
| # (https://twitter.com/aessing) | |
| # (https://www.linkedin.com/in/aessing/) |
| String str1,str2; | |
| bool onUSB = false; | |
| bool onBattery = false; | |
| bool lowBattery = false; | |
| unsigned long pwrCheckTimeStart;//to check power every 10sec | |
| void setup() { | |
| // INITIAL POWER CHECK | |
| int powerSource = System.powerSource(); |
Updated May 21/2018
There are lots of different how-tos out there for automatically launching VMs using VirtualBox on MacOS. Most of them focus on older versions of VirtualBox or old versions of MacOS.
Tested using MacOS High Sierra 10.13.4 running VirtualBox 5.2.12. The guest OS is Fedora 28.
Following the instructions on the VirtualBox website (https://www.virtualbox.org/manual/ch09.html#autostart), copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.
david$ sudo cp \
| /* | |
| Tutorial: Control servo movement with gesture using ESP32 and Arduino | |
| Board: | |
| - TTGO T-Call ESP32 with SIM800L GPRS Module | |
| https://my.cytron.io/p-ttgo-t-call-esp32-with-sim800l-gprs-module | |
| Output: | |
| - 1CH Active H/L 5V OptoCoupler Relay Module | |
| https://my.cytron.io/c-electronic-components/c-relays/p-1ch-active-h-l-5v-optocoupler-relay-module |
| // Get ESP8266 going with Arduino IDE | |
| // - https://github.com/esp8266/Arduino#installing-with-boards-manager | |
| // Required libraries (sketch -> include library -> manage libraries) | |
| // - PubSubClient by Nick ‘O Leary | |
| // - DHT sensor library by Adafruit | |
| #include <ESP8266WiFi.h> | |
| #include <PubSubClient.h> | |
| #include <DHT.h> |
| 1. Install oh my zsh | |
| http://ohmyz.sh/ | |
| $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| 1. Install powerline fonts | |
| https://github.com/powerline/fonts | |
| 1. download agnoster theme | |
| https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master |