Skip to content

Instantly share code, notes, and snippets.

View jools-uk's full-sized avatar

Julian Robbins jools-uk

  • New York City
View GitHub Profile
@jools-uk
jools-uk / ws2812b timing
Last active August 5, 2023 01:30
ws2812b timing
@startuml
<style>
timingDiagram {
.red {
LineColor red
LineThickness 4
}
.blue {
LineColor blue
LineThickness 4
@jools-uk
jools-uk / aliexpress_order_scrape.user.js
Last active September 12, 2024 14:36
Tapermonkey AliExpress Order scraper
// ==UserScript==
// @name Ali Express Order Downloader
// @namespace https://gist.github.com/
// @version 0.1
// @description Retrieve Aliexpress order information and export as CSV via clipboard - 2023 version
// @author jools-uk
// @match https://www.aliexpress.com/p/order/index.html*
// @match https://www.aliexpress.com/p/order/detail.html*
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
$ 1 7.8125e-8 10.20027730826997 50 5 50 5e-11
f 256 176 320 176 32 1.5 0.02
r 256 176 160 176 0 470
r 320 160 320 48 0 2200
g 320 272 320 304 0 0
w 320 192 320 272 0
R 320 48 320 16 0 0 40 5 0 0 0.5
207 480 144 528 112 4 output
R 160 176 96 176 0 2 400000 1.65 1.65 0 0.5
f 416 160 480 160 32 1.5 0.02
@jools-uk
jools-uk / ubuntu-mac.md
Last active April 9, 2022 17:05
Ubuntu install on Mac Mini external SATA drive

Problem: When attempting to install from 20.04 LTS ISO writted to a USB or DVD, no matter what combination, it always fails during the installation Copy process with dreaded 'SQUASHFS' errors. All online guides say the install media is broken, but multiple installs from multiple USB sticks or even a SuperDrive DVD all fail. Other guides refer to ACPI or DMA being the problem

Attempted: Tried various kernal paramters such as acpi=off and noapci (or something similar) and ide_dma mode off (something similar), but nothing works.

Workaround: Use the very manual mini.iso install, which installs by downloading all packagaes over the internet. It is very intensive, but it worked https://www.onetransistor.eu/2015/12/install-ubuntu-minimal-cd-uefi-enabled.html