Skip to content

Instantly share code, notes, and snippets.

@wailashi
wailashi / inline_fix.patch
Created July 31, 2017 15:24
Fixes kiibohd controller build errors for infinity ergodox on arch linux.
diff --git a/Debug/cli/cli.c b/Debug/cli/cli.c
index 0b9ad37..d533755 100644
--- a/Debug/cli/cli.c
+++ b/Debug/cli/cli.c
@@ -58,7 +58,7 @@ CLIDict_Def( basicCLIDict, "General Commands" ) = {
// ----- Functions -----
-inline void prompt()
+static inline void prompt()
@wailashi
wailashi / testcase.py
Created August 7, 2019 07:14
Pyqtgraph HistogramLUTWidget getLookupTable error.
import numpy as np
from pyqtgraph.Qt import QtGui, QtCore
import pyqtgraph as pg
app = QtGui.QApplication([])
win = QtGui.QMainWindow()
win.resize(800,600)
win.show()
win.setWindowTitle('pyqtgraph example: Histogram LUT')