As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.4. 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).
| <?php | |
| // | |
| // download phpMQTT from https://github.com/bluerhinos/phpMQTT | |
| // | |
| error_reporting(0); | |
| require "phpMQTT.php"; | |
| $server = "127.0.0.1"; | |
| $port = 1883; | |
| $username = ""; |
| abaco,m | |
| abbondanza,f | |
| abbondanzia,f | |
| abbondanzio,m | |
| abbondazio,m | |
| abbondia,f | |
| abbondina,f | |
| abbondio,m | |
| abdelkrim, | |
| abdellah, |
| tg12 | |
| bbhunter | |
| d-Rickyy-b | |
| fpolicelli | |
| kmkz | |
| cyberaz0r | |
| win3zz | |
| e23e | |
| Le1a | |
| mpgn |
An analysis of Censys Public Scan 20180807 (only port 22) to estimate the number of servers {potentially} vulnerable to the recent Libssh bug.
| #server.modules += ( "mod_rewrite") | |
| # Workaround to have a working reverse-proxy that matches an URL does URL rewriting in Ligghtpd. | |
| # | |
| # Ligtthpd 1.4.28 cannot perform both matching and URL rewriting at the same time. | |
| # Therefore we need to define 2 proxies, one does the matching and bounce the request | |
| # to the other one, in charge of rewriting the URL before proxying the request to the target server. | |
| # | |
| # More about this here: | |
| # http://redmine.lighttpd.net/issues/164#note-9 |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| import tubes | |
| import numpy as np | |
| from matplotlib import pyplot | |
| import glob | |
| from os import path | |
| FILES = glob.glob(path.expanduser("~/src/data/ngrams/1gram/googlebooks*")) | |
| PYTHON_MATCH = '0' | |
| PASCAL_MATCH = '1' |