Neelkanth Ram



24 Stories by Neelkanth Ram

Fix for TZInfo::DataSourceNotFound: GitLab Omnibus

There was an error running gitlab-ctl reconfigure: Solution is the run the below command and rerun gitlab-ctl reconfigure apt-get update && apt-get install tzdata...
0 1 min read

How to set Timezone in Ubuntu server

Run the command You will see the below screen to pick and choose the timezone for your server.
0 5 sec read

Rotate and Compress pm2 logs Elegantly

pm2 logs can grow big overtime. As big as 50GB or more in a month time based on your application usage. Eventually you may...
3 36 sec read

Fastest way to download large files from AWS S3 to Local machine

Install aria2. If you are on Ubuntu, you can try apt install aria2. run aria2c -x 16 -s 16 aws_https_file_url -x, –max-connection-per-server=NUM The maximum...
0 10 sec read

How To Draw Circle In CSS With Text In The Middle?

If you want to see the quick demo, see this link which shows the total vote count and comment count inside a css circle.
0 24 sec read

Tips: Job for apache2.service failed. Use sudo apache2ctl configtest to fix it.

If you get Job for apache2.service failed. See “systemctl status apache2.service” and “journalctl -xe” for details, then use “sudo apache2ctl configtest” to see the...
0 7 sec read

MongoDB Indexes

In this blog I am going to share my experience and learnings with MongoDb indexes.
0 4 min read

Tips: Empty A File in Unix Using >

If you want to empty a file’s content in a Unix based system then simply use > like so: $ > /var/log/foo.txt ...
0 8 sec read

Integrating Facebook Login with Apache Cordova

In this blog post, lets learn how to integrate Apache Cordova’s official Facebook plugin in to a project.
0 1 min read

Install Ruby 2.0 and Rails 4.0 on Mac OS Mountain Lion

The easiest way is to install XCode Command Line tools and then install ruby 2 via rvm then install rails 4 via gem. Install...
0 1 min read

Tip: Curl JSON Output formatting

If you use curl | python -mjson.tool you will see fantastic formatting of json result. Let’s see the “before” and “after” effects.
2 1 min read

Simple Tip for GitHub, Gems

GIT: To list the remote repo a git repo is pointing Try git remote -v or git remote show origin GEM: gem list rhodes...
0 6 sec read