blog | Ram Laxman Yadav


How to upgrade nginx to updated version

Hello There, Today I am going to tell you how to update the nginx to latest stable version without removing it. Here we go: Create a backup of existing nginx config file: sudo cp /etc/nginx/nginx.

How to create tooltip using scss

Hello There, Today I am going to show how to create tooltip using scss. It’s very easy to create tooltip without using javascript. We can use pseudo-elements to pull in text and display it on :hover.

Hosting jekyll blog site on aws and post by git push

Hello There, Hope you are goind great. Today I am gona discuss how to host a jekyll’s blog website on aws and write an new blog post by simply using the git protocol.

Searching with sunspot solr.

Sunspot is a Ruby library for expressive, powerful interaction with the Solr search engine. Sunspot is built on top of the RSolr library, which provides a low-level interface for Solr interaction; Sunspot provides a simple, intuitive, expressive DSL backed by powerful features for indexing objects and searching for them.

How to remove a text from file/files using grep

However in practice we need to remove some text from a file or from multiple files. Removing text from files manually is a tough task. Here is a sample example to do this:

Advanced rails model generators

There are some people who give advice to not use rails generators and create models, controllers and etc. things manually. I don’t agree with them and my advice here is to figure out deeply how they work and then make conclusion.

Find duplicate records and delete mysql

However in practice we need to see that there are some records in our database they have duplicate values. This problem can be resolve by using the uniqness validations, But suppose the records are creating in a thread then it might be possible that two records will be created.

Fixing dell inspiron unresponsive touchpad

I face a problem in laptop touchpad not responding while upgrading ubuntu 14.04 to 14.10 or newer versions. Touchpad was working fine in ubuntu 14.04 but when I upgrade ubuntu to 14.

Working with elastic search ubuntu

Elasticsearch is an open-source, broadly-distributable, readily-scalable, enterprise-grade search engine. Accessible through an extensive and elaborate API, Elasticsearch can power extremely fast searches that support your data discovery applications. Installing java Elasticsearch require Java, so first install that.

Fixing fetch google chrome apt error 'stable InRelease' doesn`t support architecture 'i386' on ubuntu

Recently I got an error while running the command sudo apt-get update. The error was Failed to fetch Unable to find expected entry 'main/binary-i386/Packages' in Release file I was not able to fix this issue because my system showing some broken pakeges are there.