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 / dotnetfix.sh
Created March 26, 2025 18:24
.NET SDK was resolved to /usr/bin/snap, but it failed to run. It is possible the installation of the .NET is corrupted, or not properly signed, or has no permission to run.
sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet
@otuva
otuva / 99-logi-g29.rules
Created March 9, 2025 11:52
/usr/lib/udev/rules.d/99-logi-g29.rules
KERNEL=="event10", MODE="0666"
# JACK client config file for PipeWire version "1.2.4" #
#
# Copy and edit this file in /etc/pipewire for system-wide changes
# or in ~/.config/pipewire for local changes.
#
# It is also possible to place a file with an updated section in
# /etc/pipewire/jack.conf.d/ for system-wide changes or in
# ~/.config/pipewire/jack.conf.d/ for local changes.
#
opkg list-upgradable | cut -f 1 -d ' ' | xargs -r opkg upgrade
% isim
% num
% Computer Engineering
% CEN103 Introduction to Programming
% Project 2
% 20-21 Autumn
% Deniz Dal
% while loops cuz we're waiting for user to type -1
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 mangohud gamemoderun %command% -vulkan -USEALLAVAILABLECORES -cpuLoadRebalancing -high -ignorepipelinecache
PROTON_ENABLE_NVAPI=1 mangohud gamemoderun %command% -ignorepipelinecache -vulkan
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 mangohud gamemoderun %command% -vulkan -USEALLAVAILABLECORES -cpuLoadRebalancing -high -ignorepipelinecache
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1
@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'