The MPOW Bluetooth 5 dongle (Model: BH456A) does not work out of the box on Ubuntu 20.04 (kernel 5.4.0-42).
Patch the bluetooth kernel module and copy the firmware binaries to /lib/firmware
.
// Use @substats, a open source repo on @Github, to fetch all my social medias' stats | |
const url = "https://api.spencerwoo.com/substats/?source=weibo&queryKey=2028434647&source=twitter&queryKey=zwithz1998&source=jikeFollower&queryKey=e1377acb-40ed-495e-9a73-158273b4090a" | |
const req = new Request(url) | |
const json = await req.loadJSON() | |
const data = json.data.subsInEachSource | |
const twitterFollowers = data.twitter |
javascript:(function(){ | |
var title = document.getElementsByTagName("title")[0].innerHTML; | |
var url = window.location.href; | |
var selectText = ''; | |
if (window.getSelection) { | |
selectText = window.getSelection().toString(); | |
} else if (document.selection) { | |
selectText = document.selection.createRange().text; | |
} | |
var node = document.createElement('textarea'); |
# | |
# ref https://github.com/tebeka/pythonwise/blob/master/docker-miniconda/Dockerfile | |
# | |
# miniconda vers: http://repo.continuum.io/miniconda | |
# sample variations: | |
# Miniconda3-latest-Linux-armv7l.sh | |
# Miniconda3-latest-Linux-x86_64.sh | |
# Miniconda3-py38_4.10.3-Linux-x86_64.sh | |
# Miniconda3-py37_4.10.3-Linux-x86_64.sh | |
# |
Thanks to React hooks you have now happily turned all your classes into functional components.
Wait, all your components? Not quite. There is one thing that can still only be implemented using classes: Error boundaries.
There is just no functional equivalent for componentDidCatch
and deriveStateFromError
yet.
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig
Problem: How can we preprocess JavaScript (at build-time or on the server-side) so engines like V8 don't have to spend as much time in Parse? This is a topic that involves generating either bytecode or a bytecode-like-abstraction that an engine would need to accept. For folks that don't know, modern web apps typically spend a lot longer in Parsing & Compiling JS than you may think.
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys