Skip to content

Instantly share code, notes, and snippets.

View VoodaGod's full-sized avatar

Jason Rensburger VoodaGod

  • Munich, Germany
View GitHub Profile
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active August 23, 2024 16:59
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@e13h
e13h / README.md
Created August 25, 2020 23:24
Setting up your Linux computer to not sleep while Plex Media Server is streaming

Prevent Computer From Sleeping While Plex Media Server is Streaming

With the help of Google, I was able to piece together a solution for preventing my Linux computer from sleeping while streaming something via Plex.

My workflow right now is to use an app called Wake Me Up to send a wake-on-lan signal to my Linux computer running Plex Media Server, which allows my Plex client apps to discover the server. The server won't go to sleep while there are any streams running from the server as long as the service defined below is running.

References

@ChristophHaag
ChristophHaag / gist:79587495848f34771a0a2589eb42f198
Last active December 21, 2021 18:50
Using null driver in SteamVR on Linux
If you have other steamvr plugins intalled, e.g. the osvr plugin in /usr/lib/openvr/osvr/, remove it temporarily to avoid with annoying behavior like slow osvr startup:
~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64/vrpathreg removedriver /usr/lib/openvr/osvr
If you do want to use it later, enable it again:
~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64/vrpathreg adddriver /usr/lib/openvr/osvr
Set up ~/.local/share/Steam/config/steamvr.vrsettings like this:
{
"driver_lighthouse" : {
@tomfanning
tomfanning / clear-credential-manager.cmd
Last active September 2, 2024 07:26
Batch file to clear all credentials from Windows Credential Manager
@echo off
cmdkey.exe /list > "%TEMP%\List.txt"
findstr.exe Target "%TEMP%\List.txt" > "%TEMP%\tokensonly.txt"
FOR /F "tokens=1,2 delims= " %%G IN (%TEMP%\tokensonly.txt) DO cmdkey.exe /delete:%%H
del "%TEMP%\List.txt" /s /f /q
del "%TEMP%\tokensonly.txt" /s /f /q
echo All done
pause
@kleber-swf
kleber-swf / .gitignore
Last active January 20, 2023 00:21
Git ignore for Unity Projects
# =============== #
# Unity generated #
# =============== #
[Tt]emp/
[Oo]bj/
[Bb]uild
/[Ll]ibrary/
/[Ll]ogs/
sysinfo.txt
*.stackdump