Skip to content

Instantly share code, notes, and snippets.

View cyysky's full-sized avatar

CHONG YOE YAT cyysky

View GitHub Profile
@cyysky
cyysky / README.md
Last active September 30, 2019 16:29 — forked from willprice/README.md
Install OpenCV 4.1.1 for Raspberry Pi 3 or 4 (Raspbian Buster) with Optional OpenGL QT5 support

Install OpenCV 4.1.1 on Raspbian Buster

$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.1/build
## For success python compile need to add -latomic manually to link.txt      
#https://github.com/opencv/opencv/issues/15192
/*
1) Open https://popcat.click
2) Open console (F12)
3) Insert code & run
*/
var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
@cyysky
cyysky / Popcat click
Last active August 15, 2021 06:31
Popcat
setInterval(()=>{document.dispatchEvent(new Event("keydown"));document.dispatchEvent(new Event("keyup"))},40)
@cyysky
cyysky / some_resoning_idea.py
Created October 24, 2024 17:53
some_resoning_idea
import torch
from transformers import pipeline
from typing import List, Dict, Any, Optional
import networkx as nx
from dataclasses import dataclass
import logging
import json
from pathlib import Path
import time
import asyncio
1
00:00:00,000 --> 00:00:10,480
So welcome all. Welcome to this distinguished lecture series in AI. I'm Vishal Mishra. I'm the
2
00:00:10,480 --> 00:00:15,040
Vice Dean for Computing and AI in Columbia Engineering. This is the second lecture in our
3
00:00:15,040 --> 00:00:20,420
@cyysky
cyysky / install_open_webui_service.bat
Last active March 29, 2025 06:07
Batch script to install Open WebUI as a Windows service using nssm and uvx, need to run it command prompt with administrator right.
@echo off
setlocal enabledelayedexpansion
echo ========================================
echo Installing Open WebUI as a Windows service
echo ========================================
:: Define variables
set "INSTALL_DIR=%~dp0"
set "INSTALL_DIR=%INSTALL_DIR:~0,-1%"
set "DATA_DIR=%INSTALL_DIR%\data"
@cyysky
cyysky / README.md
Created April 11, 2025 04:41
Browser-use: Connecting AI Agents with the Browser

Browser-use: Connecting AI Agents with the Browser

🌐 Browser-use is the easiest way to connect your AI agents with the browser. With pip (Python>=3.11):

pip install browser-use

Install Playwright: