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 | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 4 | head -n 1) | |
SERVER_NAME=overtime-$NEW_UUID | |
gcloud compute instances create $SERVER_NAME \ | |
--machine-type "f1-micro" \ | |
--image-family ubuntu-1604-lts \ | |
--image-project "ubuntu-os-cloud" \ | |
--boot-disk-size "20" \ | |
--boot-disk-type "pd-ssd" \ | |
--boot-disk-device-name "$NEW_UUID" \ |
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
/** | |
* Transform Mocha test file | |
* from legacy local convention into | |
* test filtering ready file | |
* | |
* @param {string} testFileContent | |
* @returns transfomed code | |
*/ | |
function transform(testFileContent) { | |
// use @babel/parser |
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
/** | |
* For .ts, install: | |
* @typescript-eslint/eslint-plugin | |
* @typescript-eslint/parser" | |
* | |
* For .js, delete these props: | |
* parser, plugins, overrides | |
*/ | |
module.exports = { | |
root: true, |
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
{"name":"cursor-main-profile","settings":"{\"settings\":\"{\\n \\\"workbench.iconTheme\\\": \\\"material-icon-theme\\\",\\n \\\"terminal.integrated.fontFamily\\\": \\\"MesloLGS NF\\\",\\n \\\"terminal.integrated.defaultProfile.windows\\\": \\\"Git Bash\\\",\\n \\\"editor.fontFamily\\\": \\\"'Fira Code', 'Consolas', 'monospace', monospace\\\",\\n \\\"editor.codeActionsOnSave\\\": {\\n \\\"source.fixAll.eslint\\\": \\\"explicit\\\"\\n },\\n \\\"editor.formatOnSave\\\": true,\\n \\\"editor.acceptSuggestionOnEnter\\\": \\\"off\\\",\\n \\\"editor.acceptSuggestionOnCommitCharacter\\\": false,\\n \\\"editor.snippetSuggestions\\\": \\\"none\\\",\\n \\\"editor.suggestSelection\\\": \\\"recentlyUsedByPrefix\\\",\\n \\\"editor.wordBasedSuggestions\\\": \\\"off\\\",\\n \\\"explorer.confirmDelete\\\": false,\\n \\\"git.confirmSync\\\": false,\\n \\\"git.autofetch\\\": true,\\n \\\"[javascript]\\\": {\\n \\\"editor.tabSize\\\": 2\\n },\\n \\\"javascript.su |
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
# List of plugins | |
set -g @plugin 'dracula/tmux' | |
set -g @plugin 'tmux-plugins/tpm' | |
# prefix key | |
set-option -g prefix C-f | |
# mouse mode | |
set -g mouse on |
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
require("narukami") |