Author: Website Admin
-
MySQL/MariaDB Query Log
Query log is disabled by default. To enabled it non-persistent way (will be disabled when you restart): By default, the general query log is written to ${hostname}.log in the datadir directory. In my case this is /var/lib/mysql. To change the file name format: To save it to TABLE instead of FILE: To read from the…
-
Stream Editor (sed)
To insert/append to file (Linux) Apply the change to the file (Linux) To insert/append to file (MacOS) Apply the change to the file (MacOS)
-
Netrw: Copy Paste
Paste to different folder Paste to same folder To unset copy/move target :mt all you have todo is go to netrw’s header ” ==================== and type :mt
-
LM Studio with AMD GPU RX 6600 XT (Linux)
Install ROCm: Download LM Studio. Run LM Studio: Go to developer mode and download ROCm llama.cpp (Linux). Go to this folder: Go to GPU section and add “gfx1032” (on line 6): Close the LM Studio. Reopen with this command: REFERENCES:
-
MCP: Low Level Tools with Javascript SDK
Install: Create server.js tools/list tools/call (part 1) try it out try it out with cli: tools/call (part 2) try it out try it out with cli: References:
