Skip to content

Instantly share code, notes, and snippets.

View valeth's full-sized avatar
🦀
rusting

Patrick Auernig valeth

🦀
rusting
View GitHub Profile
@valeth
valeth / drg-mods.md
Last active July 11, 2024 17:20
Mod list for Deep Rock Galactic

Mods that are distributed as pak files require the use of an external mod manager like Mint

Some mods might not be updated for the current game version, but depending on what the mod changes it still works regardless.

req: Required by all clients opt: Optional for clients

QoL & Utility

@valeth
valeth / steam-230410.log
Created August 14, 2022 13:57
Warframe Proton Logs (Flatpak)
This file has been truncated, but you can view the full file.
======================
Proton: 1659862247 GE-Proton7-29
SteamGameId: 230410
Command: ['/run/system/root/valeth.games/SteamLibrary/steamapps/common/Warframe/Tools/Launcher.exe', '-cluster:public', '-registry:Steam']
Options: {'forcelgadd', 'noopwr'}
depot: 0.20220727.64
pressure-vessel: 0.20220726.0
scripts: v0.20220726.0-0-ga110829
soldier: 0.20220726.0 soldier 0.20220726.0
Kernel: Linux 5.19.1-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 Aug 2022 16:06:13 +0000 x86_64
import bluetooth
def main(uuid):
# port = find_port(uuid)
port = 11
sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM)
sock.connect((uuid, port))
def restore(current, item_sanity):
if current + item_sanity > 999:
return
else:
update_sanity(current + item_sanity)
@valeth
valeth / obs_python_plugin_error.log
Last active April 11, 2019 18:41
Symbol lookup error in python script when loaded from OBS
With import commented out:
[music_info.py] ['',
[music_info.py] '/usr/lib/python37.zip',
[music_info.py] '/usr/lib/python3.7',
[music_info.py] '/usr/lib/python3.7/lib-dynload',
[music_info.py] '/home/valeth/.local/lib/python3.7/site-packages',
[music_info.py] '/usr/lib/python3.7/site-packages',
[music_info.py] '/usr/lib/obs-scripting',
[music_info.py] '/home/valeth/Workspace/Scratch/music_info/']
[music_info.py] '3.7.3 (default, Mar 26 2019, 21:43:19) \n[GCC 8.2.1 20181127]'
#!/usr/bin/env ruby
# frozen_string_literal: true
# rubocop:disable all
require "json"
require "active_support/core_ext/hash/keys"
FORMAT = " | Now Playing: %{title} by %{artist} in %{album}"
module MPD
@valeth
valeth / steam-system-info.json
Last active February 17, 2020 12:40
Steam System Information
{
"can-write-uinput" : true,
"steam-installation" : {
"path" : "/home/valeth/.local/share/Steam",
"data_path" : "/home/valeth/.local/share/Steam",
"issues" : [
]
},
"runtime" : {
"path" : "/home/valeth/.local/share/Steam/ubuntu12_32/steam-runtime",
@valeth
valeth / rottensys_check.rb
Last active March 17, 2018 14:04
RottenSys Check
#!/usr/bin/env ruby
services = /
com.android.yellowcalendarz
|com.changmi.launcher
|com.android.services.securewifi
|com.system.service.zdsgt
/x
devices = `adb devices`.lines[1..-2].map { |x| x.split("\t").first }
@valeth
valeth / snippets.coffee
Created March 4, 2018 11:21
JavaScript/CoffeeScript Snippets
titleize = (string) ->
tmp = string[0].toUpperCase()
for char in string.slice(1)
if char is char.toUpperCase()
tmp += " #{char}"
else
tmp += char
tmp
.wklc {
color: #FFFFFF;
display: flex;
justify-content: center; }
.wklc-force-hidden {
display: none !important; }
.wklc-lesson-count {
border-radius: 3px !important; }
.wklc-items {
display: flex;