Advanced php tutorials
Advanced PHP tutorials experts
Labels
php
MySQL
Wordpress
codeigniter
htaccess
jQuery
Apache
Tech Updates
Javascript
CSS
HTML
interview questions
SVN
Drupal
Pages
Home
Free Wordpress themes
Free Hosting
Create online API for Mobile App
Check if an array contains any element of another array in JavaScript
arr1 = ['AuditOfficer','ExecutiveOperations','BranchManager','Employee','HO','Vendor','account'];
arr2 = ['Vendor','account'];
let found = arr1.some(r=> arr2.indexOf(r) >= 0);
console.log(found);
Publishing your android app
http://ionicframework.com/docs/v1/guide/publishing.html
//
generate private key
keytool -genkey -v -keystore vishututkey-release-key.keystore -alias vishututkey -keyalg RSA -keysize 2048 -validity 10001
//
To sign the unsigned APK
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore vishututkey-release-key.keystore vishutut-release.apk vishututapp
Check two Dates is Equal in Javascript
function isEqual(startDate, endDate) {
return endDate.valueOf() == startDate.valueOf();
}
var date1 = new Date('2015-01-28');
var date2 = new Date('2015-01-30');
if(isEqual(date1, date2)){
console.log('Equal');
}else {
console.log('not equal')
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)