Posts

ACLs Made Simple: An Easy-to-Follow Guide

Image
ACLs are used to filter network traffic by specifying which types of traffic are allowed or denied based on various criteria such as source and destination IP addresses, port numbers, protocol types, and other attributes. They can be used to permit or deny traffic between specific hosts or networks, restrict access to specific applications or services, and enforce security policies. So, lets take a deep dive to understand the ACLs. There are two main types of Access Control Lists (ACLs) used in networking: Standard ACLs : These ACLs allow or deny traffic based solely on the source IP address of the packet. They are numbered 1-99 and 1300-1999 in Cisco routers and switches. Extended ACLs : These ACLs allow or deny traffic based on multiple attributes such as source and destination IP addresses, port numbers, protocols, and others. They are numbered 100-199 and 2000-2699 in Cisco routers and switches. In addition to these two types, there are also Name...

Top 5 tips for flutter performance optimization and following best practices to build your next project.

Image
Ever thought of why your app faces lag/jank on some devices. Let’s get into some key points to improve user experience and performance of your app. This story will focus on some basic and advanced tips to boost your app. So, without wasting any time let’s get started with our first point. 1) Handling Image dimensions to reduce jank Thinking to build next e-commerce app or social media app which requires a lot of image data? Then you might be performing some wrong techniques. Let’s get into some, most of the time you might be picking images by following way. final XFile? imageFile= await picker.pickImage( source: ImageSource.gallery, ); But the above method is incomplete as you should always specify maxWidth and maxHeight attribute while picking the image. The reason behind it is that when you pick an image without these attributes than the image picked might be of a large dimension (2400X1600) which is a very hu...

Accept Payments in Flutter App and Website with Razorpay: 2 Ways to Auto-Capture Payments

Image
  Integration and auto-capture of payment in Razorpay-flutter In this tutorial, We’ll be integrating razorpay in flutter app and flutter web. And, to avoid auto refund of payment we will auto-capture payments by making call to razorpay order api. So, without wasting any time let’s get into integration of razorpay in flutter and the 2 different ways to make call to order api so we can auto capture the payment else the payment done get’s refunded after certain time if not captured through the console. Table of Contents Setup Two different ways to call razorpay order api to auto-capture our payments Integration of razorpay in flutter app Integration of razorpay in flutter web ...

Adding Firebase phone authentication in Flutter and removing reCAPTCHA for authentication

Image
Firebase provides a variety of tools at one place to nourish your app such as authentication of users, cloud storage, cloud database, deep analytics of the app etc. So, among these services we’ll be using phone authentication service provided by firebase and will remove the reCAPTCHA screen. So, without wasting any time let’s proceed. Setup Before proceeding further you need to initiate the steps mentioned below:- Create a Flutter project Create a Firebase project Link the Flutter app to Firebase In case you find difficulties in above steps, refer to the official documentations for Understanding Firebase projects and Add Firebase to your Flutter App . After doing so remember to add SHA-256 fingerprint by going to project settings in Firebase console. For getting SHA-256 you can follow official documentation or simply open the android folder of your flutter project in terminal and run “gradlew signingReport”. This will ...