How to change permissions only to files, not directories....?
find . -type f -exec chmod 644 {} \;
$ mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("NEWPASSWORD") where User='root';
mysql> flush privileges;
mysql> quit
document.addEventListener('DOMContentLoaded', function () {
//check if the browser supports notifications
if (!("Notification" in window)) {
// do nothing
// This browser does not support desktop notifications
return;
}
if (Notification.permission !== "granted"){
// if permission is not granted then ask user for permission
Notification.requestPermission();
} else {
// user has given permission
createNotificaiton('Success.', null, 'Desktop notifications are now allowed!');
}
});
function createNotificaiton(theTitle, theIcon, theBody) {
var options = {
icon: theIcon,
body: theBody,
};
var notification = new Notification(theTitle, options);
//close the notification automatically after 5 seconds
setTimeout(notification.close.bind(notification), 5000);
//attach events here
notification.onclick = function () {
//on clicking set focus to browser tab that triggered notification
window.self.focus();
};
}
createNotificaiton('The END is near.', 'http://prikachi.com/images/987/8219987P.jpg', 'Tour days are numbered!');
Login to Heroku Service
$ heroku login
Clone your repository
$ heroku git:clone -a donvercety
Commit to Service
$ git push heroku master
Start local server
$ foreman start web
web: node app.js
web: vendor/bin/heroku-php-apache2 web/
Best answer:
What works for me is to kill and start the adb server again. On linux:
sudo adb kill-serverand thensudo adb start-server. Then it will detect nearly every device out of the box.