Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
echo $(pwd)/tests/selenium/ci.conf.js;
if [ -z "$3" ]
then
configFile="ci.conf.js"
else
configFile=$3
fi
<?php declare(strict_types=1);
namespace App\Panels;
use Nette;
class MyPanelExtension extends Nette\DI\CompilerExtension
{
public function afterCompile(Nette\PhpGenerator\ClassType $generatedContainer)
@Eflyax
Eflyax / .htaccess
Created January 8, 2019 11:14
Ebola - htaccess [www]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule /\.|^\. - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(pdf|js|ico|gif|jpg|png|css|rar|zip|tar\.gz|map)$ index.php [L]
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
@Eflyax
Eflyax / .htaccess
Last active January 8, 2019 11:15
Ebola - htaccess [root]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ /www/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/www/
RewriteRule ^(.*)$ /www/$1
</IfModule>
### Keybase proof
I hereby claim:
* I am eflyax on github.
* I am eflyax (https://keybase.io/eflyax) on keybase.
* I have a public key ASBVfVyGLUSoYVBsMN5nf2mo_5aC72k4uDf9o0vZ261gbwo
To claim this, I am signing this object: