mkdir project
cd project
cargo init --lib
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
''' | |
Using the emotion representation model | |
rec_result only contains {'feats'} | |
granularity="utterance": {'feats': [*768]} | |
granularity="frame": {feats: [T*768]} | |
python main.py | |
''' | |
from funasr import AutoModel |
Manual compile rustc program
# Rust -> AST -> HIR -> MIR -> IR -> Assembly -> Object -> Link -> Executable
rustc main.rs --emit=llvm-ir # clang IR
llc main.ll # Assembly
clang -c -o main.o main.s # Object file
clang main.o -o main.exe -l"C:\Users\yaako\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\std-2df1f22abef96888.dll.lib" # Executable
$env:PATH += "C:\Users\yaako\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib"
.\main.exe
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
Fresh urlencoding v2.1.3 | |
Dirty vibe v0.0.6 (D:\vibe\desktop\src-tauri): the file `desktop\src-tauri\src\main.rs` has changed (13376000199.285733200s, 32s after last build at 13376000167.154701100s) | |
Compiling vibe v0.0.6 (D:\vibe\desktop\src-tauri) | |
Running `set CARGO=\\?\C:\Users\yaako\.rustup\toolchains\nightly-2024-11-09-x86_64-pc-windows-msvc\bin\cargo.exe&& set CARGO_BIN_NAME=vibe&& set CARGO_CRATE_NAME=vibe&& set CARGO_MANIFEST_DIR=D:\vibe\desktop\src-tauri&& set CARGO_MANIFEST_PATH=D:\vibe\desktop\src-tauri\Cargo.toml&& set CARGO_PKG_AUTHORS=@thewh1teagle&& set CARGO_PKG_DESCRIPTION=Vibe&& set CARGO_PKG_HOMEPAGE=""&& set CARGO_PKG_LICENSE=MIT&& set CARGO_PKG_LICENSE_FILE=""&& set CARGO_PKG_NAME=vibe&& set CARGO_PKG_README=""&& set CARGO_PKG_REPOSITORY=https://github.com/thewh1teagle/vibe&& set CARGO_PKG_RUST_VERSION=""&& set CARGO_PKG_VERSION=0.0.6&& set CARGO_PKG_VERSION_MAJOR=0&& set CARGO_PKG_VERSION_MINOR=0&& set CARGO_PKG_VERSION_PATCH=6&& set CARGO_PKG_VERSION_PRE=""&& set CARGO_PRIM |
See https://v2.tauri.app/distribute/sign/windows/
- Create cert
$cert = New-SelfSignedCertificate -Type CodeSigning -Subject "CN=thewh1teagle" -KeyAlgorithm RSA -KeyLength 2048 -CertStoreLocation "cert:\CurrentUser\My"
Write-Output $cert.Thumbprint
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
""" | |
pip install colorama | |
""" | |
import sys | |
import threading | |
import time | |
from colorama import init, Fore, Style | |
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
""" | |
Bypass Chrome v20 appbound encryption and extract cookies using Chrome Remote Debugging without admin rights. | |
Including HTTP Only and Secure cookies. | |
Developed by: github.com/thewh1teagle | |
License: MIT | |
For educational purposes only. | |
Usage: | |
pip install websocket-client requests | |
python main.py |
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
""" | |
pip install pywin32 pycryptodome | |
python main.py | |
""" | |
import ctypes, win32api, win32con, win32security, win32crypt, win32process | |
from ctypes import wintypes | |
import os, json, binascii, sqlite3, pathlib | |
from Crypto.Cipher import AES | |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"syscall" | |
"unsafe" | |
"golang.org/x/sys/windows" | |
_ "modernc.org/sqlite" |