Skip to content

Instantly share code, notes, and snippets.

View otuva's full-sized avatar
💩

Onur Alp Akin otuva

💩
View GitHub Profile
# 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'
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