git remote add upstream https://github.com//.git
git fetch upstream
git checkout master
git merge upstream/master
git push
local lpeg = require 'lpeg' | |
local L = lpeg.locale() | |
local P,V,C,Ct,S,R,Cg,Cc = | |
lpeg.P, lpeg.V, lpeg.C, lpeg.Ct, lpeg.S, lpeg.R, lpeg.Cg, lpeg.Cc | |
local ws = S'\r\n\f\t\v ' | |
local ws0 = ws^0 | |
local ws1 = ws^1 | |
local name = S'_ ' + L.digit + L.alpha |
git remote add upstream https://github.com//.git
git fetch upstream
git checkout master
git merge upstream/master
git push
#1 Update: Recent Rapsberry Pi (downstream) kernel dt-overlays now exposes a config option "krnbt" that negates the need for all this.
Relevant PRs: raspberrypi/linux#3682
[Pi 3B (Non-Plus) / Pi Zero W ONLY]
As of kernel package, linux-raspberrypi-4.14.59-1
, support for notifying the kernel of the
╔══════════╦════════════════════════════════╦═════════════════════════════════════════════════════════════════════════╗ | |
║ Code ║ Effect ║ Note ║ | |
╠══════════╬════════════════════════════════╬═════════════════════════════════════════════════════════════════════════╣ | |
║ 0 ║ Reset / Normal ║ all attributes off ║ | |
║ 1 ║ Bold or increased intensity ║ ║ | |
║ 2 ║ Faint (decreased intensity) ║ Not widely supported. ║ | |
║ 3 ║ Italic ║ Not widely supported. Sometimes treated as inverse. ║ | |
║ 4 ║ Underline ║ ║ | |
║ 5 ║ Slow Blink ║ less than 150 per |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
#!/usr/bin/lua | |
-- libraries: lua-socket, lua-sec, lua-argparse | |
-- weechat relay documentation: https://weechat.org/files/doc/stable/weechat_relay_protocol.en.html | |
local socket = require("socket") | |
local ssl = require("ssl") | |
local argparse = require "argparse" | |
-- Setup CLI options - docs: https://argparse.readthedocs.io/en/stable/index.html | |
local parser = argparse() { | |
name = "Weechat relay info", |
https://9to5mac.files.wordp2/galaxy.jpg | |
http://lichess1.org/assets/images/background/ | |
http://www.uncalke.com/i/darth-maul-wallpaper-background.jpg | |
https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-95299.jpg | |
http://lichess1.org/assets/images/background/landscape.jpg | |
http://wallpaper-gallery.net/image.php?pic=/images/purple-images/purple-images-19.jpg | |
http://i.imgur.com/gq3khFg.png | |
http://lichess1.org/assets/images/background/wood.jpg | |
http://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-229265.jpg | |
http://wallpapercave.com/wp/8ltWi0l.jpg |