Skip to content

Instantly share code, notes, and snippets.

View otuva's full-sized avatar
💩

Onur Alp Akin otuva

💩
  • Arasaka Corporation
  • /home/otuva
View GitHub Profile
@otuva
otuva / lg_g29.xml
Last active December 8, 2024 18:41
<?xml version="1.0" encoding="utf-8"?>
<action_map name="lg_g29" device_name="lg_g29" library="lib_direct_input">
<group name="driving">
<action name="accelerate">
<axis name="di_z_axis" type="negative" deadzone="0.0" saturation="1.0" />
</action>
<action name="brake">
<axis name="di_x_axis_rotation" type="negative" deadzone="0.0" saturation="1.0" />
</action>
<action name="change_view">
sudo dnf update -y
flatpak search zaproxy
flatpak install org.zaproxy.ZAP
sudo dnf install waydroid
cd Desktop/
ls
git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
python3 -m venv venv
venv/bin/pip install -r requirements.txt
# Define a dictionary of Turkish characters and their replacements
$turkishChars = @{
'ç' = 'c'
'Ç' = 'C'
'ğ' = 'g'
'Ğ' = 'G'
'ı' = 'i'
'İ' = 'I'
'ö' = 'o'
'Ö' = 'O'
ip addr | grep "tun0" | grep "inet " | awk '{print $2}' | cut -d'/' -f1
[System.Collections.Generic.HashSet[String]]$oldUsers = @("Val1", "Val2", "Val3", "Val4") # first collection
[System.Collections.Generic.HashSet[String]]$newUsers = @("Val1", "Val2", "Val3") # second collection
$newUsers.ExceptWith($oldUsers)
$newUsers
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online
################### File Generated by GOverlay ###################
toggle_fps_limit=F1
legacy_layout=false
gpu_stats
graphs=gpu_load
gpu_temp
gpu_core_clock
usage: gamescope [options...] -- [command...]
Options:
--help show help message
-w, --nested-width game width
-h, --nested-height game height
-r, --nested-refresh game refresh rate (frames per second)
-m, --max-scale maximum scale factor
-i, --integer-scale force scale factor to integer
-W, --output-width output width
SDL_VIDEODRIVER=x11 gamemoderun gamescope -W 1920 -H 1080 -- %command%
mangohud gamemoderun %command%
SDL_VIDEODRIVER=x11 gamemoderun gamescope -w 1920 -h 1080 -W 1920 -H 1080 -- %command%
gamemoderun gamescope -w 1920 -h 1080 -W 1920 -H 1080 -e -b -- mangohud %command%
gamescope -w 3440 -h 1440 -W 1920 -H 1080 -b -- mangohud %command%
sudo find /var/log -type f -exec truncate -s 0 {} +