
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
Using JavaScript Map Objects, explained. Let us know your thoughts?
1
0
4
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
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
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
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
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
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!
3
0
4
π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
1
0
0
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
0
3
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 π‘π
0
0
2
A well-written code is like a joke β if you have to explain it, it's probably not that good.
0
0
1
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.
0
1
7
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".
0
1
3
Docker and containers, a brief intro: π Benefits π Terminology π§ Installation π Workflow β¨οΈ Commands π Deployment
0
0
0
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.
0
0
0
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.
0
0
1
Javascript Debouncing Function Calls: Delay function execution until a specified time after the last call. Great for event handlers (e.g., resizing, scrolling). π°οΈ
0
0
0
Some handy HTML5 features: β’ Color widget π¨ β’ Date widget π
β’ Search queries π β’ URL validation π Follow us for more.
0
0
1
8/8 π‘ Terraform Console: Use the console for quick evaluations.
0
0
1
7/8 π οΈ Testing: Implement automated tests using 'terratest'. Example test:
1
1
2
6/8 π Linting: Use 'tflint' to catch errors before applying. Install & run:
1
0
0