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
| #!/usr/bin/env bash | |
| # Ignores active change(s) in Git repo | |
| # Mostly useful within CICD pipelines | |
| # Usage: `sh git-drain.sh` | |
| git status --porcelain | cut -c4- | xargs -n1 git update-index --assume-unchanged |
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
| export const isoDateRex = /^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/; |
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
| const crypto = require('crypto-js'); | |
| const appId = insomnia.collectionVariables.get('appId'); | |
| const method = insomnia.request.method; | |
| const payload = insomnia.request.payload || ''; | |
| const sharedKey = insomnia.collectionVariables.get('sharedKey'); | |
| const timestamp = Math.round(Date.now() / 1000); | |
| const url = insomnia.environment.replaceIn( | |
| insomnia.request.url.toString().replace(/\_\./gi, '') | |
| ); |
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
| [advice] | |
| pushAlreadyExists = true | |
| [apply] | |
| whitespace = fix | |
| [branch] | |
| sort = -committerdate | |
| [column] | |
| ui = auto | |
| [commit] | |
| verbose = true |
OlderNewer