Ionic/Cordova : Device Motion Plugin

Ionic is a complete open-source SDK for hybrid mobile app development. Built on top of AngularJS and Apache Cordova, Ionic provides tools and services for developing hybrid mobile apps using Web technologies like CSS, HTML5, and Sass.

ngCordova was built to help make app development faster and more efficient than ever before. It gives you simple AngularJS wrappers for the most popular Cordova and PhoneGap plugins available, where you can take a picture, scan a barcode, upload a file, turn on your flashlight, get your current location, and much more with just a few lines of code.
(more…)

Read More

Clash of Clans API Integration on PHP

Supercell has introduced a official API service for Clash of Clans that will enable Clash of Clans players to access their data. Currently, the Clash of Clans API provides the ability to get data for clans, locations and leagues. As for now Clash of Clans API is only in beta mode, expect to see more features and version release in upcoming months. This will trigger new websites, apps, and additional services dedicated to Clash of Clans enthusiasts. While specifics about the API remain limited during the beta, the developer community expects massive changes within the Clash of Clans community to ensue.
(more…)

Read More

WhatsApp Share Button For Website

WhatsApp Messenger is one of the most popular messaging apps and you must be having it right now on your phone. Since WhatsApp is now available on web, it’s important for you to add it as a part of your internet/online marketing & promotions. Its one of the familiar app in all mobile phone that you can’t see the mobile phone without WhatsApp Messenger. Nowadays everybody is using the social share feature on their website with popular social network like Facebook, Twitter and Google Plus. Now, Here is the code snippet below to add WhatsApp Share Button for website that allows you to share on WhatsApp Messenger.
(more…)

Read More

WordPress Password Encryption & Decryption Algorithm

WordPress is a most popular and familiar open source Content Management System(CMS). It uses the PHP password hashing framework to generate hashed strings using several available algorithms. WordPress doesn’t store user passwords as plain text, instead it will save the password as hash string (encrypted password). This make you to keep secure, even if your database is hacked, the attacker won’t know your original password.

WordPress will also adds a bit of salt to make the string much longer and more complex. Then, it applies a cryptographic algorithm to the final string to create a one-way hash. A specific plain text string will always generate the same hash. There is no way, however to convert a given hash back to its plain text equivalent. This is an one-way hashing technique that you can make the plain text to hash (encrypted text) but you can’t reverse it back by decrypting.
(more…)

Read More

ResellerClub API Integration On PHP

ResellerClub platform powers some of the world’s most popular web hosts, domain resellers, web designers and technology consultant. ResellerClub provides scalable and secure Shared Hosting, Reseller Hosting as well as VPS solutions.

ResellerClub provide us the Reseller Program along with a selling tool like Supersite Storefront, Control Panel, API Integration and Billing Integration. The HTTP API provides a simple way to integrate the functionality of our Reseller platform with your Storefront, Control Panel or Application. You can leverage existing HTTP libraries available in almost all programming languages and try out or test the API easily using your favorite browser.
(more…)

Read More

Change Root Directory on LAMP Server

LAMP is an archetypal model of web service solution stacks, named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system (RDBMS), and the PHP programming language.

Installing lamp server will create a root directory of an Apache server on /var/www/html. I like to change the root directory because of some permission problem on  /var/www/html and also to make easy of managing my projects on my custom directory. Here are the steps to changed root directory on LAMP server.
(more…)

Read More