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
| { | |
| "order_schedule": { | |
| "id": 2805, | |
| "start_time": "2020-10-16T18:00:00.000Z", | |
| "end_time": "2020-10-17T06:00:00.000Z", | |
| "status": "accepted", | |
| "total_time": "11.5", | |
| "total_price": "448.5", | |
| "total_payout": "333.5", | |
| "flex": false, |
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 | |
| # | |
| # Automatically adds branch name and branch description to every commit message. | |
| # Include this script into file in directory (PROJECT)/.git/hooks/prepare-commit-msg | |
| # | |
| if [ -z "$BRANCHES_TO_SKIP" ]; then | |
| BRANCHES_TO_SKIP=(develop) | |
| fi |
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
| sudo nano ~/.inputrc | |
| # Copy and past | |
| set completion-ignore-case on | |
| set show-all-if-ambiguous on | |
| TAB: menu-complete | |
| # Save the file | |
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
| # In the windows, create a file with name .bashrc in user home "C:/User/userName/ and include this script | |
| alias less='less -r' | |
| # --show-control-chars: help showing Korean or accented characters | |
| alias ls='ls -F --color --show-control-chars' | |
| alias ll='ls -l' | |
| alias gs='git status ' | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' |
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
| #!/bin/sh | |
| # | |
| # Automatically adds branch name to every commit message. | |
| # Include this script into file in directory (PROJECT)/.git/hooks/prepare-commit-msg | |
| # On MacOS you must to give executable permission to the file | |
| # Use chmod +x <path-to-the-file> | |
| if [ -z "$BRANCHES_TO_SKIP" ]; then | |
| BRANCHES_TO_SKIP=(develop) | |
| fi |
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
| #!/bin/sh | |
| # | |
| # Automatically adds branch name and branch description to every commit message. | |
| # Include this script into file in directory (PROJECT)/.git/hooks/prepare-commit-msg | |
| # Adapted by https://gist.github.com/shytikov/3132078 | |
| # | |
| NAME=$(git branch | grep '*' | sed 's/* //') | |
| TEXT=$(cat "$1" | sed '/^#.*/d') | |
| echo "[$NAME]"' - '$(cat "$1" | sed '/^#.*/d') > "$1" |