Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View pjohnmeyer's full-sized avatar

Patrick Johnmeyer pjohnmeyer

  • St. Louis, MO, USA
View GitHub Profile
@pjohnmeyer
pjohnmeyer / bookmarklet.js
Created June 18, 2021 22:18
Bookmarklet: Copy Asana task link as Markdown
javascript:(function()%7Bconst%20taskId%20%3D%20document.querySelectorAll('div.SingleTaskPaneSpreadsheet')%5B0%5D.getAttribute('data-task-id')%3Bconst%20taskTitle%20%3D%20document.querySelectorAll('textarea%5Baria-label%3D%22Task%20Name%22%5D')%5B0%5D.value%3Bconst%20mdLink%20%3D%20%60%5B%24%7BtaskTitle%7D%5D(https%3A%2F%2Fapp.asana.com%2F0%2F0%2F%24%7BtaskId%7D%2Ff)%60%3Bnavigator.clipboard.writeText(mdLink)%7D)()
@pjohnmeyer
pjohnmeyer / bookmarklet
Created January 26, 2019 16:24
GitHub PR List Bookmarklet
javascript:(function()%7Bconst%20inlineApprovalCount%20%3D%20()%20%3D%3E%20%7Belems%20%3D%20document.getElementsByClassName('muted-link')%3Bre%20%3D%20%2F(%5Cd)%20review%20approval%2F%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elems.length%3B%20i%2B%2B)%20%7Belem%20%3D%20elems.item(i)%3Bstr%20%3D%20elem.getAttribute('aria-label')%20%7C%7C%20''%3Brere%20%3D%20str.match(re)%3Bif%20(rere)%20%7Belem.innerHTML%20%2B%3D%20%60%20%3Cstrong%3E(%24%7Brere%5B1%5D%7D)%3C%2Fstrong%3E%60%3B%7D%7D%7D%3BinlineApprovalCount()%7D)()
@pjohnmeyer
pjohnmeyer / keybase.md
Created September 27, 2018 18:22
For keybase verification

Keybase proof

I hereby claim:

  • I am pjohnmeyer on github.
  • I am coderpj (https://keybase.io/coderpj) on keybase.
  • I have a public key whose fingerprint is 806D D80A ED03 7D41 CD2D 394B B8BB C3D6 9F65 CBEA

To claim this, I am signing this object: