I hereby claim:
- I am nemolize on github.
- I am nemolize (https://keybase.io/nemolize) on keybase.
- I have a public key whose fingerprint is CE91 6E32 B769 A792 A743 EC03 AB22 03C1 5744 FF24
To claim this, I am signing this object:
| #%PAM-1.0 | |
| auth required pam_faillock.so preauth | |
| # Optionally use requisite above if you do not want to prompt for the password | |
| # on locked accounts. | |
| # The following 2 lines enables you to login with both Yubikey and password | |
| # Thanks: https://cromwell-intl.com/cybersecurity/yubikey/pam_u2f.html | |
| auth sufficient pam_unix.so try_first_pass nullok | |
| auth sufficient pam_u2f.so cue |
| # Ref: https://zenn.dev/kumamidori/articles/b6f79df64753bb | |
| export CFLAGS="-Wno-error=implicit-function-declaration -DU_DEFINE_FALSE_AND_TRUE=1" | |
| export CXXFLAGS="-Wno-error=implicit-function-declaration -DU_DEFINE_FALSE_AND_TRUE=1" |
| # custom IntelliJ IDEA properties | |
| # NOTE: specify the following property to use windows keys as meta keys. see https://youtrack.jetbrains.com/issue/IDEA-144702 | |
| keymap.windows.as.meta=true |
| GTK_IM_MODULE=fcitx | |
| QT_IM_MODULE=fcitx | |
| XMODIFIERS=@im=fcitx |
| # add "processor.max_cstate=1 pcie_aspm=off" options to GRUB_CMDLINE_LINUX like the following | |
| GRUB_CMDLINE_LINUX="processor.max_cstate=1 pcie_aspm=off" |
| # /etc/environment | |
| CLUTTER_DEFAULT_FPS=144 | |
| __GL_SYNC_DISPLAY_DEVICE=DP-2 |
| # NOTE: Assuming you have already installed keybase and logged in | |
| # This is only for WSL. see: https://github.com/microsoft/WSL/issues/4029 | |
| export GPG_TTY=$(tty) | |
| # import your public/private keys from keybase | |
| keybase pgp export | gpg --import | |
| keybase pgp export --secret | gpg --allow-secret-key --import --batch | |
| # show your imported keys |
I hereby claim:
To claim this, I am signing this object:
| func moveWindow(_ appRef: AXUIElement, _ velocity: CGPoint) { | |
| do { | |
| var windowRef: AnyObject? | |
| try appRef.copyAttributeValue(kAXFocusedWindowAttribute, &windowRef) | |
| let windowElement: AXUIElement = windowRef as! AXUIElement | |
| var positionRef: CFTypeRef? | |
| try windowElement.copyAttributeValue(kAXPositionAttribute, &positionRef) | |
| var position = CGPoint() |