As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.0 This means we will have to build it ourselves, and here is how to do it.
- Install the required build-tools (some might already be installed on your system).
| " ~/.config/nvim/init.vim | |
| " | |
| " After add / remove Plugins, run :PlugInstall / :PlugClean | |
| if has('nvim') | |
| let $VIMHOME = '~/.config/nvim' | |
| else | |
| let $VIMHOME = '~/.vim' | |
| endif |
| /ip firewall filter add | |
| chain=input | |
| action=drop | |
| comment="deny DNS resolution containing 'samsung' from SmartTV" | |
| protocol=udp dst-port=53 | |
| content="samsung" | |
| src-mac-address=<smartv-mac-addr> | |
| /ip firewall filter add | |
| chain=forward | |
| action=drop |
| import socket | |
| # https://www.solarmax.com/Downloads/MaxComm_Protokollbeschreibung_DE.pdf | |
| # Communication | |
| ip = "192.168.50.2" | |
| port = 12345 | |
| # inverters = ("01", "02", "03") | |
| inverters = ("01",) |
| #!/bin/bash | |
| # Tom Hale, 2016. MIT Licence. | |
| # Print out 256 colours, with each number printed in its corresponding colour | |
| # See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163 | |
| set -eu # Fail on errors or undeclared variables | |
| printable_colours=256 |