Skip to content

Instantly share code, notes, and snippets.

View jeevcat's full-sized avatar
🦀

Sam Jeeves jeevcat

🦀
View GitHub Profile
@jeevcat
jeevcat / SofleKeyboard.kbd.json
Last active December 12, 2022 08:34 — forked from josefadamcik/SofleKeyboard.kbd.json
SofleKeyboard
[
{
"name": "SofleKeyboard",
"author": "Josef Adamcik",
"switchMount": "cherry"
},
[
{
"y": 0.2,
"x": 3,
<TaskOptions>
<TaskOptions>
<option name="arguments" value="-i $FileName$" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="h" />
<option name="immediateSync" value="false" />
<option name="name" value="clang-format headers" />
<option name="output" value="" />
ACTION=="change", SUBSYSTEM=="drm", ENV{HOTPLUG}=="1", RUN+="/usr/local/sbin/start-stop-kodi"
#!/bin/bash
echo "TV event detected..." >> /home/sam/tv/tv.log
pidof -o %PPID -x $0 >/dev/null && echo "Script already running" && exit 1
if test $(find "/tmp/kodi-started" -mmin 0.1); then
echo "Another TV event happened less than 6 seconds ago. Ignoring." >> /home/sam/tv/tv.log
exit
fi
@jeevcat
jeevcat / ctags-ue4.cmd
Created May 13, 2019 08:36
[ctags] Generate ctags for UE4
ctags -R -a --languages=C++,C# -f %home%\.vimtags "C:\Program Files\Epic Games\UE_4.22\Engine"
@jeevcat
jeevcat / blueprint-callstack.c
Last active May 10, 2019 08:57
[Blueprint callstack] Command you can run from the Immediate Window in Visual Studio that will print the current Blueprint/Scripting callstack #ue4
{,,UE4Editor-Core}::PrintScriptCallstack()