Posts

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

[fixed] Android studio Error "Unsupported Modules Detected: Compilation is not supported for following modules"

Method 1 : Try Invalidating Android Studio Cache 🔗 Just go File -> Invalidate Cache & Restart. So, Android Studio will remove cache and rebuild it and the project itself. If this solves the error, good for you. If not, try the next step. Method 2 : Remove Unused Modules 🔗 Click Command+Shift+F, type modules.xml, open the file, remove the modules that cause the error. If the error persists, try the 3rd method.

How to get arguments in Fish script?

Here is a command with 3 arguments. myfunc one two "third arg" How to get each argument in Fish script/function. to get all arguments as one string/text, use $argv. to get first argument, use $argv[1]. to get second argument, use $argv[2]. to get the function name or the script name, use $argv[0]. to the remaining three arguments after two : myfunc one two three four five, use $argv[3..-1] as -1 is the end of arguments.

[Fixed] curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

This error appears in too many cases, for example: when you are trying to .. upgrade Flutter via flutter upgrade. upgrade a homebrew cask via brew upgrade --cask --greedy. push to GitLab. curl some file from the internet. the errno 54 (error number 54) means “Connection reset by peer”, which basically indicates a generic network connectivity problem. So, It’s a network issue. If your internet is very slow and there are hiccups with network, you will face this error.

How can I convert MP4 video to MP3 audio with FFmpeg?

Sometimes, you need to extract audio or music from a video. Or you need to convert a video into an audio file. The command is simple. Here is the command to convert MP4 to MP3 file. ffmpeg -i video.mp4 audio.mp3 Alternative commands to convert MP4 to MP3 file ffmpeg -i video.mp4 -b:a 192K -vn music.mp3 or use this faster command (see benchmarks below). ffmpeg -i video.mp4 -vn audio.mp3 You can use all of the above three commands to convert mp4 into mp3 on Mac OS or any Linux based operating system, but not on Ubuntu.

Qwik vs Astro : A Fair Comparison

Startup performances / PageSpeed scores should be similar 🔗 Both Frameworks send just HTML with close to no JavaScript (JS). There should be no reason why either approach should have an advantage over the other. So any comparison which claims one is faster than the other is not the whole story. Mental Models 🔗 Astro has two different mental models: One mental model for delivering static content (usually .md file; a.

10 Tips to optimize Flutter mobile app

Use the Flutter Profiler to identify performance issues. Use the Flutter DevTools to debug your app. Reduce the number of widgets in your app and use lazy loading where possible. Use the Dart compiler to optimize your code for faster execution. Use the latest version of Flutter and its dependencies for better performance. Avoid using large images and videos in your app, instead use smaller versions or thumbnails where possible.

7 tips to optimize back-end written in Go

1. Use the latest version of Go 🔗 Make sure you are using the latest version of Go to take advantage of all the performance improvements and bug fixes. 2. Use Goroutines 🔗 Goroutines are lightweight threads that can be used to run multiple tasks concurrently, which can significantly improve performance. 3. Use Profiling Tools 🔗 Profiling tools such as pprof can help you identify bottlenecks in your code and optimize them accordingly.

5 Tips to optimize Laravel Eloquent

1. Use eager loading to reduce the number of database queries 🔗 Eager loading is a technique that allows you to load related models in a single query, reducing the number of queries needed to retrieve data. Eager loading is a way to reduce the number of database queries in Laravel. It allows you to load related models in a single query, reducing the number of queries needed to retrieve data.

NodeJS vs PHP vs Go for web development

Node.js, PHP, and Go are three of the most popular programming languages used in web development today. Each language has its own strengths and weaknesses, making it important to understand the differences between them before deciding which one is right for your project. Node.js is a JavaScript-based runtime environment that enables developers to create server-side applications with ease. It is an open-source platform that allows developers to write code in JavaScript and use the same language on both the client and server side.

Javascript vs PHP for web development

When it comes to web development, two of the most popular programming languages are Javascript and PHP. Both have their own advantages and disadvantages, so it can be difficult to decide which one is the best choice for your project. In this article, we’ll compare Javascript and PHP to help you make an informed decision. Javascript is a scripting language that runs on the client side of a website. It is used to create interactive web pages and dynamic content.