Skip to content

Instantly share code, notes, and snippets.

View MrEromz's full-sized avatar
💭
Learning,Growing and Building @Aktivate-Org

Olumide Adeyemo Eronmonsele MrEromz

💭
Learning,Growing and Building @Aktivate-Org
View GitHub Profile
@MrEromz
MrEromz / vanilla-html-tailwind-javascript.md
Created October 16, 2025 14:41 — forked from indraAsLesmana/vanilla-html-tailwind-javascript.md
Best practice build vanilla html + tailwindcss + javascript

Using a CDN for Tailwind CSS directly in your HTML file isn't the best practice for production. Here's a breakdown of the problems and a recommended solution using a build process:

Problems with Direct CDN Inclusion:

  • Performance: Fetching Tailwind CSS from a CDN adds an extra HTTP request to your page load, slowing down initial rendering.
  • Bundle Size: The entire Tailwind CSS library is included in your HTML, adding unnecessary weight to your page.
  • Customization: It's not ideal for customizing Tailwind's defaults, as you'll need to modify the CDN's version directly.
  • Cache Busting: You might not have control over the caching of the CDN, leading to issues with updates.

Best Practices: Build Process (with Vite or Parcel)

@MrEromz
MrEromz / README.md
Created August 21, 2022 23:29 — forked from denji/README.md
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm
@MrEromz
MrEromz / gist:2be7b8e04886fd4d02f666fbb75c1441
Created August 21, 2022 22:13 — forked from istepanov/gist:3950977
Remove PHPStorm settings from Mac OS X 10.8 Mountain Lion
#!/usr/bin/sh
rm -rf "$HOME/Library/Preferences/WebIde40"
rm -rf "$HOME/Library/Caches/WebIde40"
rm -rf "$HOME/Library/Application Support/WebIde40"
rm -rf "$HOME/Library/Logs/WebIde40"
@MrEromz
MrEromz / Connecting_postgress_RDS_from_local_via_bastion.md
Created April 20, 2022 04:11 — forked from kshailen/Connecting_postgress_RDS_from_local_via_bastion.md
Ways to connect to postgress RDS instance from bastion host and from local host

When it comes to databases and AWS VPC, best practice is to place your database in private subnet. By definition, private subnet in AWS is not reachable from the Internet because no Internet gateway is attached to private subnet. This is the way you protect your data. This kind of configuration is good for security but bad for data management.

How can you easily access and manage your secured data?

basic_RDS_bastion_architecture

There are two basic ways to acees it.

  1. Access postgres RDS from bastion host. There are following requirements for this.