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
| [core] | |
| pager = cat - | |
| [user] | |
| email = user@example.com | |
| name = user | |
| [includeIf "hasconfig:remote.*.url:https://test.com/**"] | |
| path = ~/.gitconfig.d/test.gitconfig |
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
| NEST_PROJECT_DIR ?= $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) | |
| NEST_PROJECT_NAME ?= | |
| check_defined = \ | |
| $(strip $(foreach 1,$1, \ | |
| $(call __check_defined,$1,$(strip $(value 2))))) | |
| __check_defined = \ | |
| $(if $(value $1),, \ | |
| $(error Undefined $1$(if $2, ($2)))) |
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
| {"lastUpload":"2021-03-26T17:58:25.804Z","extensionVersion":"v3.4.3"} |
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/bash | |
| _clipcopy () { | |
| local file=$1 | |
| if [[ $OSTYPE == darwin* ]] | |
| then | |
| echo "$file" | pbcopy | |
| elif [[ $OSTYPE == cygwin* ]] | |
| then |
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
| libreoffice --headless --convert-to xlsx --infilter=CSV:44,34,76,1 <csv-files> --outdir <output-dir> |
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
| #include <iostream> | |
| #include<string> | |
| using namespace std; | |
| const string MONTH_START_SAT = "sat"; | |
| const string MONTH_START_SUN = "sun"; | |
| const string MONTH_START_MON = "mon"; | |
| const string MONTH_START_TUE = "tue"; | |
| const string MONTH_START_WED = "wed"; |
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
| https://github.com/i3/i3/issues/3602#issuecomment-457374699 |
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
| function encodeZigZag32 (n) { | |
| return (n << 1) ^ (n >> 31); | |
| } | |
| function encodeZigZag64 (n) { | |
| return (n << 1) ^ (n >> 63); | |
| } | |
| function decodeZigZag32 (n) { | |
| return (n >> 1) ^ -(n & 1); |