Skip to content

Instantly share code, notes, and snippets.

View RedL0tus's full-sized avatar
🤦‍♀️
咸鱼

Jiangjin Wang RedL0tus

🤦‍♀️
咸鱼
View GitHub Profile
@SelynCatto
SelynCatto / [Guide] Dual-booting Windows 10 and Arch Linux sharing a root partition.md
Last active March 17, 2024 08:05
Notes and guides on how to install arch and windows on the same partition.

Experimental Guide: Installing Arch Linux alongside Windows 10 while sharing a root partition.

Disclaimer: This guide is highly experimental and may encounter issues. Please proceed with caution and at your own risk. Once you've used ntfs2btrfs, the Microsoft Store may be broken as appx packages require NTFS. Unless you find a way to fool it or bypass the check, you can't install more appx packages.

There is also an issue where graphical components such as acrylic blur in Windows desktop apps won't work, GPU acceleration should still work properly in games etc.

By @ItsLynix

Recommendations

  • It is recommended that you use a tool such as Ventoy which you can get from here as it allows you to have multiple ISOs on the same USB drive with an easy to use boot menu for access, this allows you to quickly switch between utilities as we do in this guide.
@geohot
geohot / gist:569e9e4b20fd41203d8da71c6022be15
Last active April 30, 2024 21:39
instructions to install openpilot on a pixel 3 running android 9
# 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
wget https://dl.google.com/dl/android/aosp/blueline-pq3a.190801.002-factory-f3d66c49.zip
unzip blueline-pq3a.190801.002-factory-f3d66c49.zip
cd blueline-pq3a.190801.002/
./flash-all.sh
@rometsch
rometsch / BH456A_linux_driver.md
Last active October 16, 2023 08:16
MPOW BH456A Bluetooth USB Adapter Kernel Module Adjustements (Realtek RTL8761B chip)

Problem

The MPOW Bluetooth 5 dongle (Model: BH456A) does not work out of the box on Ubuntu 20.04 (kernel 5.4.0-42).

Solution

Patch the bluetooth kernel module and copy the firmware binaries to /lib/firmware.

Copy the fimware

@mjmeyer
mjmeyer / http-cat-error-pages.conf
Created February 17, 2016 22:58
Http.cat erorr pages for nginx
# ---------- Status Cats Error Pages!!! via: https://http.cat/ ---------
#
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1;
# typically uses dnsmasq for 127.0.0.1 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
caniszczyk / clone-all-twitter-github-repos.sh
Created October 9, 2012 04:25
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'