LatLngBounds for Mapbox.js to fetch all corners lat long of map October 5, 2015 Represents a rectangular geographical area on a map. var southWest = L.latLng(40.712, -74.227), northEast = L.latLng(40.774, -74.125), bounds = L.latLngBounds(southWest, northEast); All Leaflet methods… Continue Reading
FFMPEG Converter for ubuntu April 28, 2015 We can convert videos from any form to any format sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update sudo apt-get install ffmpeg gstreamer0.10-ffmpeg Continue Reading
Fetch Google Contacts using access token ( omniauth-google-oauth2 ) March 17, 2015 For Ruby on Rails Developers : >> If you are looking for the functionailty for fetching the google contacts than you can follow the… Continue Reading
Add http to URL it it is not present there August 4, 2014 Using this way you can solve your problem, If there is no http or https in the url. def add_url_protocol(url) !(url[/Ahttp:///] || url[/Ahttps:///]) ?… Continue Reading
Overriding the default scope and sorting using multiple columns in rails ( No use of Array ), Mongo DB August 4, 2014 In Rails, Sometimes there can occur a situation like this. If there is a situation that we need to sort the data of the… Continue Reading
Download PDF’s in rails using PDFKit Gem August 4, 2014 Create PDFs using HTML+CSS. Uses wkhtmltopdf on the back-end which renders HTML using Webkit. You need to install these gems mentioned below : gem… Continue Reading
Mongodb service is not starting up on ubuntu August 4, 2014 This is very normal problem for the developer’s who work on developing applications in ruby on rails technology with mongo db that if your… Continue Reading
Awesome Analytics Platform – Segment.io January 8, 2014 Segment.io is one of the best analytics platform where you can manages different analytics platform in a wink of eye as mixpanel, google analytics… Continue Reading
Convert All URL from the text into links ruby gem January 3, 2014 link_url github.com/ashishprajapati-dev/link_url FEATURES: link_url is the best gem for converting url from the string or text into the links. It can convert the url’s… Continue Reading
Image RSS Feed builder in rails December 12, 2013 xml.instruct! :xml, :version => “1.0”xml.rss :version => “2.0” do xml.channel do xml.title “Funny Fake Ads” xml.description “My Funny Fake Ads” xml.link pins_url for pin… Continue Reading