Author: adeel

  • Google Updates Stance on JavaScript​: What Digital Marketers Need to Know

    Google Updates Stance on JavaScript​: What Digital Marketers Need to Know

    In a recent update to its official documentation, Google has revised its long-standing recommendations regarding the use of JavaScript in web development—signaling a major shift in how the search giant views modern web technologies. For years, Google advised developers to ensure that websites remained functional even with JavaScript disabled—a precaution rooted in an era when…

  • Splitting a video file in sections using ffmpeg at cli

    Consider a file named ‘x.mp4′. Let’s suppose the video file is wrapped in a MPEG-4 container coded with H.264 and AAC audio. To split the file and keep the file in the most commonly used MPEG-4 container, we could use the following command: The above command has a starting point at the fourth minute in…

  • What’s uasort function in php?

    Consider an array: Lets suppose we need to sort the 1st dimension based on the position key. What we can do is use the php’s uasort built-in method which will optimize the execution time of the script, we can do it like so: Replacing the values in the above uasort method: or if your above…