howto

I have a keyboard/mouse/screen switch to connect 2 PCs: one running Linux and one running Windows. When I connect all the ports, it works, but every time I switch to the Windows laptop, the screen reconfigures, my windows are moved, and it annoys me.
Udev Webcam 2022.04.01
You can change the device link so your webcam will be always accessible at the same location /dev/video99. You can also persist some settings via the v4l-ctl command.
This days, with 4K monitors, the linux console is unreadable : the font is too small. So how can we scale the font size in the console after boot ?
Local git 2019.12.02
Define a repo somewhere in your file system with a bare init mkdir -p /somewhere/repo/test_project cd /somewhere/repo/test_project git init --bare Now create a local folder for your work with init only
You can change the mysql prompt client so you know where you are. Very usefull when you manage a lot of mysql databases and you forget which one :-)
If you use a tiled window manager like me, Suckless DWM for example, and have Firefox as your browser, you may be interested by not showing the tabs.
As ‘man convert’ states : The convert program is a member of the ImageMagick suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
To import a local CSV file into MySQL, use the syntax below : LOAD DATA LOW_PRIORITY LOCAL INFILE '/path/tofile.csv' INTO TABLE database.
To export a mysql results in CSV format, use the syntax below : SELECT field1, field2, ... FROM table WHERE condition INTO OUTFILE '/tmp/toto.