Skip to content

Instantly share code, notes, and snippets.

@alexmi256
alexmi256 / OrangePi 4 Additional Steps Build Image.md
Created February 23, 2020 22:14
OrangePi 4 Additional Steps Build Image

needed to install the following extra packages:

apt install ack-grep android-tools-adb android-tools-fastboot binfmt-support bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf install jq lib32ncurses5-dev lib32z1-dev libc6-dev-i386 libgl1-mesa-dev liblz4-tool libx11-dev libxml2-utils locales ncdu openssh-server qemu qemu-efi-aarch64 qemu-system-arm qemu-user-static qemu-utils screen telnet tmux tree unzip wget x11proto-core-dev xsltproc zip zlib1g-dev

Needed to also set up the following which requires adding repos:

balena-etcher-electron openjdk-8-jdk
@alexmi256
alexmi256 / Install Rapidcopy.md
Last active May 4, 2020 00:53
Install Rapidcopy

Install latest XXHash

git clone https://github.com/Microsoft/vcpkg.git cd vcpkg/ ./bootstrap-vcpkg.sh ./vcpkg integrate install ./vcpkg install xxhash

Install Requirements

sudo apt install build-essential libattr1-dev libbsd-dev libacl1-dev libgl1-mesa-dev libfontconfig1 qtcreator qt5-default qtmultimedia5-dev

@alexmi256
alexmi256 / Default Ubuntu Software Installs.md
Last active December 4, 2020 14:15
Default Ubuntu Software Setup

Default Repository Installs

apt install autoconf \
build-essential \
docker-compose \
docker.io \
fio \
git \
gparted \
htop \
/* eslint-disable */
import { Selector } from 'testcafe';
const TIER2 = { tier2: 'true' };
const SMOKE = { type: 'smoke' };
const OWNERS = { owner: 'team' };
fixture.meta(OWNERS)`All Passing Fixture`;
[...Array(2).keys()].forEach(testNumber => {
test.meta(SMOKE).meta(TIER2).meta({
@alexmi256
alexmi256 / Mail::RFC822::Address-0.4.test.pl
Created December 6, 2020 23:40
Mail::RFC822::Address-0.4.test.pl
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
######################### We start with some black magic to print on failure.
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
BEGIN { $| = 1; print "1..82\n"; }
END {print "not ok 1\n" unless $loaded;}
@alexmi256
alexmi256 / imagemagick jpex xl failure
Created June 29, 2021 21:02
imagemagick jpex xl failure
   ~/workspace/ml-data-processing    main ⇡3 ?3  convert -debug ALL test.png test.jxl  1 ✘
2021-06-29T20:58:23+00:00 0:00.000 0.000u 7.1.0 Configure convert[449389]: utility.c/ExpandFilenames/969/Configure
Command line: convert {-debug} {ALL} {test.png} {test.jxl}
2021-06-29T20:58:23+00:00 0:00.000 0.000u 7.1.0 Policy convert[449389]: policy.c/IsRightsAuthorized/636/Policy
Domain: Module; rights=Read; pattern="PNG" ...
2021-06-29T20:58:23+00:00 0:00.000 0.000u 7.1.0 Module convert[449389]: module.c/OpenModule/1273/Module
Searching for module "PNG" using filename "png.la"
2021-06-29T20:58:23+00:00 0:00.000 0.000u 7.1.0 Module convert[449389]: module.c/GetMagickModulePath/546/Module
Searching for coder module file "png.la" ...
2021-06-29T20:58:23+00:00 0:00.000 0.000u 7.1.0 Module convert[449389]: module.c/OpenModule/1282/Module
@alexmi256
alexmi256 / Raspberry Pi Zero W Wireless USB Fingerprint.md
Last active November 23, 2021 19:47
Raspberry Pi Zero W Wireless USB Fingerprint.md

Goal

Use a cheap fingerprint sensor wirelessly so that I can auth to Windows Hello and other systems that use it in a cost effective manner.

Possible Solutions

Device URL Cost ($USD) Works With Windows Hello
Server (Pi Zero W) and Client Running USBIP Windows Client [USB/IP Server
@alexmi256
alexmi256 / Xbox Series S SSD Info.md
Last active August 1, 2022 05:56
Xbox Series S SSD Info

Some basic info about my Series S internal SSD disk since I was stuck in an "unreachable" Xbox Live Update loop and the console is out of warranty.

  • With the wifi module
    • attatched the error given was usually 0x80072f8f
    • removed the error given was usually 0x87DD0003
  • Trying to use mobile app for setup gave above error code
  • Trying to setup without mobile app also failed
  • Offline update of OSU1 did not help
  • Console reset did not help
  • GParted does identify the first partition as XBFS
  • Trying to play around with network setting (i.e. DNS and such) made no difference
defaults nosave
###WARNING: NO CUSTOM DEFAULTS FOUND###
# version
# Betaflight / STM32F411SX1280 (S4SX) 4.3.1 Jul 13 2022 / 03:33:32 (8d4f005) MSP API: 1.44
###ERROR IN diff: NO CONFIG FOUND###
# start the command batch
batch start
@alexmi256
alexmi256 / BTFL_cli_backup_20230614_223505_latest.txt
Created June 15, 2023 13:32
Mobula7 4.4.2 fresh install diff all
defaults nosave
# version
# Betaflight / STM32F411 (S411) 4.4.2 Jun 1 2023 / 02:20:34 (23d066d08) MSP API: 1.45
# config: YES
# start the command batch
batch start