Your cart is currently empty!
Category: Uncategorized
-
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
-
Composer with Bitbucket Private Repository
Create a Composer project and push it to your repo: Create Bitbucket OAuth Consumer here. This command will generate ./auth.json file. Use –global flag to generate ~/.composer/auth.json file. Add the private repository to ./composer.json. Use –global flag to generate ~/.composer/config.json file. Install the package from the private repository. We use dev-* prefix to checkout a…
-
Docker: ENTRYPOINT vs. CMD
ENTRYPOINT is the process run when the container starts (PID 1). CMD is the argument for the entrypoint. When you run the container without arguments, this will execute ENTRYPOINT + CMD: When you run the container with arguments, this will execute ENTRYPOINT + arguments: When you want to override the entrypoint use the –entrypoint flag: