Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
hack for living

Milan Felix Šulc f3l1x

:octocat:
hack for living
View GitHub Profile
@f3l1x
f3l1x / latte1.latte
Last active Jul 17, 2020
LESSIK - snippets
View latte1.latte
Hello from Latte!
Today is {time()|date:'d.m.Y'} and {date('H:i:s')}.
{var $members = ['dg', 'milo', 'f3l1x', 'chemix']}
{foreach $members as $member}
#{$iterator->counter} {$member}{sep},{/sep}
{/}
@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 / aliases
Last active Sep 28, 2020
Docker - installation, tips, commands, aliases
View aliases
# ------------------------------------
# Docker alias and function
# ------------------------------------
# Get latest container ID
alias dl="docker ps -l -q"
# Get container process
alias dps="docker ps"
You can’t perform that action at this time.