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 | |
| /* | |
| * Validates a custom Datetime | |
| * @param mixed check | |
| * @param string | |
| * @return boolean | |
| */ | |
| public function customDatetime($check, $format) | |
| { | |
| foreach ($check as $field=>$value) |
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
| #!/bin/bash | |
| PUSH_URL="https://www.pushbullet.com/api/pushes" | |
| function pb_pushnote { | |
| /usr/bin/curl "${PUSH_URL}" \ | |
| -u "$1:" \ | |
| -d "device_id=$2" \ | |
| -d "type=note" \ | |
| -d "title=$3" \ |
NewerOlder