Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View brad's full-sized avatar
🐧

Brad Pitcher brad

🐧
View GitHub Profile
@brad
brad / ubuntu-MBP-16.md
Created January 27, 2022 20:10 — forked from gbrow004/ubuntu-MBP-16.md
Ubuntu on Apple Macbook Pro 16-inch (2019)

Update!

This gist is out of date and I can no longer help much, as I got rid of my Mac.

Acknowledgements

This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

Kernel Patches: aunali (https://github.com/aunali1/)

T2 security chip bypass to allow access to the SSD, keyboard, and trackpad: MCMrARM

@brad
brad / star.scad
Created December 27, 2020 04:45 — forked from anoved/star.scad
OpenSCAD pointed star module
// points = number of points (minimum 3)
// outer = radius to outer points
// inner = radius to inner points
module Star(points, outer, inner) {
// polar to cartesian: radius/angle to x/y
function x(r, a) = r * cos(a);
function y(r, a) = r * sin(a);
// angular width of each pie slice of the star
@brad
brad / 999natural
Created November 2, 2018 22:00
Script to find all xinput mice and make them use natural scrolling
#!/bin/sh
# The contents should go in /usr/lib/pm-utils/sleep.d/999natural
case "$1" in
resume)
python /home/brad/bin/natural
esac
@brad
brad / emoji.py
Last active August 29, 2015 14:01 — forked from lepture/emoji.py
Up to date emoji support in python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012, lepture.com
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright