How to use automated database backups
How to handle carrierwave image processing in background, and make image uploads faster.
How to download and process remote files from local system without putting heavy load on the system.
I came across a very peculiar problem the other day. I had a Postgres database and one of the tables had an attribute object_changes which was yaml. Now, the data stored in
Recently, I came across a feature request which required me to query on a field in versions table provided by papertrail gem in ruby. You can read more about it here.It was
At times we need to delete old artifacts from gitlab ci builds which are no longer required. It's really tiresome to go on each job page, and delete it manually. I researched on
At times we have certain files which grow mammoth in size with time, like with RoR applications, there are log files, residing in the log directory.Something like:We can clear up the
Recently I happened to come across an interesting problem. I had put up ELK stack for monitoring services such as system health(cpu, logged in users, disk space etc) and logs monitoring. After
God! Before you also go and break your head, confused with how to do this, you can take help from my experience.I was trying to integrate pronto (automatic code analyser) with bitbucket
Even with the simplicity of yml configuration that is trending now-a-days, there aren't many sites and documentations that can help us configure rspec pipelines with as ease as configuring jenkins or gitlab.Below
At times, we need to insert millions of rows in a table for bench-marking or any other task. Using ActiveRecord for this purpose can hell lot of time.For that we will write
Active Record provides many ways in which we can load the associations of any row, namely: preload, eager_load, includes, and joins.Preload:preload loads all the associations in a separate query.Suppose
At times, we need to set class constants in Ruby, something like:class Foo BAR = Rails.application.secrets.BAZ['BAR'] endThis gets messy at times when we want to declare a lot of
Many a times our servers go out of disk space and we start scratching our heads which files are the culprits.From my experience, I have encountered these to be the issue most
How to add elastic search to your ruby on rails application.!
explanation for nil identifier in golang.
Go(lang) is one of the fastest growing language (in terms of popularity and features) as of now. Being a guy who has been coding in Ruby on Rails and JS since he
Export data to a CSV file from your Rails console.
There are times when you need your public IP address, that is associated to your Raspberry Pi to do some operations, like check torrent status, access plex or run any other task, that
At times we want to allow/deny access to any particular S3 bucket, for a particular user.Similar case would be, suppose you want to give someone only a read access to your
Recently I came across an issue where I had to whitelist certain IP addresses to have access over a S3 bucket.AWS is really great. It supports granular control over buckets and objects
Stay up to date! Get all the latest & greatest posts delivered straight to your inbox