awesome link on how to do this!
Author: mclark610
Inkscape DockBar

Click in the area of Text and Font window UNDER the Text and Font window display where it says T Text and font (Shift+Ctrl+T).
That will allow you to drag that window back into the dock.
remote-containers extension allows you to build and run a docker image of your source.
https://www.youtube.com/watch?v=KFyRLxiRKAc&t=309s
In the devcontainer.json file, add the following 2 lines:
"forwardPorts": [3000],
"postCreateCommand": "npm install",
"containerEnv": {
"CHOKIDAR_USEPOLLING":"true"
}
Build Container
F1
remote-containers rebuild and Reopen in containers
go to terminal and npm run start. This will open the node app on port 3000 in a browser.
This is definitely a work in progress. watch the video.
Arduino-cli Documentation
Now working with arduino nano at the command line. The ide is ok but I like cli.
Link to arduino-cli documentation
https://arduino.github.io/arduino-cli/0.19/getting-started/
New sketch:
arduino-cli sketch new <<SketchName>>
A new sketch is generated in its own directory.
Board List:
arduino-cli board list
arduino-cli board listall
command to list all the boards currently found
Core:
arduino-cli core install arduino:mbed_nano
core, to me, is a library for the particular arduino I am currently working with. The above command installs the core for the arduino card currently being worked with, in my case, mbed_nano
arduino-cli core list:
arduino-cli core list
lists the cores currently available for use.
Arduino – setup
Hey, finally looking at arduino nano. Permission to read the serial port /dev/ttyACM0, I needed to give my user permission to use.
sudo usermod -a -G dialout <username>
This info was found at:
Ubuntu – nvidia drivers
Upon updating to a new kernel sometimes calls for a newer nvidia driver. On my system, I may restart and find my 2nd monitor may not be discovered.
This is note describes shows the solution and links to the sites that provided the information
This command displays a list of devices and possibly errors/warnings.
sudo ubuntu-drivers devices
sudo ubuntu-drivers list
results of list:
pport nvidia-driver-390: package has invalid Support Legacyheader, cannot determine support level
== /sys/devices/pci0000:00/0000:00:03.1/0000:06:00.0 ==
modalias : pci:v000010DEd0000128Bsv00001043sd000085E7bc03sc00i00
vendor : NVIDIA Corporation
model : GK208B [GeForce GT 710]
driver : nvidia-driver-470 - distro non-free recommended
driver : nvidia-driver-460 - distro non-free
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-460-server - distro non-free
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
sudo apt install nvidia-driver-470
Add ssh key to git. how to set up
git remote set-url origin git@github.com:username/your-repository.git
initial post for using main
echo "# udacity-controlled2" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/mclark610/udacity-controlled2.git
git push -u origin main
update packages in package.json
Check for newer packages and update package.json
npx npm-check-updates -u
npm install
— or —
install npm-check-updates globally
Back to fedora. up to 31.
loading a sql file into a docker postgres db from the command line.
(see my github docker-compose for the postgres db setup)
note:
/data/raw is my shared volume with postgres;
some-postgres is the postgres container name
data2.sql is a sql txt file.
sudo docker exec -it some-postgres psql -U postgres -d sqldb -f /data/raw/data2.sql