Skip to content

Instantly share code, notes, and snippets.

Milan Lukac m1n0

Block or report user

Report or block m1n0

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

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:

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)
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])
class MyMigration extends Migration {
public $base_dir;
* Constructor.
public function __construct() {
You can’t perform that action at this time.