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
| MOVED TO: | |
| https://github.com/janniks/prepare-commit-msg |
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
| MOVED TO: | |
| https://github.com/janniks/prepare-commit-msg |
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 ruby | |
| require 'date' | |
| def getSprintNumber(date) | |
| shifted = date - 1 # shift date (sprint starts on tuesday) | |
| weeknumber = shifted.cweek + 1 # adjust for you sprint numbering | |
| weeknumber /= 2 # two week sprints | |
| weeknumber.ceil | |
| end |
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
| 99,100c99,102 | |
| < SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" ["}" | |
| < SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:="]"}" | |
| --- | |
| > # CUSTOM-EDIT # SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" ["}" | |
| > SPACESHIP_GIT_STATUS_PREFIX="${SPACESHIP_GIT_STATUS_PREFIX:=" "}" | |
| > # CUSTOM-EDIT # SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:="]"}" | |
| > SPACESHIP_GIT_STATUS_SUFFIX="${SPACESHIP_GIT_STATUS_SUFFIX:=""}" | |
| 316c318 | |
| < echo -n "%{%B%}" # set bold |
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 zsh | |
| COLOR_RESET='\033[0m' | |
| COLOR_BLUE='\033[0;34m' | |
| echo "\n${COLOR_BLUE}Updating zsh${COLOR_RESET}" | |
| brew upgrade zsh | |
| echo "" | |
| /usr/bin/env zsh -i -c upgrade_oh_my_zsh |
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 myModule = require('./MyModule') |
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 randomRelative = require('../../../../../somewhere/deep/and/random') |
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 projectRoot = require('app-root-path'); | |
| const random = require(projectRoot + '/somewhere/deep/and/random.js'); | |
| // OR using .require | |
| const requireLocal = require('app-root-path').require | |
| const random = requireLocal('somewhere/deep/and/random'); |
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 randomRelative = require('../../../../../somewhere/deep/and/random') | |
| // Using 'basetag' becomes... | |
| const randomBasetag = require('$/somewhere/deep/and/random') |
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 | |
| SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" | |
| echo "" | |
| echo "Download the official Dropbox app manually and sync relevant dotfiles" | |
| echo "Press [Enter] to continue or [Ctrl-C] to cancel..." | |
| read -p "" | |
| echo "" |
OlderNewer