Skip to content

Instantly share code, notes, and snippets.

@akavel
akavel / dump-02.lst
Created March 26, 2025 21:09
clawtype-v3 "blinky" objdump at 20250326-2133
clawtype: file format elf32-littlearm
Contents of section .vector_table:
0000 00400020 a9000000 3f030000 19070000 .@. ....?.......
0010 00000000 00000000 00000000 00000000 ................
0020 00000000 00000000 00000000 3f030000 ............?...
0030 00000000 00000000 3f030000 3f030000 ........?...?...
0040 3f030000 3f030000 3f030000 3f030000 ?...?...?...?...
0050 3f030000 00000000 3f030000 3f030000 ?.......?...?...
0060 3f030000 3f030000 3f030000 3f030000 ?...?...?...?...
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgErtecOtrImN0F83F8uo34UV16UpS4I5tKfM74Blq7SogsFGvMkz4t5wB+0xS8AXWR5o2xXnrEtuCmLn8mz6iopfdAzvCrmg/gQRRrWaUV1QwlF4i19pjB2jgqD65b1/siYRhxuFZBDCbR/y3X5m+rGjy6ENlGIu26qMDBH/qrCfEr848OIiHhLCAljmq0qfPfULuaFexpvqpwcE0+LxBYj1GFIMmemYDbO0cvVUL6LnVcf3R8QpwlWUVsJOEBOMTv1ahqgaDh808I4dUI+RV4FpzMEHzdzIZHokX5D5eAoUlmbgde2T/VsHlfg+32C1Q2o2jauiYyMwZjgdTBOJf rsa-key-20241010
@akavel
akavel / deco-o-matic.md
Created January 13, 2024 18:01
Hiss Deco-O-Matic
@akavel
akavel / pikchr.xml
Created May 30, 2022 22:09
Experiments with 0compile for Pikchr
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://akavel.github.io/0catalog/feeds/pikchr.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile">
<name>Pikchr</name>
<summary>PIC-like markup language for diagrams in technical documentation</summary>
<homepage>https://pikchr.org</homepage>
<!-- based on: https://docs.0install.net/tools/0compile/developers/ -->
<!-- usage:
@akavel
akavel / config.h
Last active May 29, 2022 19:15
redoxw-akavel-05expNN
#pragma once
// Mouse: Combined mode (KC_ACL0-2 momentarily set speed to constant)
#define MK_COMBINED
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "redox_w",
"keymap": "redoxw-akavel-02",
"layout": "LAYOUT",
"layers": [
[
"LT(2,KC_GRV)",
This file has been truncated, but you can view the full file.
"touchstart", false, [object TouchEvent] {
altKey: false,
AT_TARGET: 2,
bubbles: true,
BUBBLING_PHASE: 3,
cancelable: false,
cancelBubble: false,
CAPTURING_PHASE: 1,
changedTouches: [object TouchList] {
@akavel
akavel / 00-fetch.bat
Last active January 24, 2021 20:04
Fetch Windows 10 lock screen images
@echo off
setlocal
:: https://www.groovypost.com/howto/save-windows-10-spotlight-lock-screen-pictures/
:: https://stackoverflow.com/questions/7881035/checking-file-size-in-a-batch-script
set here=%CD%
cd /d %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_*\LocalState\Assets
set minsize=200000
{ nixpkgs ? import <nixpkgs> {} }:
with nixpkgs;
pkgs.symlinkJoin {
name = "myapps";
paths = with pkgs; [
sqlite ripgrep
];
}
@akavel
akavel / Arcan.nix
Created August 29, 2020 20:55 — forked from egasimus/Arcan.nix
Building Arcan on NixOS, 2020 version
({ lib, newScope, stdenv, pkgs }: let
# nicer aliases
derive = stdenv.mkDerivation;
concat = builtins.concatStringsSep " ";
# vendored libuvc: don't build, just make sources available
libuvc-src = derive {
name = "libuvc-src";
# using fetchgit instead fetchFromGitHub because