Skip to content

Instantly share code, notes, and snippets.

View ckuethe's full-sized avatar

Chris Kuethe ckuethe

View GitHub Profile
@ckuethe
ckuethe / gist:c94c045b61867d0979de
Last active August 29, 2015 14:20
mx53 bootroom hopper annotations
{
"0": {
"comm": "\nSection .text\n\nRange 0x0 - 0x4000 (16384 bytes)\nFile offset 65536 (16384 bytes)\n",
"icom": null,
"name": "BOOTROM_BASE",
"seg": 0
},
"148": {
"comm": null,
"icom": null,
@ckuethe
ckuethe / gist:682c0083bc3ff20a8fce
Last active November 28, 2015 16:44
mx53 address/register names, extracted from the documentation. addresses are in decimal
1677328384 ARM_PVID
1677328388 ARM_GPC
1677328396 ARM_LPC
1677328400 ARM_NLPC
1677328404 ARM_ICGC
1677328408 ARM_AMC
1677328416 ARM_NMC
1677328420 ARM_NMS
1677279232 AHBMAX_MPR0
1677279488 AHBMAX_MPR1
CM -------------------------------------------------------------------
CM collinear wire antenna for 1090MHz using 14AWG solid copper wire
CM
CM _ _
CM / \ / \
CM | | | |
CM \ / \ /
CM (feed)________________X________________________X________________________ ...
CM ^ ^
CM | ^ | # Repeat these loops and wires
@ckuethe
ckuethe / ChromeAppDownloader.py
Last active March 18, 2024 07:23 — forked from arulrajnet/ChromeAppDownloader.py
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
raise RuntimeError("Totally unmaintained, probably broken, but I have a hard time deleting anything")
"""
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
Referred from chrome-extension-downloader dot com slash how-does-it-work dot php
"""
#!/usr/bin/env python
# coding: utf-8
# Copyright (c) 2017 Chris Kuethe
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.6
Comment: Hostname: keys.mainframe.cx
mQINBFkokVwBEACrOoEtBcq4u0s2GUwGjOuPK4n68YXaePzGdLGEx+WvH5I+435pIDuaEMlx
aLcSUtXVfl10k+vbpn1z4nqNfggrmRTIJWzXKGpUaaxWs1GahEbEMWep9tXW1QMX/vJ4BdEA
RYeLO9xv9OLiis3jmsvPOUTVFVx6in3AJithqYW4M94ybl0QdOwJXM89L2iSToI1Y6Q0q4cu
zRTvuwqa+7u32Uka1USa6AzNPIVtJmi5G1jPKZkn7OekY19b4oL3iMqd4p+o0QqTJlNTv48C
xu/Cg15CX2rAHObF2X2ha02iHVjkbQtBi3UmYcN0uIsfATQ8fKP9r5fhrGM93FGYgP2JWwlD
5zAiuYH9W3b0+LrPthuqN+mAaPBvIptlXSQhw6W34zGUXKP5n+3w6sTCkro/DvSqFV9ad4yl

Keybase proof

I hereby claim:

  • I am ckuethe on github.
  • I am ckuethe (https://keybase.io/ckuethe) on keybase.
  • I have a public key ASDgAjRTI6kkSU61wtvm9xplHw8dGKUSh9pBq3n_edlayAo

To claim this, I am signing this object:

@ckuethe
ckuethe / shaarli-build.md
Created June 5, 2017 04:23
Notes to self about how to build shaarli (or other random things I'm hacking on)
sudo apt install gradle openjdk-8-jdk-headless

wget http://http.us.debian.org/debian/pool/main/libn/libnative-platform-java/libnative-platform-jni_0.11-5_amd64.deb
sudo dpkg -i libnative-platform-jni_0.11-5_amd64.deb # known issue about symbols missing
git clone https://github.com/dimtion/Shaarlier

vi app/build.gradle # use the right build tool version so i find aapt
env ANDROID_HOME=/opt/android-studio gradle build
@ckuethe
ckuethe / openocd-trinket.cfg
Created August 30, 2018 16:09
OpenOCD configuration for an Adafruit Trinket M0 (probably others too) connected via generic ST-Link v2 programmer
# OpenOCD configuration for the Adafruit Trinket M0
# https://www.adafruit.com/product/3500
# connected via a generic ST-Link/v2 compatible programmer
# https://amazon.com/s/?keywords=stlink%20v2
# Consult the pinout for the location of the SWCLK and SWDIO pins
# and connect the 3.3v line on the programmer to VBAT
# https://learn.adafruit.com/assets/49778
# It's not necessary to set the adapter speed, since OpenOCD
@ckuethe
ckuethe / micropython-ssd1306-demo.py
Created November 26, 2018 08:15
Micropython Demonstration of using an ESP8266 with integrated SSD1306
# -*- coding: utf-8 -*-
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 syn=python
# quick demo of displaying text on an esp8266 with integrated SSD1306
# OLED such as this: https://smile.amazon.com/gp/product/B076JDVRLP
from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
from random import getrandbits