Squash.io

543 posts

Squash.io banner
Squash.io

Squash.io

@LabsSquash

Daily programming and DevOps resources. 🎓 Tutorials 🌐 JavaScript 🐍 Python 🕸️ Node.js 🗄️ Databases 🎡 PHP ⚛️ ReactJS 🐳 Docker 🐧 Linux and more.

Vancouver, British Columbia Katılım Ekim 2018
747 Takip Edilen6.5K Takipçiler
Sabitlenmiş Tweet
Squash.io
Squash.io@LabsSquash·
Using JavaScript Map Objects, explained. Let us know your thoughts?
Squash.io tweet media
English
1
0
3
759
Squash.io
Squash.io@LabsSquash·
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.
English
0
0
0
280
Squash.io
Squash.io@LabsSquash·
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.
English
1
0
6
351
Squash.io
Squash.io@LabsSquash·
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!
Squash.io tweet media
English
3
0
4
616
Squash.io
Squash.io@LabsSquash·
🌐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
Squash.io tweet media
English
0
0
0
348
Squash.io
Squash.io@LabsSquash·
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! 🐧💪
Squash.io tweet media
English
1
0
3
373
Squash.io
Squash.io@LabsSquash·
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 🏡🐞
Squash.io tweet media
English
0
0
2
296
Squash.io
Squash.io@LabsSquash·
A well-written code is like a joke – if you have to explain it, it's probably not that good.
Squash.io tweet media
English
0
0
1
189
Squash.io
Squash.io@LabsSquash·
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.
Squash.io tweet media
English
0
1
6
372
Squash.io
Squash.io@LabsSquash·
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".
Squash.io tweet media
English
0
1
2
221
Squash.io
Squash.io@LabsSquash·
Docker and containers, a brief intro: 🎁 Benefits 📚 Terminology 🔧 Installation 🔄 Workflow ⌨️ Commands 🚀 Deployment
Squash.io tweet media
English
0
0
0
143
Squash.io
Squash.io@LabsSquash·
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.
Squash.io tweet media
English
0
0
0
133
Squash.io
Squash.io@LabsSquash·
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.
Squash.io tweet media
English
0
0
1
162
Squash.io
Squash.io@LabsSquash·
Javascript Debouncing Function Calls: Delay function execution until a specified time after the last call. Great for event handlers (e.g., resizing, scrolling). 🕰️
Squash.io tweet media
English
0
0
0
132
Squash.io
Squash.io@LabsSquash·
Some handy HTML5 features: • Color widget 🎨 • Date widget 📅 • Search queries 🔍 • URL validation 🔗 Follow us for more.
Squash.io tweet media
English
0
0
1
168
Squash.io
Squash.io@LabsSquash·
8/8 💡 Terraform Console: Use the console for quick evaluations.
Squash.io tweet media
English
0
0
1
101
Squash.io
Squash.io@LabsSquash·
7/8 🛠️ Testing: Implement automated tests using 'terratest'. Example test:
Squash.io tweet media
English
1
1
2
107
Squash.io
Squash.io@LabsSquash·
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.
Squash.io tweet media
English
1
0
0
173