Mandar Apte

UI/UX Designer from Mumbai, Maharashtra, India.

Articles

  • If your Mac intermittently drops the TP-Link Router’s Wi-Fi Network Connection, here is a fix.

    I know it happened to me when I purchased a new TP-Links router. But after setting up the router with my ISP (Internet Service Provider), my Mac / iMac / MacBook / MacBook Pro / MacBook Air / Mac Mini started dropping connection intermittently every 5 minutes or every 2 minutes.

    After trying everything, here is a list of settings I used to get a stable connection from my router to my Mac.

    Step 01: Sign in to your Router’s Admin Page

    Step 02: Navigate to Wireless or Advanced > Wireless > Wireless Settings

    Step 03: Uncheck ‘Smart Connect’. i.e. Disable the Smart Connect Feature.

    (more…)
  • Resolve Cloudflare’s ‘Invalid Domain’ error while adding a new site.

    Background:

    Cloudflare is a good web service that provides CDN, Caching, HTML – JavaScript – CSS Minifying and security from DDOS attacks free of cost.

    However, you must add your domain to Cloudflare to use this service.

    Interaction is simple. At the top of your dashboard’s navigation bar, there is a prominent button called ‘Add Site’. Clicking it transfers you to the next page, where you can copy-paste your website’s URL.

    If you are getting an error like ‘Invalid Domain’ while adding your website to Cloudflare, use this trick to bypass this error.

    If you are copy-pasting the URL with the http suffix, then you will get an error:

    // You will get error
    http://yourdomain.com
    

    Then you have to enter your domain without http or www, and It should look like this:

    // Success
    yourdomain.com
    

    The ‘Invalid Domain’ error should be resolved by now.

    I hope it helps.

    Thanks & Regards
    Mandar Apte

  • Stop email notifications for WordPress Theme and Plugin Updates.

    With the WordPress 5.5 release, you may have experienced new random daily emails you may have received for every WordPress self-hosted theme and plugin update.

    Here is how to stop email notifications for theme and plugin updates:

    Copy the code below in your domain theme’s functions.php file… It will look something like this…

    (more…)

    by

    ,
  • In-depth Review of Matrimony Website by Suyog Ranade Vivaha, aka Shree Suyog Vivaha Mandal

    Background:

    I have written a complete, in-depth review and analysis of the Suyog Ranade Vivaha or Shree Suyog Vivaha Mandal Matrimony website that I used for 6 to 7 months, mainly on WhatsApp groups, because of bad user experience on website format. I reported the following issues to them, but they were not ready or in the right frame of mind to accept it.

    So, I just unregistered myself from their portal and exited their WhatsApp groups.

    Following are the points that I noticed about their matrimony service:

    Point 01:
    No or Failed Business Model. The matrimony section mainly runs on WhatsApp Groups of 250 people. The group is unmanaged sometimes; people post their profiles multiple times. Some people even post political or comic forwards. Because all members are in an open WhatsApp group, there is no contact number security or number privacy. Sometimes, admins or business owners post repeated WhatsApp Messages asking every user to register and pay a fee to use WhatsApp groups or websites. Admins even warn users they will remove everyone who never pays the matrimony section fee, which showcases the main point that there is no thought behind Successful Business Model or Revenue Generation.

    Point 02:
    No Privacy or Security: Because of the open group with visibility of contact numbers to everyone, users are prone to scammers and fake profiles or spam calls

    Point 03:
    Suyog Ranade Vivaha lost complete user profile data and even registered account data three times while upgrading their website and transferring the website to their new domain. They had to ask every user individually to reregister for their website repeatedly—a failed system.

    Point 04:
    Website owners had to change their Web Domain as a similar web domain was used by its competitor with a slight name difference. This shows no thought about branding or company structure. Because of this exact domain by competitors, Suyog Ranade Vivavha’s Matrimony users were registering wrongly on competitors’ websites, thinking competitors that they were the original company. This shows a loss of identity and company branding, and a loss of revenue.

    Point 05:
    As you can see in the screenshots, the website structure is broken and faulty, with buggy coding and development.

    (more…)
  • Repair User Home Folder Permissions for Mac

    I will explain how to repair your Mac’s Home Folder Permissions. This will fix any annoying repeated Finder, iTunes / Music, or application issues on your Mac.

    Follow these steps to reset permissions:

    Step 01:
    Turn on or restart your Mac and immediately press and hold ‘Command (⌘) R’ to start up from macOS Recovery.

    Step 02:
    Enter the firmware password or administrator password if prompted on your Mac.

    Step 03:
    Choose Utilities > Terminal from the menu bar when you see the macOS Utilities window.

    (more…)
  • Programmatically identify device type iOS, iPadOS & macOS Catalyst.

    If you are developing a macOS catalyst app, you may be wondering how to conditionally write code specifically for iOS, iPad OS, or the macOS 10.15 catalyst app.

    Here is how to do it.

    Use the code below to declare specifically written code, which will compile only for iOS and iPadOS.

    (more…)
  • Set UINavigation Bar Large Title Text Foreground Colour.

    Here is how to set UINavigation Bar Large Title Text Colour (Foreground Colour) in iOS 11, 12, 13 and above,

    Declare Navigation Bar Title Text & Large Title Settings like this in your View Controller’s ViewDidLoad() Method:

    self.navigationItem.title = "Home"
    self.navigationController?.navigationBar.prefersLargeTitles = true
    self.navigationController?.navigationItem.largeTitleDisplayMode = .automatic
    

    Now write the below line inside ViewDidLoad() to get the Large Title Foreground colour as White Colour like this:

    (more…)
  • Cloudflare Flexible SSL Certificate Implementation Guide for WordPress Website.

    Prerequisite:
    Please ensure you have an active CloudFlare account and have added your WordPress Website to CloudFlare. Also, make sure you are using CloudFlare nameservers for your domain.

    Step 01:
    Sign in to your CloudFlare account

    Step 02:
    Make sure a flexible SSL certificate is enabled under the “Crypto” tab for your selected website

    Step 03:
    While signing in to your CloudFlare account, go to > My Profile, Scroll down to API Keys, locate the Global API Key, and copy the key for further use inside your website.

    (more…)
  • Set UIImageView Image Inset for iOS and iPadOS app.

    Here is an example if you want to inset UIImageView so that the image does not fit edge to edge of the UIImageView

    Note:
    The latest version of Xcode & Latest version of Swift Programming Language is preferred.

    Here is step by step procedure to achieve the designed result:

    Step 01:
    Create Apple iOS Project in Xcode. Add UIImageView to View Controller in Storyboard.

    Step 02:
    Now Connect that UIImageView to the View Controller Swift File. It will look something like this.

    @IBOutlet weak var imageView: UIImageView!
    

    Step 03:
    Now add the following code in the ViewDidLoad Function of your View Controller File.

    (more…)
  • Animate tab bar switches with a transition effect for UITabBarViewController.

    I was searching the web for answers on how to give the CurlUp / CrossDissolve / FlipFromRight / FlipFromLeft / CurlDown / FlipFromTop / FlipFromBottom transition effect for the UITabBar Tab Switch.

    I found this answer, but it has a bug or a black screen when you tap on the same tab twice, i.e., the destination and current tab are the same.

    So I solve this issue with my logic and additional if and else statement.

    So here is the final answer without any bugs.

    Step 01:
    Add these two classes as Super Class to your UITabBarViewController

    UITabBarController, UITabBarControllerDelegate
    

    Step 02:
    Now add the following code to your viewDidLoad Function in your UITabBarViewController

    self.delegate = self
    
    (more…)