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 |