Skip to content

Instantly share code, notes, and snippets.

@rbanffy
Last active February 15, 2024 18:07
Show Gist options
  • Save rbanffy/01f85f6d5ee7531f49e9287f2ae9a15f to your computer and use it in GitHub Desktop.
Save rbanffy/01f85f6d5ee7531f49e9287f2ae9a15f to your computer and use it in GitHub Desktop.
Bookmarklets
javascript:window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(document.location)+"&text="+encodeURIComponent(document.title),%20"_new")
javascript:window.open("https://news.ycombinator.com/submitlink?u="+encodeURIComponent(document.location)+"&t="+encodeURIComponent(document.title))
python -c "import random, string; print(''.join(random.sample(string.digits + string.ascii_letters + '$&-_!', 20)))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment