I hereby claim:
- I am evert on github.
- I am evert (https://keybase.io/evert) on keybase.
- I have a public key whose fingerprint is 107B AA3F EC16 5B36 2AA3 B1A0 7140 EC0B 6D75 CC9B
To claim this, I am signing this object:
{I hereby claim:
To claim this, I am signing this object:
{| { | |
| "email": "me@evertpot.com", | |
| "basicAuth": { | |
| "userName": "6aJLC9SCpNpjXsWWQu69aRkQW9A2XA1ZH5d4dQsU7Phh.2vNSupMEg", | |
| "password": "1U8VAfh0mkI8SoRegXqj50gTE9VTpleCDn4LiD564hy7TXuyNC6RFg", | |
| "expires": 1395806514 | |
| }, | |
| "links": { | |
| "addressbook-home-set": "\/~evert\/fruux\/fruux-ent\/public\/server.php\/addressbooks\/users\/4\/", | |
| "current-user-principal": "\/~evert\/fruux\/fruux-ent\/public\/server.php\/principals\/users\/4\/" |
| <?php | |
| error_reporting(E_ALL | E_STRICT); | |
| ini_set('display_errors',1); | |
| $publicDir = '/home/groups/s/sa/sabredav/persistent/public'; | |
| $pdo = new PDO('sqlite:/home/groups/s/sa/sabredav/persistent/db/db.sqlite'); | |
| $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |
| <?php | |
| $router = new \My\Router(); | |
| $router->add('GET /blog/(?P<postId>[\d]+)', function($postId) { | |
| return new \My\Blog\Controller($postId); | |
| }); |
| <?php | |
| function alarmExpand(Sabre_VObject_Component_VCalendar $calendar, DateTime $start, DateTime $end) { | |
| // You should adjust these to be more reasonable | |
| $startScan = new DateTime('1995-01-01'); | |
| $endScan = new DateTime('2030-01-01'); | |
| $newEvents = array(); |
| $tree = array( | |
| new Sabre_DAV_SimpleCollection('principals' , array( | |
| new Sabre_CalDAV_Principal_Collection($backend, 'principals/projects'), | |
| new Sabre_CalDAV_Principal_Collection($backend, 'principals/users'), | |
| )); | |
| ); |
| <?php | |
| if ($argc < 2) { | |
| echo "Usage: \n"; | |
| echo "\n"; | |
| echo "1. Wait till you get an invite for a silly wordgame\n"; | |
| echo "2. execute $argv[0] [letters]\n"; | |
| echo "3. Win\n"; | |
| die(); |
| <?php | |
| error_reporting(E_ALL | E_STRICT); | |
| ini_set('display_errors',1); | |
| $publicDir = '/path/to/public/directory'; | |
| $pdo = new PDO('sqlite:/path/to/sqlite/database'); | |
| $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |
| <!DOCTYPE html> | |
| <head> | |
| <title>This is it</title> | |
| <meta charset="utf-8" /> | |
| <style type="text/css"> | |
| hr { | |
| border: 0px; | |
| } |
| <?php | |
| function generatePayload($username, array $permissions) { | |
| $xml = [ | |
| '{http://myns.org/}/user' => $username, | |
| '{http://myns.org/}/permissions' => new Sabre\Xml\Element\Elements($permissions) | |
| ]; | |
| $service = new Sabre\Xml\Service(); |