This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# PDO Wrapper, supporting MySQL and Sqlite | |
# Usage: | |
# $db = new db(); | |
# | |
# // table, data | |
# $db->create('users', array( | |
# 'fname' => 'john', | |
# 'lname' => 'doe' | |
# )); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://www.w3.org/TR/notifications/ | |
//https://developer.mozilla.org/en-US/docs/Web/API/notification | |
//Notifier.isSupported | |
// | |
//Notifier.permission //"granted", "denied", or "default" | |
// | |
//Notifier.requestPermission([callback]) //first argument of callback is the current permission | |
// | |
//Notifier.notify(title[, options]) |