Skip to content

Instantly share code, notes, and snippets.

Avatar
🇪🇺

Dominik Adrian Grzywak StarterX4

🇪🇺
View GitHub Profile
@StarterX4
StarterX4 / Install_Proton_as_Wine_standalone.sh
Last active August 23, 2023 22:58
Install GE-Proton 8.13 as a headless standalone Wine (With headless servers in mind?)
View Install_Proton_as_Wine_standalone.sh
#!/bin/bash
export h=~/compatibilitytools.d/ ;
mkdir $h ; cd $h ;
wget https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-13/GE-Proton8-13.tar.gz ;
tar -zxf GE-Proton8-13.tar.gz ;
rm GE-Proton8-13.tar.gz ;
if ln -s $(echo ~)/compatibilitytools.d/GE-Proton8-13/files/bin/wine64 ~/wine64; then echo 'Symlink: ~/wine64'; else printf '#!/bin/bash\nexec ~/compatibilitytools.d/GE-Proton8-13/files/bin/wine64' > ~/wine64; printf 'Failed to create symlink.\nScript: ~/wine64'; chmod +x ~/wine64; fi;
if ln -s $(echo ~)/compatibilitytools.d/GE-Proton8-13/files/bin/wine ~/wine; then echo 'Symlink: ~/wine'; else printf '#!/bin/bash\nexec ~/compatibilitytools.d/GE-Proton8-13/files/bin/wine' > ~/wine; printf 'Failed to create symlink.\nScript: ~/wine'; chmod +x ~/wine; fi
View gist:358d41ee623ec9e9ca7dff7fd8050781
[starterx4@doadgrz ~]$ easyeffects -q
[starterx4@doadgrz ~]$ G_MESSAGES_DEBUG=easyeffects easyeffects
(process:5689): easyeffects-DEBUG: 16:05:25.395: easyeffects.cpp:35 easyeffects version: 7.0.0
(process:5689): easyeffects-DEBUG: 16:05:25.396: easyeffects.cpp:45 locale directory: /usr/share/locale
(easyeffects:5689): easyeffects-DEBUG: 16:05:25.397: presets_manager.cpp:49 system input presets directory: "/etc/easyeffects/input";
(easyeffects:5689): easyeffects-DEBUG: 16:05:25.397: presets_manager.cpp:49 system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:5689): easyeffects-DEBUG: 16:05:25.397: presets_manager.cpp:49 system input presets directory: "/home/starterx4/.config/kdedefaults/easyeffects/input";
(easyeffects:5689): easyeffects-DEBUG: 16:05:25.397: presets_manager.cpp:52 system output presets directory: "/etc/easyeffects/output";
(easyeffects:5689): easyeffects-DEBUG: 16:05:25.397: presets_manager.cpp:52 system output presets dire
View gist:d70601bee88804d33ea63498ee66d239
#pragma semicolon 1
#include <colors>
#include <sourcemod>
#include <builtinvotes>
int targetSwitchClientID = -1;
public Plugin myinfo =
{
name = "Vote To Spec",
View New VoteToSpec.sp
/*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
View Valheim dedicated server start script
#!/bin/sh
# replace "steam" with the user you created, leave it alone if you've actually called your user "steam"
S_USER="steam"
# Do not change this path
PATH=/bin:/usr/bin:/sbin:/usr/sbin
# The path to the home folder, only change this if you have a different installation path than in the guide.
DIR=/home/steam
View cedric oreo: _proc _cmdline
cedric:/ $ su
cedric:/ # cat /proc/cmdline
sched_enable_hmp=1 console=null androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 vmalloc=400M buildvariant=user androidboot.emmc=true androidboot.serialno=ZY3225HBGK androidboot.baseband=msm androidboot.mode=normal androidboot.device=cedric androidboot.hwrev=0x8500 androidboot.radio=EMEA androidboot.powerup_reason=0x00004000 androidboot.bootreason=reboot msm_poweroff.download_mode=0 androidboot.fsg-id= androidboot.wifimacaddr=D4:63:C6:E9:4B:48,D4:63:C6:E9:4B:49 androidboot.btmacaddr=D4:63:C6:E9:4B:47 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mot_tianma_497_1080p_video_v0 androidboot.bootloader=0xB831 androidboot.carrier=reteu androidboot.poweroff_alarm=0 androidboot.build_vars=NA androidboot.hardware.sku=XT1676 androidboot.secure_hardware=1 androidboot.bl_state=2 androidboot.cid=0x32 androidboot.uid=98B6900F00000000000000000000 androidboot.write_pro
View cedric oreo: fastboot oem partition
[starterx4@doadgrz ~]$ fastboot oem partition help
(bootloader) usage: fastboot oem partition [options]
(bootloader)
(bootloader) options:
(bootloader) (none given) list all partitions
(bootloader) <name> list a partition
(bootloader) dump <name> [<offset> [size]] dump a partition
(bootloader) md5 <name> [<offset> [size]] md5 of a partition
(bootloader) sha256 <name> [<offset> [size]] sha256 of a partition
(bootloader) help show usage
View cedric oreo partitions
cedric:/ $ su
cedric:/ # blkid
/dev/block/zram0: TYPE="swap" UUID="3e23605f-9042-40a0-893e-339fe596552c"
/dev/block/mmcblk0p19: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p22: LABEL="dsp" UUID="af32c008-2a39-7e5b-a5dc-201456d93103" TYPE="ext4"
/dev/block/mmcblk0p29: LABEL="FSG" UUID="e4a4f807-109f-5459-8138-e744bc88c397" TYPE="ext4"
/dev/block/mmcblk0p30: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p51: LABEL="oem" UUID="8ec89b07-796d-0757-b45e-ed3b3b960e08" TYPE="ext4"
/dev/block/mmcblk0p52: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p53: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
View cedric oreo cat _proc_mounts
cedric:/ $ su
cedric:/ # cat /proc/mounts
rootfs / rootfs ro,seclabel,size=1384960k,nr_inodes=143004 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=1465828k,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
proc /proc proc rw,relatime,gid=3009,hidepid=2 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
@StarterX4
StarterX4 / gist:4312d91a3d9af9ca7c34382d4a44812d
Created June 9, 2021 14:32
(GDB log) Steam with STEAM_RUNTIME=1 after 7 Jun update Steam Native running issue
View gist:4312d91a3d9af9ca7c34382d4a44812d
[starterx4@doadgrz ~]$ DEBUGGER=gdb STEAM_RUNTIME=1 steam
Setting up Steam content in /home/starterx4/.local/share/Steam
rm: cannot remove '/home/starterx4/.steam/steam': Is a directory
Running Steam on manjarolinux 21.0.4 64-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
Steam client's requirements are satisfied
gdb/cgdb launch with ARGSFILE: starterx4.steam.gdb.4M5L
gdb -x starterx4.steam.gdb.4M5L --args /gry/Steam/steam/ubuntu12_32/steam
GNU gdb (GDB) 10.2