Author: rendon
-
Back-of-the-envelope estimations
Materials Numbers you should know
-
Delete multiple DDB tables
WARNING: Use at your own peril, this will delete DDB tables w/o asking for confirmation. I found myself deleting tables manually from the DynamoDB UI, and it started to get tedious, here a small working program to delete tables in Java. Full code: https://github.com/rendon-aws/ddb-examples Thanks for reading!
-
Web development notes
Tools/services REST vs gRPC Resources HTML CSS JavaScript How-to How to call REST APIs GET calls POST calls Rails Rails status codes The :status Option Ensure required environment variables are set when booting up Rails Create an initializer under config/initializers like so: Source: https://boringrails.com/tips/ensure-rails-env-vars Run rails over SSL locally SSL/TLS: Convert .pem files to .crt…
-
Segment Tree
Theory Implementation With lazy propagation Practice problems
-
Bellman-Ford algorithm for shortest paths
Theory Implementation Practice problems
-
Kruskal’s algorithm for minimum spanning trees (MST)
Theory Implementation Practice problems
-
Vim notes
Start here Neovim + Lua Jumps I’ve been familiar with c-o and c-i for a while, but I have not used them effectively, some things were missing. The following mappings simplify working with relativenumber and <count>j/<count>k: Source: reddit post inoremap and white spaces Just found out that white spaces matter in inoremap mappings, the following…
-
Knuth-Morris-Pratt algorithm for substring search
Theory Implementation Practice problems
-
Rabin-Karp algorithm for substring search
Theory Implementation Practice problems
-
Boyer-Moore algorithm for substring search
Theory Implementation Practice problems