How to find your public IP address Linux terminal
If you need to know the IP address that websites and online services see, you need your public IP address. Run this command in your terminal: curl ifconfig.me The command will return your public ...
If you need to know the IP address that websites and online services see, you need your public IP address. Run this command in your terminal: curl ifconfig.me The command will return your public ...
As the famous saying goes: There are two types of people. Those that have a backup and those that need one Phone Photos I use google photos to backup my photos. It syncs and works pretty well....
The rule You need three copies on two different media with one of them being off-site. Explanation Let’s break it down. Three copies This is self explanatory. Two different media This means we c...
No namespace :namespace do desc "We need to do xyz" task :xyz do require "faraday" require "json" puts "Doing task" end end Yes require "faraday" require "json" namespace :na...
Authentication Authentication is the act of proving an assertion, such as the identity of a computer system user. Simply said: Who is this person / are they logged in? In Ruby on Rails we usu...
Don’t take it personal when someone criticizes your work. It’s not personal(in most cases) and it’s not that deep. I have spent so much time on a feature or a problem, and then in 5 minutes it is ...
After updating my Gemfile to fix a Rails boot error, Sidekiq scheduled jobs silently stopped running despite the process and queues looking healthy. The root cause turned out to be a gem incompatibility that crashed Sidekiq’s scheduler thread on boot, reinforcing the importance of reading errors before changing everything else.
A real-life case on why you should never trust the user and always check what they input
Learn why using a datetime instead of a boolean in your Rails models gives you more useful data for almost no extra cost.
Error Rails doesn’t work. We get a require: cannot load such file -- rails/cli (LoadError) > rails <internal:/usr/share/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require...