Skip to content

Instantly share code, notes, and snippets.

View dw5's full-sized avatar
πŸ‡¨πŸ‡­
Making better tasting swiss cheese for mail

dw5

πŸ‡¨πŸ‡­
Making better tasting swiss cheese for mail
  • ‍
  • 19:56 (UTC +03:00)
  • X @0x8616
View GitHub Profile
@dw5
dw5 / keybase.md
Last active September 12, 2019 17:04

Keybase proof

I hereby claim:

  • I am dw5 on github.
  • I am bads_tm (https://keybase.io/bads_tm) on keybase.
  • I have a public key ASCbHhE5rUIxv592hk1xqW-rOcVlx7EPILPNOy5ukfsniQo

To claim this, I am signing this object:

@dw5
dw5 / tchfix.sh
Last active December 30, 2017 16:50
linux tablet touch fix when rotated
#!/bin/bash
# This script rotates the screen and touchscreen input 180 degrees, disables the touchpad, and enables the virtual keyboard
# And rotates screen back if the touchpad was disabled
# experimental / source: https://www.reddit.com/r/linux4noobs/comments/539fw5/how_would_i_rotate_the_touch_screen_in_linux/
# to get device list "xinput list"
isEnabled=$(xinput --list-props 'SynPS/2 Synaptics TouchPad' | awk '/Device Enabled/{print $NF}')
if [ $isEnabled == 1 ]
@dw5
dw5 / SWINEExtraOptionsSettings.ini
Last active November 1, 2019 13:31
SWINEExtraOptionsSettings.ini
[Hotkeys] // Look at http://cherrytree.at/misc/vk.htm for key values (decimal)
AddSP = 104 // Hotkey to add SP (Default = 104 = Num8 key)
DecSP = 98 // Hotkey to decrease SP (Default = 98 = Num2 key)
AddOrDecSPAmount = 100 // Amount to add/decrease when pressed AddSP or DecSP keys. (Default = 100)
[Camera]
MaxZoomIn = -10 // Maximum zoom in value for camera. (Default = 10.0)
MaxZoomOut = 4444 // Maximum zoom out value for camera. (Default = 20.0)
MaxAngleUp = -2 // Maximum up angle value for camera. (Default = -1.13)
MaxAngleDown = 0.1 // Maximum down angle value for camera. (Default = -0.7)
@dw5
dw5 / NFSCExtraOptionsSettings.ini
Last active August 19, 2018 08:23
NFSCExtraOptionsSettings.ini
[Hotkeys] // Look at http://cherrytree.at/misc/vk.htm for key values (decimal)
HeatLevelHack = 118 // Enables Ultimate Force Heat Level hack, Force-enables Heat Level Override and lets you select a heat level with the key below. (Default = 118 = F7 key)
ChangeHeatLevel = 33 // Changes heat levels when the Ultimate Force Heat Level hack is enabled. (Default = 33 = PageUp key)
ToggleCops = 145 // Toggles Cops on/off. Use with Ultimate Force Heat Level hack. (Default = 145 = Scroll Lock key)
CopLights = 79 // Enables Cop Lights. Use a cop car for best results. (Default = 79 = O key)
Headlights = 72 // Changes Headlights between closed (0), short (1) and long (2). (Default = 72 = H key)
UnlockAllThings = 116 // Unlocks everything in game. (Default = 116 = F5 key)
AutoDrive = 117 // Enables Auto Drive (Drunk Driver) hack. (Default = 117 = F6 key)
PhysSwitch = 75 // Change
// WARNING: DO NOT EDIT ANY LINE STARTS WITH "//".
//
// ------------------------------------------------------
//
// File format: (Physics Type Name) = (New Physics Type Hash)
//
// ------------------------------------------------------
//
// For example; if you want race cars to have truck physics, you should edit Racers entry in [Main] section like that:
//