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/sh | |
### BEGIN INIT INFO | |
# Provides: blebeacon | |
# Required-Start: $bluetooth | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: true | |
# Short-Description: Start/stop Bluetooth iBeacon | |
### END INIT INFO |
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 | |
// Happy birthday Tom | |
class Tom extends Person{ | |
public function runBirthday(){ | |
$this->age++; | |
if($this->age == 18){ | |
$this->acl->allow('doing own decisions'); |
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
/** | |
* Live Form Validation for Nette 2.0 | |
* | |
* @author Radek Ježdík, MartyIX, David Grudl, Martin Sadový | |
*/ | |
var LiveForm = { | |
options: { | |
controlErrorClass: 'form-control-error', | |
errorMessageClass: 'form-error-message', | |
validMessageClass: 'form-valid-message', |