Your cart is currently empty!
Author: Website Admin
Golang: Importing Local Module
Create a new golang project Create a main.go file We need to direct the module my-hello to our local folder ../hello folder where the go.mod file resides. Then we try to run our program To delete the module References:
Golang: Create Application
Create a folder name hello Initialize Golang module Create a folder (package) name english Create a file inside the english folder name a.go Go back to the root folder and create a file name x.go This should output Create a folder (package) name french Create a file inside the french folder name b.go Now we…
RabbitMQ: Delaying Message
Create a queue named delay with these parameters: Then create a queue named execute to process the message. References:
NvChad
Space-e Open NvimTree Ctrl-n Toggle NvimTree Space-fa:Telescope fd Telescope: Find files Ctrl-(w)h / (w)j / (w)k / (w)n Move between pane Ctrl-wq Close pane Tab:bn Next buffer Shift-Tab:bp Previous buffer Ctrl-v Open file in vertical split (NvimTree) Ctrl-x Open file in horizontal split (NvimTree) Ctrl-t Open file in tab (NvimTree) Space-x:bd Close tab (buffer) g?…
Bitbucket Pipelines SSH Keys
When you paste you SSH key, make sure you press an Enter after —–END OPENSSH PRIVATE KEY—–
Vim: Search and Replace
Substitute first occurrence in the cursor line: Substitute all occurrence in the cursor line: Substitute first occurrence in the whole file: Substitute all occurrence in the whole file: Repeat the last command: ranges .s or s = substitute on the cursor line %s = substitute on the whole file 1s = substitute on line 1…
Wireguard
Installation: Generate public key and private key on server and peer: Server Peer AllowedIPs will route traffic to IP/network via this peer