Skip to content

Instantly share code, notes, and snippets.

Working from home

Filip Procházka fprochazka

Working from home
Block or report user

Report or block fprochazka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fprochazka /
Last active Sep 27, 2019
Test what mime type detection utilities are available on your installation
package com.cogvio.util.nio;
import sun.nio.fs.AbstractFileTypeDetector;
import sun.nio.fs.GnomeFileTypeDetector;
import java.lang.reflect.Field;
import java.nio.file.Path;
import java.nio.file.spi.FileTypeDetector;
import java.util.*;


create cert

https-cert-create com.filip-prochazka.ini

renev cert

View Dockerfile
FROM php:7.1-apache
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -q \
&& apt-get install unzip git libicu-dev curl libcurl4-gnutls-dev libmcrypt-dev -y --no-install-recommends
RUN docker-php-ext-install intl sockets curl pdo_mysql \
# xdebug is installed, but not enabled
fprochazka / Connection.php
Created Mar 6, 2017
RabbitMq DatabaseTransactionProducer
View Connection.php
namespace App\Doctrine\Connection;
use Closure;
use Psr\Log\LoggerInterface;
* @author Vašek Purchart
View checkstyle.xml
<?xml version="1.0"?>
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
<module name="Checker">
<!--<property name="fileExtensions" value="java, xml, properties"/>-->
<module name="SuppressionFilter">
<property name="file" value="${checkstyle.config.path}/suppressions.xml"/>

Keybase proof

I hereby claim:

  • I am fprochazka on github.
  • I am fprochazka ( on keybase.
  • I have a public key whose fingerprint is 2D51 7E80 0F70 8C00 D9EE 1683 7EB2 C006 27B9 7BDA

To claim this, I am signing this object:

View dynamicReturnTypeMeta.json
"functionCalls": [
"function": "\\array_diff_assoc",
"position": 0
"function": "\\array_diff_key",
"position": 0
fprochazka / composer.php.ini
Last active Dec 24, 2018
Composer with different ini or with different PHP
View composer.php.ini
memory_limit = -1
max_execution_time = 0
date.timezone = "Europe/Prague"
realpath_cache_size = "4096K"
opcache.enable = 1
opcache.enable_cli = 1
opcache.memory_consumption = 256
View comics.xml
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<outline text="Fun" title="Fun">
<outline text="The Oatmeal - Comics, Quizzes, &amp; Stories" title="The Oatmeal - Comics, Quizzes, &amp; Stories" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="" title="" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="The Daily WTF" title="The Daily WTF" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="PHD Comics" title="PHD Comics" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="The Perry Bible Fellowship" title="The Perry Bible Fellowship" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="Oglaf! -- Comics. Often dirty." title="Oglaf! -- Comics. Ofte
fprochazka / RenderBlockHelperMacro.php
Created Feb 11, 2016
Vyrenderování jednoho bloku z latte šablony
View RenderBlockHelperMacro.php
use Latte;
use Latte\Compiler;
class RenderBlockHelperMacro extends \Latte\Macros\MacroSet
public function __construct(Compiler $compiler)
You can’t perform that action at this time.