Last active
June 20, 2022 06:11
-
-
Save samloh84/cd767351000da2b114b15c9dbf756ea7 to your computer and use it in GitHub Desktop.
dotfiles2
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
#!/usr/bin/bash | |
set -Eeuxo pipefail | |
git config --global user.name "Samuel Loh" | |
git config --global user.email "samuel.loh.yk@gmail.com" | |
git config user.email "samuel_loh@tech.gov.sg" | |
git config --global credential.helper osxkeychain | |
git config --add http.https://gitlab-in.ship.gov.sg/.extraheader "cf-access-token: $(cloudflared access token -app=https://gitlab-in.ship.gov.sg)" |
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 | |
cloudflared access login https://gitlab-in.ship.gov.sg | |
git config --global --unset-all http.https://gitlab-in.ship.gov.sg/.extraheader | |
git config --unset-all http.https://gitlab-in.ship.gov.sg/.extraheader | |
git config --add http.https://gitlab-in.ship.gov.sg/.extraheader "cf-access-token: $(cloudflared access token -app=https://gitlab-in.ship.gov.sg)" |
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
#!/usr/bin/bash | |
set -Eeuxo pipefail | |
npm config --global set init-author-email "samuel.loh.yk@gmail.com" | |
npm config --global set init-author-name "Samuel Loh" | |
npm config --global set init-author-url "https://github.com/samloh84" | |
npm config --global set init-license "MIT" | |
npm config set init-author-email "samuel_loh@tech.gov.sg" | |
npm config set init-author-url "https://gitlab-in.ship.gov.sg/samuel_loh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment