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
| // Config for server | |
| sv_cheats 1 | |
| sv_infinite_ammo 1 | |
| ammo_grenade_limit_total 5 | |
| mp_warmup_end | |
| mp_freezetime 0 | |
| mp_roundtime 60 | |
| mp_roundtime_defuse 60 | |
| sv_grenade_trajectory 1 | |
| sv_grenade_trajectory_time 10 |
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
| Mode <- function(x) { | |
| ux <- unique(x) | |
| ux[which.max(tabulate(match(x, ux)))] | |
| } |
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
| [ | |
| { "key": "cmd+r", "command": "workbench.action.debug.start", "when": "!inDebugMode" }, | |
| { "key": "cmd+r", "command": "workbench.action.debug.continue", "when": "inDebugMode" }, | |
| { "key": "cmd+e", "command": "workbench.action.debug.stepOver", "when": "inDebugMode" }, | |
| { "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" }, | |
| { "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" }, | |
| { "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" }, | |
| { "key": "cmd+4", "command": "workbench.action.openEditorAtIndex4" }, | |
| { "key": "cmd+5", "command": "workbench.action.openEditorAtIndex5" }, | |
| { "key": "cmd+6", "command": "workbench.action.openEditorAtIndex6" }, |
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 code { | |
| if [[ $# = 0 ]] | |
| then | |
| open -a "Visual Studio Code" | |
| else | |
| local argPath="$1" | |
| [[ $1 = /* ]] && argPath="$1" || argPath="$PWD/${1#./}" | |
| open -a "Visual Studio Code" "$argPath" | |
| fi | |
| } |