Skip to content

Instantly share code, notes, and snippets.

View SjB's full-sized avatar

Steve Beaulac SjB

  • London Ontario Canada
View GitHub Profile
// -*- csharp -*- -- protobuild.cake : short-description --
// Copyright (c) 2018 National Centre for Audiology. All right reserved.
using Cake.Core;
using Cake.Core.Polyfill;
using Cake.Core.IO.Arguments;
public
class Protobuild {
<?xml version="1.0" encoding="utf-8"?>
<ExternalProject Name="Eto">
<Binary
Name="Eto.Forms"
Path="./.libs/Eto.Forms/lib/netstandard1.0/Eto.dll" />
<Platform Type="Linux">
<Binary
Name="Eto.Platform.Gtk3"
Path="./.libs/Eto.Platform.Gtk3/lib/net45/Eto.Gtk3.dll" />
@SjB
SjB / FindCppUnit.cmake
Created June 20, 2018 16:18
FindCppUnit.cmake
# - Find the native CppUnit includes and library
#
# This module defines
# CppUnit_FOUND, If false, do not try to use CppUnit
# CppUnit_INCLUDE_DIR, where to find cppunit.h, etc.
# CppUnit_LIBRARIES, the libraries to link against to use CppUnit
# CppUnit::CppUnit
find_package(PkgConfig QUIET)
pkg_check_modules(CppUnit QUIET cppunit)
(use-package polymode
:ensure t
:defer t
:hook (vue-mode . lsp-deferred)
:mode ("\\.vue\\'" . vue-mode)
:config
(define-innermode poly-vue-template-innermode
:mode 'html-mode
:head-matcher "^<[[:space:]]*\\(?:template\\)[[:space:]]*>"
:tail-matcher "^</[[:space:]]*\\(?:template\\)[[:space:]]*>"
[
{
"name": "Corne, default layer",
"author": "https://github.com/c0psrul3",
"plate": false,
"keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json",
"qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT"
},
[
{
@SjB
SjB / i2s2.patch
Created May 22, 2024 21:45
sun50i-h616-orangepi-zero2w.dts I2S patch
diff --git c/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2w.dts w/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2w.dts
index 27e817b379a4..fcb2d852d51b 100755
--- c/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2w.dts
+++ w/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2w.dts
@@ -389,7 +389,7 @@ spidev@1 {
&codec {
allwinner,audio-routing =
- "Line Out", "LINEOUT";
+ "Line Out", "LINEOUT";