Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View godlike64's full-sized avatar

godlike64 godlike64

  • Barcelona, Spain
View GitHub Profile
@godlike64
godlike64 / Lircmap.xml
Created January 7, 2023 13:33
Working Lircmap.xml for the SRM7500 & Kodi. Tested on CoreELEC 19.2
<!-- Lircmap.xml for Philips SRM7500 MCE Remote -->
<lircmap>
<remote device="SRM-7500">
<power>KEY_POWER</power>
<back>KEY_BACK</back>
<info>KEY_MORE</info>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<left>KEY_LEFT</left>
@godlike64
godlike64 / philips-srm-7500-lircd.conf
Last active January 7, 2023 16:18
Working LIRC (v0.10.1) configuration. Tested in CoreELEC 19.2. Needs to be run with "lircd -d auto --driver=srm7500libusb --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc /path/to/philips-srm-7500-lircd.conf"
# Philips SRM-7500 RF configuration for use with the srm7500libusb driver
# Made for work with KODI, best for OSMC
# VERSION 1.3 by Matis - https://github.com/Matis253/SRM7500-kodi
# Remake from original - https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/philips/srm7500libusb.lircd.conf
# which is too old to work well so I decided to rewrite all configuration from zero (especially "begin codes")
begin remote
name SRM-7500
bits 16
@godlike64
godlike64 / gist:5422d5cd5fca3cf2f6f0b787f242ba4b
Created June 24, 2021 22:10
GTK+-3.24.29 dead keys fix
# This patch fixes GTK+'s bug with defaulting to preedit behaviour on all dead keys.
# I don't care what anybody says, this is a bug, and it also interferes with the mouse selection clipboard.
# GTK+ devs have already stated they will not bring back the old behaviour via a config option or anything.
# Something about the test matrix or something.
# This patch applies cleanly to 3.24.29, might need modifications in the future.
--- a/gtk/gtkimcontextsimple.c 2021-06-24 17:46:38.074377933 -0300
+++ b/gtk/gtkimcontextsimple.c 2021-06-24 17:46:44.133320360 -0300
@@ -1109,7 +1109,7 @@
gunichar ch;

Keybase proof

I hereby claim:

  • I am godlike64 on github.
  • I am godlike64 (https://keybase.io/godlike64) on keybase.
  • I have a public key whose fingerprint is BF41 A731 E329 F3B5 017E F52C DB76 15FC 0408 BCB2

To claim this, I am signing this object:

include:
- makeconf
cpuinfo2cpuflags:
pkg.installed:
- refresh: False
- name: app-portage/cpuinfo2cpuflags
cpuflags:
cmd.run: