AddOn:
- Go to about:support in your address bar
- Look for your profiles directory and open it:
- Create a file named
chrome/userChrome.cssin your profile directory:
| function log_cmd() | |
| { | |
| "$@" | |
| ret=$? | |
| if [[ $ret -eq 0 ]] | |
| then | |
| echo "$(date -u +"%Y-%m-%dT%H:%M:%SZ") user[ $USER ] status[ Success ] code[ $ret ] cmd[ $@ ]" >> bash_command.log | |
| else | |
| echo "$(date -u +"%Y-%m-%dT%H:%M:%SZ") user[ $USER ] status[ Error ] code[ $ret ] cmd[ $@ ]" >> bash_command.log |
| export JIRA_API_TOKEN=XXXXXXXXXXXXXXXXXXX |
| /** | |
| * HOW TO USE | |
| * | |
| * 1. From your spreadsheet, go to Extensions > Apps Script | |
| * 2. Paste the following function and click Run | |
| * 3. You may be asked to give Apps Script permission to your sheet (Accept) | |
| * | |
| * IMPORTANT | |
| * | |
| * The first sheet MUST be the old sheet |
AddOn:
chrome/userChrome.css in your profile directory:Let's start by the following example:
[![enter image description here][1]][1]
Now we have 3 options to merge changes of feature branch into master branch:
| // ==UserScript== | |
| // @name DisplayAWSAccountAlias | |
| // @version 1 | |
| // @grant none | |
| // @match https://*.console.aws.amazon.com/* | |
| // ==/UserScript== | |
| // Replace with your account numbers and desired alias | |
| // The key is the account number and the value is the alias to display | |
| const accountAliases = { |
| // create the rest API for accessing our lambdas | |
| const api: apigw.RestApi = new apigw.RestApi(this, "blogs-api", { | |
| description: "blogs api gateway", | |
| deploy: true, | |
| deployOptions: { | |
| // this enables caching on our api gateway, with a ttl of five minutes (unless overridden per method) | |
| cachingEnabled: true, | |
| cacheClusterEnabled: true, | |
| cacheDataEncrypted: true, | |
| stageName: "prod", |
| #!/usr/bin/env bash | |
| # Delete workflow runs - dwr | |
| # Given an "owner/repo" name, such as "qmacro/thinking-aloud", | |
| # retrieve the workflow runs for that repo and present them in a | |
| # list. Selected runs will be deleted. Uses the GitHub API. | |
| # Requires gh (GitHub CLI), jq (JSON processor) and fzf |
| #!/bin/bash | |
| # System-wide crontab file and cron job directory. Change these for your system. | |
| CRONTAB='/etc/crontab' | |
| ANACRONTAB='/etc/anacrontab' | |
| CRONDIR='/etc/cron.d' | |
| # Single tab character. Annoyingly necessary. | |
| tab=$(echo -en "\t") |