Ca să o am la îndemână:
Tag: solutions
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
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.
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 .
Kdenlive crash render Ubuntu
navigate to Settings > Configure Kdenlive > Environment and then uncheck the option “Use multiple threads” (or set 1 instead of 2)
Git commit to new branch
$ git checkout -b new_branch $ git status $ git add . $ git commit -m “Message” $ git push –set-upstream origin new_branch (or $ git push and copy paste the suggestion)
Plone 6, Volto: find items containing a block
In my case I searched for items that contains any kind of “form” block: Register a view (MyView): configure.zcml admin.py Then go to localhost:8080/Plone/my-view
KeyError brain in getObject Plone 6
I received this error because of some issues with portal catalog. A folder containing images was deleted but the catalog was not updated correctly. my-obj-path was just one of the 899 images. I created in Management Interface a python script to find all broken brains: Then, the solution was to go to Catalog and press…