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 | |
TERM="xterm" | |
export TERM | |
BACKPORTS=" composer freight " | |
strstr() { | |
[ "${1#*$2*}" = "$1" ] && return 1 | |
return 0 |
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 | |
TERM="xterm" | |
export TERM | |
BACKPORTS=" composer freight " | |
strstr() { | |
[ "${1#*$2*}" = "$1" ] && return 1 | |
return 0 |
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 | |
require_once '../vendor/autoload.php'; | |
/** | |
* http://docker-php.readthedocs.io/en/latest/cookbook/container-run/ | |
*/ | |
use Amp\Loop; | |
use Docker\Docker; | |
use Docker\DockerClientFactory; | |
use Docker\API\Model\ContainersCreatePostBody; |
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 | |
/** | |
* @author Vítězslav Dvořák <info@vitexsoftware.cz> | |
* | |
* Thanks to https://github.com/mledoze/countries | |
*/ | |
require_once '../vendor/autoload.php'; | |
$coder = new \FlexiPeeHP\FlexiBeeRW(null, ['evidence' => 'stat','offline'=>'true']); |
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
{ | |
"winstrom": { | |
"@version": "1.0", | |
"stat": [ | |
{ | |
"id": "code:AW", | |
"nazev": "Aruba", | |
"nazevA": "Aruba", | |
"nazevB": "Aruba", | |
"nazevC": "Aruba", |
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 | |
use Phinx\Migration\AbstractMigration; | |
class UserLog extends AbstractMigration | |
{ | |
public $tableName = 'user_log'; | |
public function up() |
This file has been truncated, but you can view the full file.
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
############################################ analyza-nakupu ########################################################### | |
/* centralServer LOG*/ select hodnota from cssetting where klic = $1 | |
/* centralServer DETAIL*/ parameters: $1 = 'ACCESS_CONTROL_ALLOW_ORIGIN' | |
/* centralServer LOG*/ select a.attname from pg_class c join pg_attribute a on a.attrelid = c.oid join pg_type t on t.oid = a.atttypid where relname = 'csuzivatel' and a.attnum > 0 and not a.attisdropped order by a.attnum | |
/* centralServer LOG*/ SELECT max(dbversion) FROM dbversion WHERE needreimport = 't' | |
/* centralServer LOG*/ select u.idcsuzivatel, u.jmeno, u.create_company, u.manage_all, u.create_user, u.change_password, u.delete_company, u.grant_permission, u.license_mgmt, u.deleted, u.blocked, u.blocked_text, u.create_dt, u.idcsskupina, u.sso_identifier, u.dbusername, u.default_role, u.given_name, u.family_name, u.email, u.mobile, u.system_user, u.last_dt, u.user_type from csuzivatel u where lower(u.jmeno) = lower($1) and not u.delet |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# 1) Create an directory | |
# 2) Put this Vagrantfile and your Redmine (EasyRedmine/EasyProject) zip Archive into | |
# 3) vagrant up | |
# 4) wait for provision to be done | |
# 5) run command: sudo -H -u easy bash -c .. | |
# 6) reboot the vagrant virtual machine | |
# 7) see application in action on http://localhost:8080 |
NewerOlder