Skip to content

Instantly share code, notes, and snippets.


mntmn mntmn

View GitHub Profile

MNT Reform 2 Kernel Patches as of 2020-05-02

Innolux Panel Definition

  • gpu/drm/panel/panel-simple.c
  • mntref2-panel-innolux.patch
+static const struct drm_display_mode innolux_n125hce_gn1_mode = {
+       .clock = 162000,
mntmn / mntreform2-dts-displaybridges.dts
Last active Apr 30, 2020
Display bridge part of MNT Reform 2 DTS
View mntreform2-dts-displaybridges.dts
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
* Copyright 2018 Boundary Devices
* Copyright 2019-2020 MNT Research GmbH
#include "dt-bindings/input/input.h"
#include "dt-bindings/pwm/pwm.h"

Keybase proof

I hereby claim:

  • I am mntmn on github.
  • I am mntmn ( on keybase.
  • I have a public key ASAkklc_LCbNHbwBCqDlO9EizQGNWFn6QVks2i7WPqIv9wo

To claim this, I am signing this object:

mntmn / azoteq_iqs550.ino
Created May 8, 2019
Minimal Azoteq IQS550 / ProxSense TPS65 driver for Arduino (USB touchpad)
View azoteq_iqs550.ino
#define PIN_RST 7
#define PIN_RDY 8
#define ADDR_APP 0x74
#define ADDR_BOOT 0x74^0x40
#include <Wire.h>
#include <stdint.h>
void setup()
mntmn / bme680_temp.ino
Created May 7, 2019
Kind of minimal BME680 temperature reader for Arduino
View bme680_temp.ino
#include <Wire.h>
#include <stdint.h>
#define ADDR 0x77
#define addr_ctrl_meas 0x74
#define addr_temp 0x22
#define BME680_COEFF_ADDR1 0x89
#define BME680_COEFF_ADDR2 0xe1
#define BME680_COEFF_ADDR1_LEN 25
mntmn / init-el-notmuch-stuff.el
Created May 2, 2019
Notmuch workflow related snippets of emacs init.el
View init-el-notmuch-stuff.el
; fetch-mail function
(defun fetch-mail ()
"Launches ~/bin/fetch-mail"
(shell-command "fetch-mail")
(dolist (win (window-list))
(when (string= (buffer-name (window-buffer win)) "*Shell Command Output*")
(delete-window win)
;(kill-buffer "*Shell Command Output*")
mntmn /
Created May 2, 2019
mntmn's fetch-mail script for notmuch/offlineimap
# purge deleted mail!
notmuch search '--output=files' tag:deleted | xargs -l rm -f
# sync and fill address book
offlineimap -u basic -q && notmuch new && notmuch tag +sent -- folder:Sent and not tag:sent && --update
notmuch tag -inbox -unread -- tag:sent
View mntmn_igalia_chromium_patches1.txt
mntmn's igalia chromium for wayland patches to work around 2 startup crashes.
- Linux irata-debian 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1 (2018-02-18) x86_64 GNU/Linux
- vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz
View ledgui.tcl
set s1r 0
set s1g 0
set s1b 0
proc updateStrip {} {
global s1r s1g s1b
puts "$s1r $s1g $s1b"
exec nc -u 3333 -c "echo 3/1/$s1r/$s1g/$s1b"
exec nc -u 3333 -c "echo 2/1/$s1r/$s1g/$s1b"
View sendmsg.js
const IOTA = require('./iota.lib.js/lib/iota.js')
const ccurlProvider = require('../iotaproxy/lib/ccurlprovider.js');
var iota = new IOTA({
'host': '',
'port': 80
You can’t perform that action at this time.