Skip to content

Instantly share code, notes, and snippets.

View StarterX4's full-sized avatar
🎃

Dominik Adrian Grzywak StarterX4

🎃
View GitHub Profile
/*
SourcePawn is Copyright (C) 2006-2015 AlliedModders LLC. All rights reserved.
SourceMod is Copyright (C) 2006-2015 AlliedModders LLC. All rights reserved.
Pawn and SMALL are Copyright (C) 1997-2015 ITB CompuPhase.
Source is Copyright (C) Valve Corporation.
All trademarks are property of their respective owners.
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
@StarterX4
StarterX4 / \etc\YaST2\ProductFeatures
Last active November 14, 2023 10:14
OpenSUSe MicroOS
[globals]
additional_kernel_parameters = "swapaccount=1"
addons_default = "no"
base_product_license_directory = "/usr/share/licenses/product/base/"
boot_timeout = "8"
default_ntp_setup = "yes"
default_target = ""
dhclient_set_hostname = "yes"
disable_os_prober = "yes"
disable_register_w3m = "no"
@StarterX4
StarterX4 / manifest.json
Created November 11, 2023 22:35
Sweet-Dark Fixed — Firefox Theme
{
"manifest_version": 2,
"version": "5.0",
"name": "Sweet-Dark Fixed",
"theme": {
"images": {},
"properties": {},
"colors": {
"toolbar": "rgb(22, 25, 37)",
"toolbar_field": "rgb(12, 14, 20)",
@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?)
#!/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
[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
#pragma semicolon 1
#include <colors>
#include <sourcemod>
#include <builtinvotes>
int targetSwitchClientID = -1;
public Plugin myinfo =
{
name = "Vote To Spec",
/*
*
* 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
#!/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
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
[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