LabsSquash Profile Banner
Squash.io Profile
Squash.io

@LabsSquash

Followers
7K
Following
47
Media
184
Statuses
543

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

Vancouver, British Columbia
Joined October 2018
Don't wanna be here? Send us removal request.
@LabsSquash
Squash.io
2 years
Using JavaScript Map Objects, explained. Let us know your thoughts?
Tweet media one
1
0
4
@LabsSquash
Squash.io
2 years
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.
0
0
0
@LabsSquash
Squash.io
2 years
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
0
8
@LabsSquash
Squash.io
2 years
4/6 πŸ“¦ Optimize Resource Loading πŸš€ HTTP/3 offers better request prioritization and multiplexing. To take advantage of this, ensure your web app loads critical resources first, such as CSS, JavaScript, and above-the-fold images.
1
0
0
@LabsSquash
Squash.io
2 years
3/6 βš™οΈ Configure Your Web Server πŸ› οΈ Upgrade and configure your web server to support HTTP/3. Here's how to enable HTTP/3 for some popular web servers: NGINX:
1
0
0
@LabsSquash
Squash.io
2 years
2/6 🌐 Check Browser and Server Support πŸ“‘ First, ensure that both your web server and users' browsers support HTTP/3. Major browsers like Chrome, Firefox, and Safari have already implemented support, but it's crucial to verify before making changes.
1
0
0
@LabsSquash
Squash.io
2 years
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!
Tweet media one
3
0
4
@LabsSquash
Squash.io
2 years
🌐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
Tweet media one
1
0
0
@LabsSquash
Squash.io
2 years
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! 🐧πŸ’ͺ
Tweet media one
1
0
3
@LabsSquash
Squash.io
2 years
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 🏑🐞
Tweet media one
0
0
2
@LabsSquash
Squash.io
2 years
A well-written code is like a joke – if you have to explain it, it's probably not that good.
Tweet media one
0
0
1
@LabsSquash
Squash.io
2 years
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.
Tweet media one
0
1
7
@LabsSquash
Squash.io
2 years
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".
Tweet media one
0
1
3
@LabsSquash
Squash.io
2 years
Docker and containers, a brief intro: 🎁 Benefits πŸ“š Terminology πŸ”§ Installation πŸ”„ Workflow ⌨️ Commands πŸš€ Deployment
Tweet media one
0
0
0
@LabsSquash
Squash.io
2 years
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.
Tweet media one
0
0
0
@LabsSquash
Squash.io
2 years
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.
Tweet media one
0
0
1
@LabsSquash
Squash.io
2 years
Javascript Debouncing Function Calls: Delay function execution until a specified time after the last call. Great for event handlers (e.g., resizing, scrolling). πŸ•°οΈ
Tweet media one
0
0
0
@LabsSquash
Squash.io
2 years
Some handy HTML5 features: β€’ Color widget 🎨 β€’ Date widget πŸ“… β€’ Search queries πŸ” β€’ URL validation πŸ”— Follow us for more.
Tweet media one
0
0
1
@LabsSquash
Squash.io
2 years
8/8 πŸ’‘ Terraform Console: Use the console for quick evaluations.
Tweet media one
0
0
1
@LabsSquash
Squash.io
2 years
7/8 πŸ› οΈ Testing: Implement automated tests using 'terratest'. Example test:
Tweet media one
1
1
2
@LabsSquash
Squash.io
2 years
6/8 πŸ”Ž Linting: Use 'tflint' to catch errors before applying. Install & run:
Tweet media one
1
0
0