What’s the difference between tilde(~) and caret(^) in package.json

In the dependencies section of a package.json file, the tilde (~) and caret (^) symbols are used to specify the version range of a package that your project depends on. The tilde (~) symbol specifies a version range that is compatible with the latest patch version of a package. For example, ~1.2.3 would match any … Read more What’s the difference between tilde(~) and caret(^) in package.json

How to change Browser URL without reload page with multiple query params using javascript

You can change the browser URL without reloading the page by using the history.pushState() method in JavaScript. This method allows you to modify the URL in the address bar of the browser and add query parameters to it. Here’s an example: In this example, newURL is the new URL that you want to add to … Read more How to change Browser URL without reload page with multiple query params using javascript

Ruby 1.8.7 Mac OS Bigsur __rvm_make -j8 | Error running ‘__rvm_make -j16’

Right-click Terminal from the Application/Utility folder, Get Info, tick the “Open using Rosetta” box. Uninstall Homebrew Reinstall Homebrew/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” Restart terminal Check Homebrew is working fine: brew doctor Reinstall openssl: brew install openssl Install Ruby: rvm install 2.5.3 Or any version Solution for: Ruby 1.8.7 Mac OS Bigsur __rvm_make -j8′Solution for: Cannot install ruby-2.2.7 on Mac … Read more Ruby 1.8.7 Mac OS Bigsur __rvm_make -j8 | Error running ‘__rvm_make -j16’

How to make slow audio using Flite Library

Flite is an open-source library that provides to convert text to speech with some configurations as well like slow speed, high speed, and increase volume as well. Here is Command #1 Above command with generate flite.mp3(you can give any name like rubyonrails.mp3) and play this in the music player. #2 The above command is generate … Read more How to make slow audio using Flite Library