This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Bookmarklet to open Workflow JSON API from current workflow page | |
| // Finds the workflow name in the page and opens the REST API endpoint in a new window | |
| // | |
| // Installation: | |
| // * Create a new bookmark in your browser | |
| // * Copy the minified version from the file (the second javascript: line) | |
| // * Paste it as the URL/location of the bookmark | |
| // * Give it a name like "View Workflow JSON" | |
| // * Click the bookmarklet when viewing a Jira workflow page | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Bookmarklet to open Workflow XML viewer from current workflow page | |
| // Finds the workflow name in the page and opens the XML viewer in a new window | |
| // | |
| // Installation: | |
| // * Create a new bookmark in your browser | |
| // * Copy the minified version from the file (the second javascript: line) | |
| // * Paste it as the URL/location of the bookmark | |
| // * Give it a name like "Export Workflow XML" | |
| // * Click the bookmarklet when viewing a Jira workflow page | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GraphQL mutation to update page owner - sniffed while updating Owner in Confluence UI via Chrome Developer Panel | |
| # HOSTNAME, USERNAME, and TOKEN are stored in credentials.py | |
| import requests | |
| import credentials | |
| GRAPHQL_URL = f"{credentials.HOSTNAME}/cgraphql" | |
| def update_page_owner_graphql(page_id, new_owner_account_id): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function () { navigator.clipboard.writeText(window.location.protocol + '//' + window.location.host + window.location.pathname);null})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function () { history.replaceState('Foo', 'Foo', window.location.protocol + '//' + window.location.host + window.location.pathname);})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Put this file in your /etc/dnsmasq.d/ directory then run | |
| # pihole restartdns | |
| # This will block "Random MAC addresses" or as Apple calls them "Private Addresses" | |
| # https://forum.netgate.com/topic/162075/how-to-block-randomized-mac-addresses/7 | |
| dhcp-host=a2:*:*:*:*:*,ignore | |
| dhcp-host=b2:*:*:*:*:*,ignore | |
| dhcp-host=c2:*:*:*:*:*,ignore | |
| dhcp-host=d2:*:*:*:*:*,ignore | |
| dhcp-host=e2:*:*:*:*:*,ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Minor update to https://bitbucket.org/snippets/atlassiansupportprojects/nedyBb/download-files-attached-to-the-issues | |
| # * Gets issue key in addition to download URL | |
| # * Downloads attachments into directories created for each issue key | |
| # | |
| # Usage: | |
| # chmod u+x ./downloadbykey.sh | |
| # bash ./downloadbykey.sh | |
| # 1. Issue your API Token at https://id.atlassian.com/manage/api-tokens |