Skip to content

Instantly share code, notes, and snippets.

View Mark-Booth's full-sized avatar

Mark Booth Mark-Booth

View GitHub Profile
@Mark-Booth
Mark-Booth / boot.py
Last active March 12, 2023 12:51
Generic CircuitPython boot.py with additional notes for QT Py 2040
# CircuitPython boot.py crib sheet
# https://gist.github.com/Mark-Booth/6dd637fc65c03a0ede393a8c718b02c1
# Version history (most recent at top)
# Add details of how to enter safe mode on the QT Py 2040
# Initial commit & commit with link back to gist
# Based on the Adafruit Customizing USB Devices in CircuitPython page
# https://learn.adafruit.com/customizing-usb-devices-in-circuitpython/circuitpy-midi-serial
@Mark-Booth
Mark-Booth / gnome-tracker-disable.md
Last active August 14, 2018 09:52 — forked from vancluever/gnome-tracker-disable.md
GNOME Tracker Disable

Disabling GNOME Tracker and Other Info

GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/

After discovering it chowing 2 cores, I decided to go about disabling it.

Directories

@Mark-Booth
Mark-Booth / log.txt
Last active September 25, 2017 13:59
Effects of different build groups on eclipse scanning
travis_fold:start:worker_info
Worker information
hostname: f5a04d8c-fdfb-4325-b347-bbd8c94395bb@1.production-1-worker-org-c-6-gce
version: v3.0.2 https://github.com/travis-ci/worker/tree/f1c05caed79c66a9103f12a22e8a45ec66dbca64
instance: testing-gce-9fa8c465-9267-45e7-8a18-5ccc791323ac:travis-ci-garnet-trusty-1499451966 (via amqp)
startup: 21.098226806s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: java
@Mark-Booth
Mark-Booth / git-branch-status
Last active August 19, 2019 16:00 — forked from lth2h/git-branch-status
Version of git-branch-status which only shows the current branch and only generates output if a branch is ahead or behind.Added options to:* Show all branches (revert to the old behaviour)* Show output even if the branch isn't ahead or behind (revert to the old behaviour)* Show branch(es) with respect to origin/master (inspired by git-branches-v…
#!/bin/bash
# hosted at https://gist.github.com/Mark-Booth/5058384
# forked from https://gist.github.com/lth2h/4177524 @ ae184f1 by mark.booth
# forked from https://gist.github.com/jehiah/1288596 @ e357c1e by lth2h
# ideas from https://github.com/kortina/bakpak/blob/master/bin/git-branches-vs-origin-master
# this prints out some branch status
# (similar to the '... ahead' info you get from git status)
# example: