Skip to content

Instantly share code, notes, and snippets.

Karel Hák norbe

  • Cze
Block or report user

Report or block norbe

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
norbe / WhereMultiInBuilder.php
Created Jan 10, 2017
How to create IN condition on more columns in nette database
View WhereMultiInBuilder.php
* Create where query parts needed for filtering rows by more than 1 value per row.
* Example:
* For [[value: 1, type: 2],[value: 2, type: 3]]
* creates (value = 1 AND type = 2) OR (value = 2 AND type = 3)
* @author Karel Hák <>
class WhereMultiInBuilder extends \Nette\Object {
norbe / TransactionManager.php
Last active Aug 29, 2015
PDO Transaction manager
View TransactionManager.php
/* This file is part of the FREGIS System ( \
/* Copyright (c) 2012 Karel Hák, Martin Jelič, Jakub Kocourek \
/* /
/* @license Use it as you want /
namespace Fregis\Database;
View gist:e36f994914da5e2bb43e
# -*- coding: utf-8 -*-
# This is a program to spawn php-cgi on windows.
# Author:
# Version 1.0
norbe / config.yaml
Created Mar 10, 2014
PuPHPet: No title provided and :package is not a valid resource reference
View config.yaml
box: ubuntu-precise1204-x32-vbox43
box_url: ''
forwarded_port: { }
View Description
NotORM test based on OSI DAYS example (
For testing purpose I was add author_id column to TAG table and then try to load applications filtered by and in the same time.
Problem is that NotORM doesn't use aliases, so I can't work with one table more than once (from another context).
Do you know how to solve it? Please update my index.php file..
You can’t perform that action at this time.