I hereby claim:
- I am tuupola on github.
- I am tuupola (https://keybase.io/tuupola) on keybase.
- I have a public key ASDd8KUHc2ysqd2rplSt3onYRIq3UJ8zqnnADb2dg0KWlgo
To claim this, I am signing this object:
| <?php | |
| require __DIR__ . "/vendor/autoload.php"; | |
| use Http\Client\Curl\Client; | |
| use Http\Message\MessageFactory\DiactorosMessageFactory; | |
| use Http\Message\StreamFactory\DiactorosStreamFactory; | |
| use Http\Discovery\HttpAsyncClientDiscovery; | |
| use Http\Discovery\HttpClientDiscovery; | |
| use Psr\Http\Message\ResponseInterface; |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| use Zend\Expressive\AppFactory; | |
| require __DIR__ . "/../vendor/autoload.php; | |
| $app = AppFactory::create(); | |
| $app->pipe(new \Tuupola\Middleware\Cors([ | |
| "origin" => ["*"], |
| <?php | |
| use Zend\Expressive\AppFactory; | |
| use Firebase\JWT\JWT; | |
| use Slim\Middleware\JwtAuthentication; | |
| chdir(dirname(__DIR__)); | |
| require "vendor/autoload.php"; | |
| $app = AppFactory::create(); |
| <?php | |
| use \Slim\Middleware\JwtAuthentication; | |
| use \Slim\Middleware\JwtAuthentication\RequestPathRule; | |
| use \Slim\Middleware\HttpBasicAuthentication; | |
| /* Setup Slim */ | |
| $app = new \Slim\Slim(); | |
| $app->add(new JwtAuthentication([ |
| <?php | |
| /* This is old, use https://github.com/tuupola/dbal-psr3-logger instead. */ | |
| namespace Doctrine\DBAL\Logging; | |
| class MonologSQLLogger implements SQLLogger { | |
| public $logger; | |
| public $sql = ""; |
| <a data-category="Links" data-action="Leasing calculator" data-label="Avensis" href="http://aabw.toyota.ee/leasing/et/avensis">Avensis</a> | |
| <a data-category="Links" data-action="Test drive" data-label="Aygo" href="http://aabw.toyota.ee/testdrive/et#aygo">Aygo</a> | |
| <!-- Insurance does not allow linking directly to a model but we can include intended model in data-label. --> | |
| <a data-category="Links" data-action="Insurance calculator" data-label="Land Cruiser" href="http://aabw.toyota.ee/insurance/">Insurance</a> | |
| <a data-category="Links" data-action="Fuel calculator" data-label="RAV4" href="http://kampaania.toyota.ee/fuel/et#auris">RAV4</a> | |
| <a data-category="Links" data-action="Model page" data-label="GT86" href="http://www.toyota.ee/cars/new_cars/gt86/index.tmex">GT86</a> | |
| <!-- PDFs and stuff should have different category. --> | |
| <a data-category="Downloads" data-action="PDF" href="/downloads/yaris-something.pdf">Yaris something</a> |
| RewriteEngine On | |
| RewriteCond %{HTTPS} off | |
| RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} |
| $("#invite").bind("click", function(event) { | |
| var invitation = { | |
| method: "send", | |
| name: "Lorem ipsum dolor sit amet", | |
| link: "http://www.example.com/", | |
| picture: "http://placekitten.com/95/95", | |
| //to: next_uid, | |
| description: "Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem." | |
| }; |
| sudo mount -t devpts /dev/ptmx /dev/pts |