// jQuery
$(document).ready(function() {
// code
})
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
https://askubuntu.com/questions/33089/what-user-settings-control-audio-access |
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
How can we extend Blade ? | |
I am using the directive https://laravel.com/docs/5.5/blade#extending-blade | |
@url('article_show', ['id' => '3'], ['foo' => 'bar'], 'fragment') | |
Problem is the rest of the params after string `'article_show'` is not received on call back. | |
I am trying to do something similar to : https://zendframework.github.io/zend-expressive/features/template/twig/ |
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
server { | |
listen 80; | |
server_name aurarouter.com; | |
root /var/www/projects/aura-router-test; | |
index index.php index.html index.htm; | |
location / { | |
try_files $uri @rewriteapp; | |
} |
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
# REF: https://github.com/h5bp/server-configs-apache/blob/master/src/security/content-security-policy.conf | |
<IfModule mod_headers.c> | |
Header set Content-Security-Policy "script-src 'self'; object-src 'self'" | |
<FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$"> | |
Header unset Content-Security-Policy | |
</FilesMatch> | |
</IfModule> |
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
Failure of server APACHE bridge: | |
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent. |
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 declare(strict_types=1); | |
require_once "✨.🐘"; | |
✨($_)->strlen("foo")->var_dump($_); |
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 | |
declare(strict_types=1); | |
use ParagonIE\ConstantTime\Base64UrlSafe; | |
class JWTKiller | |
{ | |
public static function sign(string $message, Key $key): string | |
{ | |
$mac = sodium_crypto_auth($message, $key->getRaw()); |
I am following Creating and enabling a module
What I need is get the instance of Hkt\Psr7Asset\AssetLocator
from container and do some specific things on the object.
This need to be done for all routes.
Is it possible to register a pipe in ConfigProvider
class below ?.
<?php
namespace Hkt\Psr7AssetExample;