Squash.io (@LabsSquash) header
Squash.io (@LabsSquash) profile picture

Daily programming and DevOps resources. πŸŽ“ Tutorials 🌐 JavaScript 🐍 Python πŸ•ΈοΈ Node.js πŸ—„οΈ Databases 🎑 PHP βš›οΈ ReactJS 🐳 Docker 🐧 Linux and more.

Vancouver, British Columbia
Joined October 2018
Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)Photo by Squash.io (@LabsSquash)
Using JavaScript Map Objects, explained. Let us know your thoughts?
1
3
797
1/6 πŸš€ How to Leverage HTTP/3 in Your Web App, Today Want to take advantage of the performance and security improvements that HTTP/3 offers? Here's how you can start leveraging HTTP/3 in your web app right now!
2
4
641
5/6 πŸ” Monitor Performance πŸ“Š Once you've enabled HTTP/3, monitor your web app's performance to gauge the impact. Use tools like Google Lighthouse or WebPageTest to measure load times, Time to Interactive (TTI), and other performance metrics.
1
4
364
6/6 πŸ”„ Iterate and Improve πŸŽ›οΈ Use performance data to identify areas of your web app that can be optimized further. This might include compressing images, minifying JavaScript, or implementing lazy-loading for off-screen content.
290
🌐HTML5 features you can try in your next project: ⬇️ "download" attribute: quick download ✍️ Content Editable: edit text directly on the page ⌨️ Regular Expressions: restrictions on what users can enter πŸ”’ "multiple" attribute: upload multiple files / select multiple options
360
Docker isn't the same as containers! Docker builds container images, interacts with registries, and acts as one of many runtimes. It can even create container processes, but don't forget, Linux is still the king! 🐧πŸ’ͺ
1
3
379
There are 3 types of Bugs in Software Development: 1️⃣ The ones you catch 🎣🐞 2️⃣ The sneaky ones that slip by πŸ•΅οΈπŸž 3️⃣ The veteran tenants paying rent in your code 🏑🐞
2
301
A well-written code is like a joke – if you have to explain it, it's probably not that good.
1
193
HTML5 features you should know: ⬇️ Download Attribute: easy file downloading ✍️ ContentEditable Attribute: makes the content editable πŸ”– Datalist Tag: autocomplete functionality β˜‘οΈ Select Multiple Values: multiple values selection in a file input or select list.
1
6
376
CSS Tip: try the "object-fit" property! Control how an image or video fits within its container. It helps maintain the aspect ratio of the media while fitting it perfectly within the container. Experiment with "object-fit" values like "cover," "contain," or "fill".
1
2
226
Docker and containers, a brief intro: 🎁 Benefits πŸ“š Terminology πŸ”§ Installation πŸ”„ Workflow ⌨️ Commands πŸš€ Deployment
147
Python code snippet: Safe Dictionary Access with Default Value. The" safe_dict_access" function allows you to access nested dictionary keys safely and return a default value if the key is not found. This snippet helps you write cleaner and more robust code.
135
Docker Security Tip: To avoid potential security risks, always use the 'no-new-privileges' flag when running containers. This ensures that processes inside the container cannot gain additional privileges, keeping your system safer from possible exploits.
1
164
Javascript Debouncing Function Calls: Delay function execution until a specified time after the last call. Great for event handlers (e.g., resizing, scrolling). πŸ•°οΈ
134
Some handy HTML5 features: β€’ Color widget 🎨 β€’ Date widget πŸ“… β€’ Search queries πŸ” β€’ URL validation πŸ”— Follow us for more.
1
170
Terraform Advanced Hacks to Make You More Productive πŸš€ 1/8 πŸ“¦ Modules: Break down your infrastructure into smaller, reusable components. Example: Create a module for a basic EC2 instance.
1
175
7/8 πŸ› οΈ Testing: Implement automated tests using 'terratest'. Example test:
1
1
2
109
8/8 πŸ’‘ Terraform Console: Use the console for quick evaluations.
1
103