Skip to content

Instantly share code, notes, and snippets.

@pavinjosdev
pavinjosdev / yubikey_auth_suse.md
Last active July 12, 2024 21:25
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
@rockavoldy
rockavoldy / mini-stc-t12-menu.md
Last active October 15, 2024 15:29
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