title predstavujem sa
color 9
echo Ahoj ja sa volam gabo
echo Mam rad macky
echo Uz nechodim do skoly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| DS203 License Generator | |
| Reverse-engineered from DFU bootloader and SYS V1.60 source. | |
| Two DFU algorithm variants exist, both using hash = hash * 31 + byte: | |
| NEW (DFU >= V2.81): init=0xDEC0DE02, serial loop i=20..30, const2 loop i=57..70 | |
| OLD (DFU < V2.81): init=0xDEC0DE02, serial loop i=2..12, const contrib=0x4013E5E1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LEGO Robot Cup</title> | |
| <style> | |
| *{box-sizing:border-box;margin:0;padding:0} | |
| body{font-family:'Segoe UI',Arial,sans-serif;background:#1a1a2e;color:#eee;min-height:100vh} | |
| .screen{display:none;min-height:100vh} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * mcu: ESP 8266 Boards 3.0 - LOLIN Wemos (D1 R2 & mini) | |
| * | |
| * UHS modification: https://www.hackster.io/usini/plug-any-usb-device-on-an-esp8266-e0ca8a | |
| * | |
| * pinout: | |
| * D3 - UHS.SS | |
| * D7 - UHS.MISO | |
| * D6 - UHS.MOSI | |
| * D5 - UHS.SCK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <title>DMX Channel Configurator — Live Values</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; } | |
| .channel-card { border-radius: 14px; background:white; padding:16px; box-shadow:0 6px 18px rgba(15,23,42,0.06); border:1px solid rgba(15,23,42,0.04); } |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // build flags: -D HEADLESS | |
| #include <stdint.h> | |
| #include <assert.h> | |
| #include <string.h> | |
| #include <vector> | |
| #define CHAR_BIT 8 | |
| //typedef attribute(( __align__(1) )) uint16_u; | |
| int maxFrames = 180000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import cv2 | |
| import numpy as np | |
| def custom_processing_function(b, g, r): | |
| r = int(r) | |
| g = int(g) | |
| b = int(b) | |
| y = (r+g+b)/3 | |
| mdif = max(abs(y-r), abs(y-g), abs(y-b)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // OCR code for processing photos of data structured in tables without installation of any package | |
| // use: swift recognize.swift photo.jpeg | |
| // It should return the 2D structure as JSON | |
| import Cocoa | |
| import Vision | |
| struct TableCell { | |
| var x: Int | |
| var y: Int |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // dns-sd -R gabo5 _arduino._tcp . 3005 ssh_upload=no | |
| const express = require('express'); | |
| const app = express(); | |
| app.use((req, res, next) => { | |
| console.log(Date.now(), req.method, req.url); | |
| next(); | |
| }); | |
| app.post('/pgm/sync', (req, res) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var net = require('net'); | |
| var socket = net.connect(8080, "localhost", () => { | |
| var request = "GET / HTTP/1.1\r\nHost: " + "localhost" + "\r\n\r\n"; | |
| var rawResponse = ""; | |
| socket.write(` | |
| GET / HTTP/1.1 | |
| Host: localhost | |
| Connection: Upgrade |
NewerOlder