- Catalina
- Big Sur
- Monterey
- Ventura
- Sonoma
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
| WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -D FORWARD -i docker0 -o docker0 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?). | |
| 1-) The firewalld application is updated. | |
| yum update firewalld | |
| 2-) Firewalld rule is added. | |
| firewall-cmd --zone=public --permanent --add-masquerade | |
| 3-) And reload firewall |
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 <Arduino.h> | |
| #include <BLEDevice.h> | |
| BLEClient *pClient; | |
| BLEScan *pBLEScan; | |
| #define SCAN_TIME 10 // seconds | |
| bool connected = false; |
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
| 1. Open PlatformIO terminal: Press <Ctrl>+P and type "platformIO: Net Terminal" | |
| 2. In the PlatformIO terminal, execute following command | |
| > platformio settings get projects_dir # check current default location | |
| > platformio settings set projects_dir "New Directory" | |
| 3. short command | |
| > pio settings get projects_dir | |
| > pio settings set projects_dir "New Directory" | |
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
| /** | |
| ESPNOW - Basic communication - Broadcast | |
| Date: 28th September 2017 | |
| Original Author: Arvind Ravulavaru <https://github.com/arvindr21> | |
| modified by Daniel de kock | |
| Purpose: ESPNow Communication using Broadcast | |
| Resources: (A bit outdated) | |
| a. https://espressif.com/sites/default/files/documentation/esp-now_user_guide_en.pdf |
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
| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <jess@linux.com> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: |
The current kernel/drivers of Fedora 24 do not support the Wifi chip used on my Mac Book Pro. Proprietary Broadcom drivers are packaged and available in the rpmfusion repo.
Verify that your card is a Broadcom using: lspci -vnn -d 14e4:
Sample output:
02:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Install the rpmfusion repo, note only "nonfree" is required, as the Broadcom Driver is proprietry: http://rpmfusion.org/
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
| <?php | |
| /* | |
| This is a very tiny proof-of-concept SMTP client. Currently it's over 320 characters (if the var names are compressed). Think you can build one smaller? | |
| */ | |
| ini_set('default_socket_timeout', 3); | |
| $user = 'you@gmail.com'; | |
| $pass = ''; | |
| $host = 'ssl://smtp.gmail.com'; |
