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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "r", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "a", | |
"command": "explorer.newFile", |
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
" .ideavimrc is a configuration file for IdeaVim plugin. It uses | |
" the same commands as the original .vimrc configuration. | |
" You can find a list of commands here: https://jb.gg/h38q75 | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
=== List Actions === | |
Google Sheet | |
https://docs.google.com/spreadsheets/d/17GvVbsLc48iM-vpKgBTwz5ByvsMmmw0dqIenzemDcXM/edit?usp=sharing | |
Gist |
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
-- Location C:\Users\[YOUR_USER]\.config\wezterm\wezterm.lua | |
local wezterm = require("wezterm") | |
-- DevOS is name WSL distro | |
return { | |
default_prog = { "wsl.exe", "-d", "DevOS", "--cd", "~" }, | |
default_cursor_style = "BlinkingBar", | |
color_schemes = { | |
["tokyonight-storm"] = { | |
background = "#1F2335", |
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
{ | |
"go.toolsManagement.autoUpdate": true, | |
"go.lintTool": "golangci-lint", | |
"go.lintFlags": [ | |
"--fast" | |
], | |
"gopls": { | |
"ui.semanticTokens": true, | |
"ui.diagnostic.analyses": { | |
"unusedparams": 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
-- ~/.config/nvim/lua/user/init.lua | |
local config = { | |
-- Set colorscheme | |
colorscheme = "onedark", | |
-- set vim options here (vim.<first_key>.<second_key> = value) | |
options = { | |
opt = { | |
relativenumber = true, -- sets vim.opt.relativenumber |
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 ( | |
sizeRead = 64 | |
carReturn = 13 | |
newLine = 10 | |
) | |
serialPort, _ := serial.OpenPort(options) | |
read := make(chan []byte) |
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
addJSON (json) { | |
let self = this; | |
let formData = new FormData(); | |
formData.append('json', JSON.stringify(json)); | |
formData.append('file', avatar); | |
let xhr = $.ajax({ |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
) | |
func main() { | |
messagesInput := []string{"Name(s): ", "First name: ", "Last name: ", "Age: "} |
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
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
var wg sync.WaitGroup |
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
package main | |
import ( | |
"fmt" | |
"runtime" | |
"sync" | |
"time" | |
) | |
func main() { |
NewerOlder