Smart 🧠 Fullstack
45 subscribers
168 photos
11 videos
13 files
153 links
About channel: everyday developer hints.

for (💲Coders as 💲Student):
echo("Hello 💲Student->name");
endfor;

Author: @BakirovRoman
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Mouse Cursor Program Control

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

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
Temporary Disable CORS in Google Chrome

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)

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
var a = 2 + 3;

.
1
Linux Off Screen

alias off-screen='sleep 5 && xset dpms force off'

xset dpms force off


#display #linux #screen #off
1
😎 Cost of 2.5 h night vibe codding 😩
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
claude

/login # 4 change plan
NotLikvid Glass)
🤯1