Skip to content

Instantly share code, notes, and snippets.

🕶
I hate this feature

Yousef Sultan MicroDroid

🕶
I hate this feature
Block or report user

Report or block MicroDroid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MicroDroid
MicroDroid / shorten-clipboard.sh
Last active Jun 17, 2019
Script to replace URL in clipboard with a shorter one using zws.im, probably assign a keyboard shortcut to run this script.
View shorten-clipboard.sh
original=`xclip -o -sel clipboard`
if [[ $original == https://zws.im* ]]; then
notify-send "Already shortened" --icon=gtk-edit
exit 1;
fi
json=$(curl -s "https://us-central1-zero-width-shortener.cloudfunctions.net/shortenURL?url=$original")
if [ $? -eq 0 ]; then
View keybase.md

Keybase proof

I hereby claim:

  • I am MicroDroid on github.
  • I am overcoder (https://keybase.io/overcoder) on keybase.
  • I have a public key whose fingerprint is 83D1 AA11 4438 817C 5C67 A709 2247 D3D5 EEF9 E310

To claim this, I am signing this object:

You can’t perform that action at this time.