Skip to content

Instantly share code, notes, and snippets.

@mirono
mirono / main.py
Created March 30, 2024 17:22
Detcting commercials and controlling the TV
from tv import TV
import time
import cv2
import pytesseract
import numpy as np
from PIL import ImageGrab
device_id = "<YOUR TV ID>"
access_token = "<YOUR ACCESS TOKEN>"
# Area on the screen to look for commercials break text
@mirono
mirono / capture.py
Created March 30, 2024 09:58
Capturing an IP web camera RTSP feed with Python in OpenCV
import cv2
# RTSP URL of the IP camera
rtsp_url = "rtsp://ip:8080/h264.sdp"
# Create a VideoCapture object
cap = cv2.VideoCapture(rtsp_url)
# Check if the camera opened successfully
if not cap.isOpened():
@mirono
mirono / bnb-ponzi.csv
Last active March 23, 2022 12:44
BNB High Yield Ponzi
Name Link Network Status Contract Address Owner Wallet
12X12.io https://12x12.io/ BSC Low participation, contracts depleting 0x9357B18682A5e15cbD0c32bc8ea261Ced4a33947 0xBC451cDB1C2f26dbe0d7200cF3F3e88920B7a9f5
BNB Factor https://bnbfactor.com BSC Contract empty 0xEDe7cDec568456B1F1c117443C4B7Aef34C919cC 0x17a1094b09d83B29e884323113E8720f9fb5C520
BNB Matrix https://bnbmatrix.io BSC Site gone
BNB Train https://bnbtrain.ognius.com BSC Still active, low participation
BNB Crop https://bnbcrop.com BSC Site gone
Matrix BNB https://matrixbnb.com BSC Site gone
StableOne https://stableone.io Polygon Depleting 0xe306726C970210541954f25191cB188b6771d9E0 0xdd5715e3a8fC20397c9353ff24564732a3d2E66e
MaticFOMOV2 https://maticfomo.io/ Polygon Accumulating (started 10d ago) 0xA5ff50095D39569969c7b68bC02B45528E5c584b 0x4a158b4184e46390db98F7cFb52c5188D123010F
MyFeed Settings API
Settings Request:
POST domain/v1/settings/myfeed
payload:
{
"portfolios": [
"PortfolioId1",