vim ~/.aws/config[profile dev]
sso_session = dev
sso_account_id = XXXXXXXXXXXX
| // ==UserScript== | |
| // @name Disable Jira Click Edit | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Disable click edit in Jira issue descriptions | |
| // @author fanuch | |
| // @match https://*.atlassian.net/browse/* | |
| // @match https://*.atlassian.net/jira/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
| // @grant none |
| /* Goldbach's conjecture in JavaScript | |
| * | |
| * author: Igor Hercowitz | |
| */ | |
| function isPrime(n) { | |
| if (n % 2 === 0) return false; | |
| var sqrtn = Math.sqrt(n)+1; |
Problem: When linking to the raw version of a gist, the link changes with each revision.
Solution:
To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/
To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]
Basic npx script template.