Skip to content

Instantly share code, notes, and snippets.

@derailius
derailius / sdrswitch.sh
Created February 28, 2020 07:13
sdrswitch
#!/bin/bash
#there are a couple of extra KEYCODE presses in a couple of spots so that the script doesn't go too fast
firestickip="192.168.0.193"
adb kill-server
adb connect $firestickip
adb wait-for-device
adb shell am force-stop com.plexapp.android #kills plex
adb shell am force-stop org.xbmc.kodi #kills kodi
adb shell input keyevent KEYCODE_HOME
adb shell am start -a android.settings.SETTINGS
@derailius
derailius / hdrswitch.sh
Created February 28, 2020 07:14
hdrswitch
#!/bin/bash
#there are a couple of extra KEYCODE presses in a couple of spots so that the script doesn't go too fast
firestickip="192.168.0.193"
adb kill-server
adb connect $firestickip
adb wait-for-device
adb shell am force-stop com.plexapp.android #kills plex
adb shell am force-stop org.xbmc.kodi #kills kodi
adb shell input keyevent KEYCODE_HOME
adb shell am start -a android.settings.SETTINGS
ntic -std=c99 -O3 -s skyconv.c n64graphics.c utils.c -lm -o skyconv -O2 -lm
In file included from n64cksum.c:5:
utils.h:74: warning: "ERROR" redefined
74 | #define ERROR(...) fprintf(stderr, __VA_ARGS__)
|
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71,
from utils.h:10,
from n64cksum.c:5:
C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:75: note: this is the location of the previous definition
75 | #define ERROR 0
@derailius
derailius / dark.css
Last active July 19, 2023 11:22
dark.css
#alerts>div[style] {
background-color: #365363 !important;
color: #f9f9f9 !important;
text-shadow: 1px 1px 1px #111 !important;
background: url("images/pattern.png") repeat scroll 0 0 #1b1b1d;
repeat scroll 0 0 #1b1b1d !important;
margin-bottom: 3px !important;
-moz-border-bottom-colors: none !important;
-moz-border-left-colors: none !important;
-moz-border-right-colors: none !important;