Skip to content

Instantly share code, notes, and snippets.


How to work with Milan

User manual for me. Everyone is different, people have diverse backgrounds and preferences, here is a summary of how I think about work, collaboration and communication. I hope this helps skipping the first awkward interactions while we get to know each other.

What I value

  • I recognize individual contribution, but prioritize teamwork and collective efforts
  • I don't mind being wrong, I expect others to be able to admit being wrong as well

How I look at problems

  • I try to find balance between "academically correct" and "practical" solution - "incorrect" solution is ok when circumstances require it, major rework is justifiable in order to achieve correctness when circumstances allow it
m1n0 /
Last active October 7, 2019 09:51

Keybase proof

I hereby claim:

  • I am m1n0 on github.
  • I am milanlukac ( on keybase.
  • I have a public key ASAwLA-Fs_J7XXSaTZ3itqb0v8d9E1v4iEBNxp-F2i5JRwo

To claim this, I am signing this object:

View AuthExtension.php
namespace ACME\Auth\DependencyInjection;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\Config\FileLocator;
class AuthExtension extends Extension
View Yellow detector
cap = cv2.VideoCapture(0)
size = (487, 262)
while True:
_, frame =
frame = cv2.resize(frame, size)
hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
lower_yellow = np.array([18, 92, 120])
upper_yellow = np.array([35, 255, 255])
import sys
import datetime
from random import randint
import re
def random_with_n_digits(n):
range_start = 10**(n-1)
range_end = (10**n)-1
return randint(range_start, range_end)
class MyMigration extends Migration {
public $base_dir;
* Constructor.
public function __construct() {