Skip to content

Instantly share code, notes, and snippets.

View dtk1985's full-sized avatar

dtk dtk1985

  • Hungary
  • 14:31 (UTC +02:00)
View GitHub Profile
@pavinjosdev
pavinjosdev / yubikey_auth_suse.md
Last active March 20, 2025 15:04
Setup Yubikey passwordless authentication in OpenSuse Tumbleweed or Slowroll

Install packages

sudo zypper install yubikey-manager pam_u2f

Insert Yubikey and test

ykman info
ykman fido info
@kevenwyld
kevenwyld / RBR.md
Last active April 28, 2025 13:46
Richard Burns Rally with RallySimFans launcher on recent versions of wine

Below are instructions for using a proton runner directly, not inside Lutris or Bottles. Bottles appears to work the same way, but the instructions will be quite different. For example Bottles runners with the flatpak are in $HOME/.var/app/com.usebottles.bottles/data/bottles/runners and many other paths and dxvk packages differ.

  1. Obtain a copy of Proton-6.1-GE-2 from here https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.1-GE-2
  2. Obtain a copy of GE-Proton8-25 from here https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton8-25
    • This is the version I tested, probably not the latest version that will work.
    • Turns out VKd3d was split out into a separate package. Game/Launcher starts after GE-Proton7-35. As far as I was able to test RSF will require being run in vulkan mode in versions after this but I didn't extensively test this.
  3. Extract 6.1 to somewhere temporary, we only need to grab a couple of files out of it
  4. Extract 8-25 to somewhere persisten
@rockavoldy
rockavoldy / mini-stc-t12-menu.md
Last active March 24, 2025 07:47
Menu P00-P11 on Mini STC T12 Controller

DIY T12 Soldering Station with Mini STC T12 Controller

So i have build myself an soldering station to replace my Dekko "Ol' reliable" 40w hand solder, it works and do the job, but it takes forever to meet the heat temperature. So i build a new one with around 300k IDR

The controller is Mini STC T12 rev 2.1 that can be found from ShopeeID around 130k IDR, or on aliexpress at around 8 USD. I pick the LED version since it's way more cheaper than OLED and STM32 edition, and i don't need any features other than variable temperature and standby mode.

For the handle, i got it from Tokopedia at around 130k IDR. This handle is for Hakko FX9501, but i only need the handle and the pin inside to connect with the T12 solder tips.

For the tips, i got it from aliexpress too, find cheap tips and pay it along with the voucher, so i just need to pay around 4 USD for 3pcs T12 soldering tips.

How to setup a minimal X11 environment on Debian GNU/Linux

  1. Install the following packages

    • xserver-xorg-core (server)
    • xserver-xorg-video-XXX (video driver, XXX depends on your hardware)
    • xserver-xorg-input-XXX (input device driver, XXX depends on your hardware. evdev works well for most cases)
    • x11-xserver-utils (xmodmap, xrandr)
    • x11-xkb-utils (setxkbmap)
  • x11-utils (xdpyinfo, xev, xkill, xprop, xwininfo)
@wrossmck
wrossmck / makeOSXiso.sh
Created November 18, 2015 11:10
Convert Downloaded El Capitan.app to bootable iso
#!/bin/bash
#taken from http://www.insanelymac.com/forum/topic/308533-how-to-create-a-bootable-el-capitan-iso-fo-vmware/
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map
hdiutil create -o /tmp/ElCapitan.cdr -size 7316m -layout SPUD -fs HFS+J