This media is not supported in your browser
VIEW IN TELEGRAM
Mouse Cursor Program Control
#circle #funny #cursor #automatization
nano circle.sh
#!/bin/bash
R=100
read X0 Y0 <<< "$(xdotool getmouselocation --shell | grep -E 'X=|Y=' | sed 's/.>
STEPS=180
while true; do
for ((i=0; i<STEPS; i++)); do
awk -v i=$i -v steps=$STEPS -v X0=$X0 -v Y0=$Y0 -v R=$R '
BEGIN {
angle = i*2*3.14159265/steps
x = int(X0 + R*cos(angle))
y = int(Y0 + R*sin(angle))
printf("xdotool mousemove %d %d\n", x, y)
}
' | bash
done
done
#circle #funny #cursor #automatization
How to disable middle-click paste in Xubuntu
#mouse
P.S. This break multicursor in IntelijIDE's.
sudo apt install xbindkeys xdotool
nano ~/.xbindkeysrc
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
xbindkeys
#mouse
P.S. This break multicursor in IntelijIDE's.
1👍2
Golang + OpenAI Whisper speech recognizer works on Linux via F9
ClickMe
#github #recoginzer #openai #stt #speech
ClickMe
#github #recoginzer #openai #stt #speech
GitHub
GitHub - makhnanov/recognizer: Golang + OpenAI Whisper speech recognizer works on Linux via F9
Golang + OpenAI Whisper speech recognizer works on Linux via F9 - makhnanov/recognizer
1
Temporary Disable CORS in Google Chrome
#cors
google-chrome --disable-web-security --user-data-dir="/tmp/chrome_dev_session"
alias no-cors='google-chrome --disable-web-security --user-data-dir="/tmp/chrome_dev_session"'
#cors
👍1
Tauri 2 (Rust + WebView Desktop App)
Makefile
Bugs:
White Screen App
Copy Blank Project With F5 (Refresh Page) & F12 (DevTools):
#tauri
sh <(curl https://create.tauri.app/sh)
pnpm add -g pnpm
pnpm setup
pnpm add -g pnpm
pnpm self-update
cd project
pnpm install
pnpm tauri android init
pnpm tauri dev
Makefile
start-development:
pnpm tauri dev
Bugs:
White Screen App
Copy Blank Project With F5 (Refresh Page) & F12 (DevTools):
git clone https://github.com/makhnanov/bro-draft.git && cd bro-draft && git checkout -b my-branch 1c65ba07b27e133b774fe3324fe11b68814e62b
#tauri
1
Token Usages
OpenAI:
https://platform.openai.com/settings/organization/billing/overview
Anthropic:
by Subscription:
https://claude.ai/settings/usage
by API:
https://console.anthropic.com/settings/billing
#cost #limits
OpenAI:
https://platform.openai.com/settings/organization/billing/overview
Anthropic:
by Subscription:
https://claude.ai/settings/usage
by API:
https://console.anthropic.com/settings/billing
#cost #limits
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM