Skip to content

Instantly share code, notes, and snippets.


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() {
You can’t perform that action at this time.