Skip to content

Instantly share code, notes, and snippets.

:octocat:
hack for living

Milan Felix Šulc f3l1x

:octocat:
hack for living
Block or report user

Report or block f3l1x

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
@f3l1x
f3l1x / ActiveEntity.php
Last active Jul 18, 2019 — forked from beberlei/ActiveEntity.php
Doctrine 2.2 Traits Preview
View ActiveEntity.php
<?php
use Doctrine\ORM\EntityManager,
Doctrine\ORM\Configuration,
Doctrine\ORM\Mapping\ClassMetadata;
/**
* Active Entity trait
*
* Limitations: a class can only ever be assocaited with ONE active entity manager. Multiple entity managers
@f3l1x
f3l1x / support-branch-alias.txt
Created May 1, 2019
Gitmass - Contributte + Apitte + Nettrine + Ninjify + Planette
View support-branch-alias.txt
$ node -r esm src/consistency/analyse.js
contributte/mobilni-platby does not have defined composer.extra.branch-alias
contributte/latte-email does not have defined composer.extra.branch-alias
contributte/nextras-orm-generator does not have defined composer.extra.branch-alias
contributte/forms-wizard does not have defined composer.extra.branch-alias
contributte/forms-multiplier does not have defined composer.extra.branch-alias
contributte/blogette does not have defined composer.extra.branch-alias
contributte/image-storage does not have defined composer.extra.branch-alias
contributte/api-router does not have defined composer.extra.branch-alias
contributte/api-docu does not have defined composer.extra.branch-alias
View keybase.md

Keybase proof

I hereby claim:

  • I am f3l1x on github.
  • I am f3l1x (https://keybase.io/f3l1x) on keybase.
  • I have a public key ASDrMeyL28xQU3dONwui-6Kkd4OUYn1Ukno8yuBe-ykhvgo

To claim this, I am signing this object:

@f3l1x
f3l1x / phpmailer
Last active May 16, 2016
PHPMAILER for dev server
View phpmailer
#!/usr/bin/php
<?php
$input = file_get_contents('php://stdin');
preg_match('|^To: (.*)|', $input, $matches);
$filename = tempnam('/var/log/mail', $matches[1] . '.');
file_put_contents($filename, $input);
@f3l1x
f3l1x / docker.md
Last active Jun 20, 2019
Docker - installation, tips, commands, aliases
View docker.md

Docker

Shortcuts

$ curl -fsSL https://raw.github.com/tcnksm/docker-alias/master/zshrc >> ~/.bashrc && source ~/.bashrc
# ------------------------------------
You can’t perform that action at this time.