This file contains 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 | |
## If you cloned a repository, then forked it and want to change your clone to point to your fork... | |
## Usage: | |
## git-forked-to <NEW ORIGIN URL> [<BRANCH>] | |
## | |
## <NEW ORIGIN URL> should be your new forked repo URL | |
## <BRANCH> defaults to "master" | |
## | |
## For example: git-forked-to git@github.com:SHaTRO/conveyance.git |
This file contains 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 | |
# This may be out of date, check at https://github.com/docker/compose/releases | |
DOCKER_PROJECT_USER=docker | |
DOCKER_COMPOSE_REPO=compose | |
DOCKER_COMPOSE_APIURL=https://api.github.com/repos/${DOCKER_PROJECT_USER}/${DOCKER_COMPOSE_REPO}/releases/latest | |
DOWNLOAD_VERSION=`curl -is ${DOCKER_COMPOSE_APIURL} | tr '\n' ' ' | sed 's/.*tag_name" *: *"\([0-9.]*\).*/\1/'` | |
[[ ${DOWNLOAD_VERSION} =~ ^[0-9.][0-9.]*$ ]] || DOWNLOAD_VERSION= | |
echo $DOWNLOAD_VERSION |
This file contains 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 | |
### | |
# This script downloads and installs TeXLive on Cygwin | |
# In my environment, the full install takes about 3 hours. | |
# | |
# No effort is made here to check mirror speeds or properly select a mirror, so improvement there is welcome. | |
### | |
## PRIMARY CONFIGURATION ## |
This file contains 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
module.exports = { | |
env: { | |
browser: true, | |
amd: true, | |
node: true, | |
jest: true, | |
}, | |
plugins: [ 'jest' ], | |
rules: { | |
'array-bracket-spacing': [ 'error', 'always' ], |
This file contains 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
## | |
## Script to setup a Node TS project with Jest, ESLint, and fp-ts/io-ts | |
## | |
## If you want to skip SonarQube support do: | |
## SKIP_SONAR=true node-typescript-fp-setup.sh | |
## | |
# tested with npm 10.2.3, Node v20.10.0; 2023-12-02 | |
# tested with npm 10.8.3, Node v22.9.0; 2024-09-21 |