Best API for Geolocating an IP Address

GeoIP Location tracking help website owner to serve users better way. GeoIP helps to locate and identify website visitor’s Location by IP address. There are many GeoIP Location API in market which have global IP database services worldwide, but they have some limitations on number of API call per website or user. IP Geolocation API … Read more

Install Ruby Slate NodeJS on CentOS 7

Slate is Beautiful static documentation for your API Required – Linux or OS X or Windows – Ruby version 2.3.1 or newer – NodeJS – Bundler — gem install bundler # cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) Install Ruby 2.4 – CentOS 7 # yum update # yum groupinstall “Development Tools” # yum install … Read more

PHP in Amazon Lambda

Clone or Download this GitHub Repo https://github.com/svnlabs/aws-lambda-php-template Make new folder lambda in current working directory of EC2 server # mkdir lambda Upload 2 files from zip to Amazon EC2 server Instance in folder lambda lambda – index.js – php (binary) index.js ‘use strict’; exports.handler = function(event, context, callback) { var exec = require(‘child_process’).exec; exec(‘./php -v’, … Read more

Re Stream Radio Shoutcast / Icecast using Node JS

Re-stream Radio (Shoutcast/Icecast) Stream using Node.JS and get Metadata current playing song title… Use port forwarding to hide real shoutcast IP …. Avoid PHP script to damage Server with too many calls on radio server Start Restream > node radio.js node.js>node radio.js Server running at http://192.168.1.4:8007 Radio Stream connected! { ‘icy-notice1’: ‘<BR>This stream requires <a … Read more

Create Website Thumbnails using PhantomJS

Hope you read my old article “Create WebThumb using LAMP”, it used for creating web thumbnails from Xvfb virtual framebuffer that is more time and resource consuming. Shell Script with Xvfb try to open web browsers in real remote server to capture web-thumbs… That whole setup might take a full day and image quality is … Read more

Upload Large Files from Amazon S3 Bucket to Dropbox Folder

Dropbox Uploader is a BASH script (only needs cURL) which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service. Usage: ./dropbox_uploader.sh COMMAND [PARAMETERS]… Secure:It’s not required to provide your username/password to this script, because it uses the official Dropbox API for authentication process. START … Read more