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
| """ | |
| Remote FPGA Build Server | |
| Runs on Windows 7 with Quartus/AGM toolchain installed. | |
| Accepts Verilog source files, runs synthesis in a temp folder, | |
| streams raw stdout bytes over WebSocket (preserving ANSI codes). | |
| Requirements: pip install flask flask-sock | |
| Usage: python build_server.py --tools-dir C:\path\to\tools [--port 5000] | |
| The --tools-dir should contain quartus\bin and Supra\bin subdirectories. |
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 | |
| """ | |
| BitRock/CookFS installer unpacker. | |
| Lists or extracts all files from a BitRock installer (.exe) that uses | |
| CookFS virtual filesystem with LZMA/zlib page compression. | |
| Tested with Quartus II 13.1 installer (CFS2.2 / CFS0002 format). | |
| Usage: |
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; | |
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 |
NewerOlder