This file contains 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
[user] | |
name = Filip Procházka | |
email = filip@prochazka.su | |
signingkey = *PG KEY* | |
[init] | |
defaultBranch = master | |
[core] | |
whitespace = fix,-indent-with-non-tab,space-before-tab,trailing-space,cr-at-eol |
This file contains 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/bash | |
### BEGIN INIT INFO | |
# Provides: php-fpm | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts php-fpm daemon | |
# Description: starts php-fpm daemon |
This file contains 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 | |
// hack for https proxies | |
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO'])) { | |
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' && isset($_SERVER['SERVER_PORT']) && in_array($_SERVER['SERVER_PORT'], [80, 82])) { // https over proxy | |
$_SERVER['HTTPS'] = 'On'; | |
$_SERVER['SERVER_PORT'] = 443; | |
} elseif ($_SERVER['HTTP_X_FORWARDED_PROTO'] === 'http' && isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 80) { // http over proxy | |
$_SERVER['HTTPS'] = 'Off'; |
This file contains 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] | |
memory_limit = -1 | |
max_execution_time = 0 | |
date.timezone = "Europe/Prague" | |
realpath_cache_size = "4096K" | |
[opcache] | |
opcache.enable = 1 | |
opcache.enable_cli = 1 | |
opcache.memory_consumption = 256 |
This file contains 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 | |
if( !function_exists('mime_type_check') ){ | |
function mime_type_check($path) | |
{ | |
if( function_exists('mime_content_type') ) | |
return mime_content_type($path); | |
else | |
return 'undefined/unknown'; | |
} |
This file contains 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 | |
namespace Kdyby\Forms; | |
use Nette; | |
use Nette\Forms\Controls\RadioList; | |
use Nette\Utils\Html; | |
use Nette\Utils\Arrays; | |
This file contains 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
var init = function () { | |
// tělo funkce | |
}; | |
if ($.browser.webkit) { | |
$(window).load(init); | |
} else { | |
$(document).ready(init); | |
} |
This file contains 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
// This is the primary configuration file for the BIND DNS server named. | |
// | |
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the | |
// structure of BIND configuration files in Debian, *BEFORE* you customize | |
// this configuration file. | |
// | |
// If you are just adding zones, please do that in /etc/bind/named.conf.local | |
include "/etc/bind/named.conf.options"; | |
include "/etc/bind/named.conf.local"; |
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
<module name="Checker"> | |
<!--<property name="fileExtensions" value="java, xml, properties"/>--> | |
<module name="SuppressionFilter"> | |
<property name="file" value="${checkstyle.config.path}/suppressions.xml"/> | |
</module> |
This file contains 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
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param QUERY_STRING $query_string; | |
fastcgi_param REQUEST_METHOD $request_method; | |
fastcgi_param CONTENT_TYPE $content_type; | |
fastcgi_param CONTENT_LENGTH $content_length; | |
fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
fastcgi_param REQUEST_URI $request_uri; | |
fastcgi_param DOCUMENT_URI $document_uri; | |
fastcgi_param DOCUMENT_ROOT $document_root; |
NewerOlder