Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
:trollface: github has a trollface emoji

Jonah Snider pizzafox

💭
:trollface: github has a trollface emoji
View GitHub Profile
@magicznyleszek
magicznyleszek / jekyll-and-liquid.md
Last active Jan 24, 2021
Jekyll & Liquid Cheatsheet
View jekyll-and-liquid.md

Jekyll & Liquid Cheatsheet

A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.

Running

Running a local server for testing purposes:

View MAKING THE ONLY DISCORD BOT YOU'LL EVER NEED TO BE POPULAR AND SUCCEED IN A HIGHER SOCIETY AND BE THE COOLEST AND HIRE-ABLE PERSON IN THE TECH INDUSTRY.md
@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