Skip to content

Instantly share code, notes, and snippets.

View jrmoulton's full-sized avatar

Jared Moulton jrmoulton

  • Utah
  • 01:27 (UTC -07:00)
View GitHub Profile
@InBrewJ
InBrewJ / FilterDependabotFromPRs.txt
Last active October 11, 2024 05:09
Filter for PRs from real people (i.e. not dependabot)
is:open is:pr -author:app/dependabot
@roadrunner2
roadrunner2 / 0 Linux-On-MBP-Late-2016.md
Last active October 1, 2024 02:06
Linux on MacBook Pro Late 2016 and Mid 2017 (with Touchbar)

Introduction

This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).

The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.

Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se

@iwalpola
iwalpola / stm32_gpio_reg.md
Last active October 17, 2024 06:01
STM32 GPIO registers cheatsheet
@ericandrewlewis
ericandrewlewis / index.md
Last active June 6, 2024 01:43
C++ Pointer Tutorial

C++ Pointer Tutorial

Because pointers can be ugh

"Regular" variables (not pointers)

To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".

When declaring a variable by identifier (or name), the variable is synonymous with its value.