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).
| --- | |
| version: 1 | |
| disable_existing_loggers: False | |
| formatters: | |
| simple: | |
| format: "%(name)-20s%(levelname)-8s%(message)s" | |
| handlers: | |
| console: | |
| class: logging.StreamHandler | |
| level: DEBUG |
| # NOTE: IF THIS FAILS, YOU MAY HAVE TO | |
| # sudo apt-get install libxmu-dev libxi-dev | |
| # http://ubuntuforums.org/showthread.php?t=1703770 | |
| cmake_minimum_required(VERSION 3.3) | |
| project(ass4) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
| #--- Find GLUT |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |
| // ==UserScript== | |
| // @name GitHub: White favicon | |
| // @version 1.10.0 | |
| // @author tobbez | |
| // @match https://support.github.com/* | |
| // @match https://github.blog/* | |
| // @match https://opensource.guide/* | |
| // @match https://www.githubstatus.com/* | |
| // @match https://services.github.com/* | |
| // @match https://desktop.github.com/* |