vim, git, aws and other three-letter words

Software Development Notes

Posts

Vim: The useful Ctrl-R
Ctrl-R can be used to insert the file name, register content, last search and more.
Vim: highlight-select-change flow
Vim usage tip, a visual search/replace flow.
Vim: better ways to handle macros
Vim usage tip, how to manage macros in a more convenient way.
OBS Setup for macOS
OBS setup for macOS to manage audio and record Google Meet / Zoom meetings.
Voyager keyboard: unibody mount
A nice unibody mount system for the Voyager keyboard.
MacBook: keep it on with lid closed
How to keep MacBook on with lid closed, clamshell mode.
MacBook: Remote Access from iPad
Some ways to remotely access MacBook from iPad
git: rebase over a rebased branch, stacked branches
git: how to rebase over a rebased branch, stacked branches
Profiling the Vue CLI (webpack) build
How to profile the Vue CLI service build (actually a webpack build).
Vue CLI Service: Out of Memory Error during Build
Solving the problem with Vue Cli build failing with out of memory error.
Tmux: run multiple commands in tmux panes
Tmux: how to run the same command in multiple panes
Touch Typing: Spacebar and Thumbs
Should we alternate both thumbs for the Spacebar key?
Testing FastAPI CORS settings
How to test FastAPI CORS settings.
Google Colab notebook: input and output, OpenAI TTS API
How to run the OpenAI TTS API in the Google Colab notebook
AWS Elastic Beanstalk: RDS DB configuration
How to configure Elastic Beanstalk access to the external RDS database.
Node.js error ECONNREFUSED ::1:4723
Node.js: localhost connection error ECONNREFUSED ::1:4723 in node 17 and node 18.
Shell: loop the command until it fails
How to run the shell command in a loop until the command fails with an error.
Docker: check the Docker image size
How to check the Docker image size and find what takes disk space.
How to see the Chrome Extension storage
How to inspect the chrome extension chrome.storage in DevTools
How to reformat a JSON file
How to reformat a JSON file with command line tools.
git: kdiff3 as difftool and mergetool
Git: How to configure Kdiff3 as a merge and conflict resolution tool.
git: cherry-pick a range of commits
Git: How to cherry-pick a range of commits
git: move files with history to another repository
Git: How to move files with history from one repository to another.
git: count commits by author
Git: How to show the number of commits by author
git: update commit message
Git: Some ways to update the commit message
Mitosis Keyboard First Impressions
First impressions using the Mitosis (split, custom) keyboard.
Oculus Quest for Work: First Impressions
Using Oculus Quest for software development and not only.
Vue.js CLI: multiple vue.config.js configs
How to use multiple vue.config.js configs in a Vue CLI setup.
Touch Typing Tutors and Games
A collection of links to touch typing tutors and games.
AWS Config: Unexpected Charges Research
Investigating unexpected AWS Config charges
Git Hook to Add Issue Number to Commit Message
How to add a git hook that automatically inserts the issue number into the commit message.
AWS CloudFront setup with multiple origins
Multi-origin CloudFront setup to route requests to different services based on request path.
Installing npm packages from GitHub
How to install an npm package from a GitHub repository.
Linux terminal GIF recording with asciinema
Recording a Linux terminal session to GIF with asciinema
Debugging Python with ipdb and pdbpp
The interactive debugger setup for Python programs.
Formatting Parameter Blocks in Python
Ways to format function parameters in Python.
There Is No Callback Hell In JavaScript
There is no callback hell in JavaScript; there is badly written code.
RDS Access through SSH Tunnel
How to Access AWS RDS Locally Without Exposing It to the Internet with an SSH Tunnel
AWS Error: Default subnet in us-east-1f not found
How to solve the "default subnet in us-east-1f not found" error.
Simple Git Workflow
Git Workflows for the Team
Deploy websites to Scaleway with Docker
Set Up Automatic Deployment, Updates and Backups of Multiple Web Applications with Docker on the Scaleway Server
OOP: Liskov Substitution Principle
OOP SOLID Principles "L": Liskov Substitution Principle
AWS: PostgreSQL RDS "remaining connection slots are reserved" error
AWS PostgreSQL RDS: how to solve the "remaining connection slots are reserved" error
AWS: Drone CI setup on EC2
How to set up Drone CI on an EC2 instance via Elastic Beanstalk
Elastic Beanstalk: CloudWatch Logs setup
How to forward custom logs from Elastic Beanstalk to CloudWatch
Elastic Beanstalk: Python application server structure and Celery setup
What is on the Elastic Beanstalk server for a Python app and how to install Celery
Amazon DynamoDB: local setup, dump/restore and other tools
Local setup and useful tools for the Amazon DynamoDB local simulator
git: keep 'git log' and 'git diff' output on the screen
How to keep 'git log' and 'git diff' output on the screen after exit
git: how to revert multiple recent commits
How to revert multiple recent commits in a git repository
Node.js: how to get core module source
How to see the core node.js module source code.
Node.js: debug a mocha test
How to debug a mocha test with node inspector
Elastic Beanstalk: cron command and RDS DB access
How to set up a cron command with RDS DB access on Elastic Beanstalk.
Elastic Beanstalk deployment from different computers
Elastic Beanstalk - deploy from different machines / by different users (or how to get rid of absolute paths in configs)
JS libraries for charts (links)
A list of JS libraries for charts and other data visualizations.
git: self-hosted server setup
Git: How to set up a git server on Ubuntu with push email notifications.
Angular.js and SEO, pre-render content on the server
How to improve SEO for an Angular.js app.
git: find not merged branches
Git: how to find branches that have not been merged yet.
git: viewing changes using diff and log
Tips on using git diff and git log.
git: find all branches where a file was changed
How to find all branches where a specific file was changed.
git: your branch is ahead of 'origin/master' by 1 commit after pull
What to do when git reports that your branch is ahead of master.
git: submodule helpers
Git: useful commands to work with submodules
git: use vim with fugitive to resolve merge conflicts
Vim: how to use fugitive as a git merge tool
git: how to rename a branch (local and remote)
How to rename a local or remote Git branch.
vim: how to paste the same text multiple times
Vim: how to paste multiple times, for example, replace multiple occurrences of a word with the clipboard content.
git: remove deleted files from git
Git: how to remove already deleted files from git control.
OAuth 1.0 notes
OAuth 1.0 flow notes
git: colored output (diff, branch, etc) by default
How to enable colors for git output.
git: your branch and 'origin/xxx' have diverged error
Reasons for branch to be diverged and solutions.
git: checkout and track remote branch
How to check out and track the remote branch.
Org mode demo
A sample post: folding sections, code, images, video, and tables.