Skip to content

Instantly share code, notes, and snippets.


Jiangjin Wang RedL0tus

View GitHub Profile
geohot / gist:569e9e4b20fd41203d8da71c6022be15
Last active June 10, 2022 17:25
instructions to install openpilot on a pixel 3 running android 9
View gist:569e9e4b20fd41203d8da71c6022be15
# instructions to install openpilot on a pixel 3
# enter fastboot with power + volume down
# make sure bootloader is unlocked
# make sure modern version of android platform tools is installed
mkdir pixel
cd blueline-pq3a.190801.002/
rometsch /
Last active April 15, 2023 05:31
MPOW BH456A Bluetooth USB Adapter Kernel Module Adjustements (Realtek RTL8761B chip)


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.

Copy the fimware

mjmeyer / http-cat-error-pages.conf
Created February 17, 2016 22:58 erorr pages for nginx
View http-cat-error-pages.conf
# ---------- Status Cats Error Pages!!! via: ---------
# requires that a dns resolver be set for nginx as in: resolver;
# typically uses dnsmasq for resolver
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
caniszczyk /
Created October 9, 2012 04:25
Clone all repos from a GitHub organization
curl -s | ruby -rubygems -e 'require "json"; JSON.load( { |repo| %x[git clone #{repo["ssh_url"]} ]}'