Skip to content

Instantly share code, notes, and snippets.

View shevchenkoartem's full-sized avatar
🇺🇦

Artem Shevchenko shevchenkoartem

🇺🇦
View GitHub Profile
@shevchenkoartem
shevchenkoartem / README.md
Last active February 26, 2024 04:04
Bookmarklet (script instead of URL for a bookmark) to copy markdown on FunRetrospectives page with a table. Then in Confluence, paste it to Markdown element (find it in Insert (+) menu when editing a page)

You can use this script if you would like to export the result table from FunRetrospectives to Confluence.

  1. Copy the content of the JS-file to the clipboard.
  2. Open Chrome and display the bookmarks bar if it's not already visible (press Ctrl+Shift+B or Cmd+Shift+B on a Mac).
  3. Right-click on the bookmarks bar, and choose "Add page" or "Add new bookmark."
  4. In the "Name" field, enter a name for the bookmarklet (e.g., "Export Table From FunRetrospectives").
  5. In the "URL" field, paste the single-line JavaScript code you copied in step 1.
  6. Click "Save."

Now you can copy the markdown for Confluence by clicking the bookmark on FunRetrospectives page with table.

@shevchenkoartem
shevchenkoartem / make-icns.sh
Last active February 11, 2022 10:05
Converts an image (e.g. PNG) to an ICNS icon-file. Inspired by https://stackoverflow.com/a/20703594
#!/bin/sh -e
#########################################
# Usage:
#########################################
# for each png file in the directory:
# sh make-icns.sh
#########################################
# for a specific file:
# sh make-icns.sh filename.ext