Skip to content

Instantly share code, notes, and snippets.

View smaeul's full-sized avatar

Samuel Holland smaeul

View GitHub Profile
@smaeul
smaeul / bl808.md
Last active February 19, 2023 20:34
BL808 U-Boot HOWTO

Keybase proof

I hereby claim:

  • I am smaeul on github.
  • I am smaeul (https://keybase.io/smaeul) on keybase.
  • I have a public key whose fingerprint is E9DA 5F1C 7915 DFBC 8952 9FFD 6C5D 42FC C3B3 E3E9

To claim this, I am signing this object:

@smaeul
smaeul / cron-exec
Created June 4, 2019 03:57
execline-cron
#!/bin/execlineb -S2
unexport CRON_SOCK
unexport CRON_TEMP
pipeline {
fdmove -c 2 1
importas -u base CRON_BASE
unexport CRON_MAIL
foreground { ${base}/${1}/${2} }
importas -u exitval ?
if -t { test ${exitval} -gt 0 }
@smaeul
smaeul / report.md
Created August 28, 2017 15:21
Google Summer of Code 2017 Report

Overview

The project I worked on this summer was divided into two major parts. First, I optimized the cryptography parallelism of the in-kernel WireGuard implementation. My goal was to improve overall speed, increase multi-core scalability, and fix some hard-to-reproduce race conditions. I spent the second half of the summer writing an Android application that serves as a convenient GUI frontend for WireGuard. My vision for the app was to be simple, yet very functional.

Queueing improvements

Get the code!

@smaeul
smaeul / DeskClock-logcat
Last active February 24, 2016 04:29
CopperheadOS logs
02-23 22:21:38.479 5821 5821 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10027 <<<<<<
02-23 22:21:38.482 5821 5821 D AndroidRuntime: CheckJNI is OFF
02-23 22:21:38.529 5821 5821 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-23 22:21:38.571 5821 5821 I Radio-JNI: register_android_hardware_Radio DONE
02-23 22:21:38.597 5821 5821 D AndroidRuntime: Calling main entry com.android.internal.os.ExecInit
02-23 22:21:38.599 5821 5821 I SamplingProfilerIntegration: Profiling disabled.
02-23 22:21:38.656 5821 5821 W System : ClassLoader referenced unknown path: /system/app/DeskClock/lib/arm
02-23 22:21:38.849 5821 5866 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-23 22:21:39.007 5821 5821 D TypefaceImpl: makeFontCollection adding /system/fonts/Roboto-Regular.ttf
02-23 22:21:39.059 5821 5821 E Minikin : addFont failed to create font /system/fonts/NanumGothic.ttf
@smaeul
smaeul / get_bing_wallpaper.sh
Created September 2, 2015 06:39
Simple bash script to download the full-resolution wallpapers from the Bing gallery (https://www.bing.com/gallery/)
#!/bin/bash
ORIGDIR=$PWD
TEMPDIR=$(mktemp -d)
DESTDIR=~/Pictures/Bing
# JavaScript source:
# function d(a) {
# var b, c, d, e = f.length, g = 0;
# for (b = 0, c = a.length; c > b; b++)