Skip to content

Instantly share code, notes, and snippets.

View kaechele's full-sized avatar

Felix Kaechele kaechele

View GitHub Profile
@kaechele
kaechele / vizdapm-adb
Last active February 23, 2024 01:20
Visualize ALSA ASoC DAPM routings on remote Android devices via ADB
#!/bin/bash
#
# Copyright 2011, 2012, 2013 Wolfson Microelectronics plc
# Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# A tool to generate a visual graph of the current DAPM configuration.
diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile
index 588774d933940..3880612498448 100644
--- a/arch/arm/boot/dts/qcom/Makefile
+++ b/arch/arm/boot/dts/qcom/Makefile
@@ -238,33 +238,35 @@ dtb-$(CONFIG_ARCH_MSM8940) += msm8940-pmi8937-cdp.dtb \
msm8940-pmi8940-rcm.dtb \
msm8940-pmi8940-qrd-sku7.dtb
-dtb-$(CONFIG_ARCH_MSM8953) += msm8953-sim.dtb \
- msm8953-rumi.dtb \
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@kaechele
kaechele / proflame2_captures.txt
Created July 30, 2023 19:09
Proflame 2 remote packet captures
21dd02023e3f16
21dd0251e2a9e7
47eb02004661a5
47eb02005561f7
47eb0200566194
47eb0201364032
47eb0201404063
47eb0201414042
47eb0201424021
47eb0201434000
@kaechele
kaechele / asdm-mac.zsh
Last active November 1, 2023 14:58
Mac Launcher for Cisco ASDM
#!/bin/zsh
# Cisco ASDM Launcher for Mac
# 2023-01-09 Felix Kaechele <felix@kaechele.ca>
# Note: This method of running ASDM on Mac is not supported by Cisco
local asdm_path=~/.asdm
# ASDM will only work with Java 8 (aka 1.8.0)
local java_version=1.8.0
local java_home=`/usr/libexec/java_home -v $java_version -F`
# Alectra Meter Data Download
# (c) 2021 Felix Kaechele <felix@kaechele.ca>
# SPDX-License-Identifier: CC-BY-SA-4.0
import datetime
import re
from datetime import date
from dateutil.relativedelta import relativedelta
from requests_html import HTMLSession
@kaechele
kaechele / td-client-v6.patch
Created November 7, 2018 19:41
TD v6 Client
diff --git a/client/l2tp_client.c b/client/l2tp_client.c
index 16fdf3c..6ea2aae 100644
--- a/client/l2tp_client.c
+++ b/client/l2tp_client.c
@@ -65,6 +65,7 @@
// Overhead of IP and UDP headers for measuring PMTU.
#define IPV4_HDR_OVERHEAD 28
+#define IPV6_HDR_OVERHEAD 48
@kaechele
kaechele / keybase.md
Created September 22, 2014 20:05
Keybase

Keybase proof

I hereby claim:

  • I am kaechele on github.
  • I am fk (https://keybase.io/fk) on keybase.
  • I have a public key whose fingerprint is 0E71 17E4 F994 6744 B8FE 7E71 A804 3902 2C2D D96B

To claim this, I am signing this object:

There were 2 failures:
1) Test_Piwik_Integration_ManyVisitorsOneWebsiteTest::testApi with data set #0 (array('UserCountry'), array(1, '2010-01-03 11:22:33', array('month')))
Differences with expected in: /home/felix/Development/piwik/tests/PHPUnit/Integration/processed/test_ManyVisitorsOneWebsiteTest__UserCountry.getCountry_month.xml
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
<row>
- <label>France</label>