This file contains 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
yt-dlp https://www.youtube.com/watch?v=6T46sgty4Mk -o test-2 | |
mkdir img | |
git clone https://github.com/LexCybermac/smlr | |
ffmpeg -i test-2.mp4 -vf "fps=1" img/frame_%04d.png | |
pip install torch torchvision numpy Pillow transformers tqdm pathlib annoy scipy | |
python .\smlr.py --image_directory .\img\ --clip_model openai/clip-vit-base-patch16 --threshold 0.22 --batch_size 192 | |
Or (didn't try) | |
https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/image_embeddings_analysis_part_1.ipynb |
This file contains 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 cv2 | |
import numpy as np | |
from PIL import Image, ImageDraw, ImageFont | |
import os | |
import shutil | |
debug = False | |
# UI using ShadCN, fast iteraation, learn how to do streaming UIs though |
This file contains 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
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
#include <thread> | |
#include <curl/curl.h> | |
#include <cstdlib> | |
#include <ctime> | |
#include <sstream> | |
#include <mutex> |
This file contains 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 os | |
from Google import Create_Service | |
from googleapiclient.http import MediaFileUpload | |
import hashlib | |
import json | |
API_NAME = 'drive' | |
API_VERSION = 'v3' | |
SCOPES = ['https://www.googleapis.com/auth/drive'] |
This file contains 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
# https://kevinlinxc.medium.com/how-hard-could-installing-autocomplete-for-powershell-be-4c8a2cbc69be | |
# Update-Module PowerShellGet -Force | |
# Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck | |
Invoke-Expression (& 'C:\Users\hp\scoop\shims\starship.exe' init powershell --print-full-init | Out-String) | |
Import-Module PSReadLine | |
Import-Module -Name Terminal-Icons | |
Set-PSReadLineOption -PredictionSource History | |
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistory 'Ctrl+r' |
This file has been truncated, but you can view the full file.
This file contains 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
http://95.229.228.109:81/cgi-bin/faststream.jpg?stream=half&fps=15&rand=COUNTER | |
http://196.218.116.139:80/cgi-bin/viewer/video.jpg | |
http://213.240.185.79:50001/cgi-bin/faststream.jpg?stream=half&fps=15&rand=COUNTER | |
http://187.145.51.144:8083/cgi-bin/viewer/video.jpg | |
http://78.33.151.99:8888/mjpg/video.mjpg?COUNTER | |
http://84.244.69.110:80/cgi-bin/viewer/video.jpg | |
http://88.247.179.172:60001/cgi-bin/snapshot.cgi?chn=0&u=admin&p=&q=0 | |
http://76.70.29.102:2080/mjpg/video.mjpg?COUNTER | |
http://73.138.177.206:1024/mjpg/video.mjpg?COUNTER | |
http://188.235.132.145:80/cgi-bin/viewer/video.jpg |
This file contains 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
#include <windows.h> | |
#include <iostream> | |
#include <string> | |
#include <winuser.h> | |
HWND g_hTextBox; | |
HWND g_hButton; | |
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
This file contains 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
#!/bin/bash | |
# Function for colored logging | |
debug() { | |
local mode="$1" | |
local log="$2" | |
local color="$3" | |
case "$mode" in | |
fetch) echo -e "\e[1;36m[Fetch]\e[0m $log" ;; |
This file contains 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
<?xml version="1.0"?> | |
<FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<NotebookModel>HP Pavilion Gaming Laptop 15-ec1xxx</NotebookModel> | |
<Author>bLeDy</Author> | |
<EcPollInterval>1000</EcPollInterval> | |
<ReadWriteWords>false</ReadWriteWords> | |
<CriticalTemperature>68</CriticalTemperature> | |
<FanConfigurations> | |
<FanConfiguration> | |
<ReadRegister>88</ReadRegister> |
This file contains 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
gaps: | |
inner_gap: 2 | |
outer_gap: 4 | |
general: | |
# Whether to show floating windows as always on top. | |
show_floating_on_top: false | |
bar: | |
height: "30px" |
NewerOlder