5/31/2019

How to sign a file in Ubuntu

Example commands:
# To generate a new key
gpg --gen-key

# This will generate a separate sig file, test.sh.sig
gpg -sb test.sh

# To verify the file signature
gpg --verify test.sh.sig

# To delete a key
gpg --delete-key DC77BA9E


5/25/2019

Keyboard doesn't have a delete key

To fix that, use the keytweak software to remap the right ALT button to the delete key in Windows. Now you have a delete key.

5/24/2019

Bring Slack to the front by using a global shortcut / hotkey

For Linux:
Go to Keyboards and add a custom shortcuts with command slack

For Windows:

  • Download AutoHotKey, create a script with this:

^!j::
   Run C:\Users\liangzou\AppData\Local\slack\slack.exe
return

in it.

Then you can use ctrl + alt + j to bring Slack window to the front.