L-am pus pe ChatGPT să mă ajute să găsesc problema și să o rezolv.
Tag: docs
mxdev
Ca să o am la îndemână:
Cosmetics / PyLint / Shell Script: Use lazy % formatting in logging functions
Backup json to file from docker plone container
Backup json to file from docker plone container
Edit code in demo plone container
In demo website – rancher – plone container – execute shell root@container-1:/app# vi /app/lib/python3.11/site-packages/blabla/addon/
Ubuntu speaker test
speaker-test -t wav -c 2 speaker-test 1.2.6 Playback device is defaultStream parameters are 48000Hz, S16_LE, 2 channelsWAV file(s)Rate set to 48000Hz (requested 48000Hz)Buffer size range from 96 to 1048576Period size range from 32 to 349526Using max buffer size 1048576Periods = 4was set period_size = 262144was set buffer_size = 10485760 – Front Left1 – Front RightTime…
Monitor ASUS ProArt PA328QV – on Ubuntu – solve colors
Go to https://www.asus.com/support/download-center/ Go to Driver and Tools https://www.asus.com/displays-desktops/monitors/proart/proart-display-pa278qv-gen2-pa278qgv/helpdesk_download/?model2Name=ProArt-Display-PA278QGV Select MacOS, see more, download ASUS_Monitor_ICC_Profile_20240726 In Ubuntu go to Settings – Color, add profile, import profile: ASUS Display AdobeRGB seems the best for me.
Reset git branch to old commit
git checkout your_branch git log –oneline 98eba8e Wrong commitcc860f6 Wrong commit6ebe41c Wrong commitfb16584 Ok commit038bcd1 Ok commit Reset to latest ok commit: git reset –hard fb16584 git push origin your_branch –force
3D video cu Strava și Relive
Scenariu: Ai făcut un traseu, ai folosit Strava și vrei să faci un clip frumos în care să ai traseul 3D văzut pe hartă + pozele făcute cu telefonul pe traseu. Îți trebuie cont premium la Strava.com. Te autentifici în contul tău Strava. Mă autentific pe PC. Mergi la Dashboard, Activity Feed, My Activities Click…
Download file from server (linux)
Server IP and port: 11.22.33.44:55555Config ssh key (get it with cat ~/.ssh/key.pub) Test ssh connection: ssh root@11.22.33.44 -p 55555 The in your local terminal run this command to download (copy) the file from server: scp -P 55555 root@11.22.33.44:/path/to/file.sql.tar.gz .