Nginx Install/Update Nginx to the latest stable version on Ubuntu If you're using nginx on Ubuntu, you'll quickly discover that the default Ubuntu version bundled with the operating system is quite outdated. This implies the necessity of running the latest Nginx version to mitigate potential security issues. This article guides you through the process of upgrading...
Debug Debug Google Analytics 4 / Firebase Analytics using Charles Proxy for Mobile Apps Debugging Google Analytics 4 (GA4) or Firebase Analytics using Charles Proxy involves intercepting and inspecting the network requests made by the app. The following is a guide on configuring Charles Proxy to decode the *.app-measurement.com/a calls initiated by the Firebase Analytics SDK on iOS/tvOS or Android. In...
Apple Apple Fairplay Streaming Overview Apple's FairPlay Streaming (FPS) is a DRM (Digital Right Management) technology used to securely deliver streaming media content to devices. It works with the HTTP Live Streaming (HLS) protocol. Here are some key points about FPS: * FPS allows content providers to encrypt content, securely exchange keys, and protect...
Swift How to measure function execution time in Swift? Runtime code execution duration monitoring is crucial. Swift provides ContinuousClock to measures the time that always increments. The ContinuousClock acts like a stopwatch, measuring time relative to when a program starts or some other specific reference point. This is suitable for high resolution measurements of execution. 1. Measure function execution...
SwiftUI How to clear/reset SwiftUI Preview Caches? If you run into any SwiftUI Preview related issue, then there are high chance that you are facing that issue due to some cached preview data. Here are the steps to reset the SwiftUI Preview Caches: 1. Close Xcode. 2. Run the following command in the terminal: xcrun simctl --set...
Xcode15 Fix Xcode 15 DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead In Xcode 15 Apple changed the variable which points to the default toolchain location to $TOOLCHAIN_DIR from $DT_TOOLCHAIN_DIR. If some project/target used $DT_TOOLCHAIN_DIR then it need to be replace by $TOOLCHAIN_DIR. 1. Find DT_TOOLCHAIN_DIR Reference To find out where in your...
Swift Execute async/await method from Swift Command Line (CLI) Application Call an async/await function (with or without throws) from the Swift Command Line Application using the spacial @main attribute to prevent the CLI application from exiting before the asynchronous operation completes....
WireGuard How to set up WireGuard Client on Debian? WireGuard is an extremely simple yet fast and modern VPN. Setting up the WireGuard VPN client on Debian is straightforward. In this tutorial, we will set up WireGuard VPN client on Debian using nmcli. 1. Install WireGuard First of all, we need to install the WireGuard on your Debian Desktop/...
SwiftUI SwiftUI focusSection - UIFocusGuide Alternative for SwiftUI? Use the focusSection view modifier in SwiftUI as an alternative to the UIFocusGuide in UIKit to focus diagonally in tvOS apps by creating larger logical focus targets....
SwiftUI How to Create Custom Environment Values in SwiftUI? Create custom environment key values in SwiftUI using EnvironmentKey protocol and EnvironmentValues extension. The Environment property wrapper can read custom environment key values....
WireGuard How to set up WireGuard Client on Ubuntu? Install WireGuard Client on Ubuntu and import WireGuard VPN config file to connect with WireGuard VPN Server. Manage Ubuntu WireGuard Client using network manager CLI and GUI tool....
SwiftUI Implement Push Notifications in SwiftUI Application Add AppDelegate class with push notification callback functions to the SwiftUI app and link it with the SwiftUI app using the UIApplicationDelegateAdaptor property wrapper....