This one is for Windows:
Tested with TeamViewer with mixed results depending on computer, may work for other remote viewer software
https://knowledge.civilgeo.com/knowledge-base/enabling-gpu-rendering-for-microsoft-remote-desktop/
Got this error running Conan on MacOS, trying to build a package that required opencv 4.5.0 to build from source.
On first glance it looks like OpenCV is messed up or maybe conan but if I look up past all the red text I can see the real original cause of the issue. The red text is just a cascading consequence of this original error message.
For this reason, I do advise not to stop reading a log at the first error message you find, but instead to try to see if there is some cascading effect and to see…
A for loop is a relatively simple concept, but I wanted to break down the syntax here because under the hood, bash is very much, and I cannot exmphasize this enough, not C. I do try to see what’s happening under the hood though so that when I copy paste from StackOverflow and it doesn’t work, I can actually troubleshoot.
You can loop through arrays in bash like this
array=(thing1 thing2)for i in "${!array[@]}"; do
echo ${array[$i]}done
If you want to iterate through pairs, an easy way to do that would be something like this:
xvalues=(x1, x2, x3)…
Note: please feel free to comment if the tutorial does not help you and why. Also, I do check my email on weekends, please feel free to send requests to ashley.tharp@gmail.com for tutorials and feedback.
Error Message from Git Bash:
bash: pip: command not found
Error Message from DOS command line:
'pip' is not recognized as an internal or external command,
operable program or batch file.
If you’ve literally just installed Python, you may want to rerun your Python installer and make sure you check this box:
If not, no worries, you can add Python and the PIP directory to…
Jenkins: Invalid Credentials
Note: please feel free to email me at ashley.tharp@gmail.com with questions, or leave a comment to let me know any adjustments that can be made to make this tutorial better. :)
Invalid credentials: https://api.github.com/user {“message”:”Bad credentials. The API can’t be accessed using username/password authentication. Please create a personal access token to access this endpoint: http://github.com/settings/tokens","documentation_url":"https://docs.github.com/articles/creating-a-personal-access-token-for-the-command-line"}
Here’s how to fix this:
Github deprecated logging in with a user name and password so what you need to do is to create a “personal access token”
Go to here:
github.com/settings/tokens
It looks like this at the top of the page:
Book Review: Habits of a Happy Brain by Loretta Graziano Breuning Phd
This book is about happy chemicals and how to make your brain emit them. It is a happy-chemical centric strategy book.
Difficulty: not difficult
Basic Premises: Happiness is a chemical reaction, so be a good chemist. There are 4 happy chemicals: Serotonin, Dopamine, Ocytocin, and Endorphin.
Potentially Controversial Takes: This book references the theory of evolution a lot.
My Favorite Passage:
Your cortex is always making predictions about future pain and future rewards. But anticipated rewards don’t always materialize, which is another source of cortisol. Your cortex can…
Windows 10 comes with an application called “Remote Desktop”
You don’t have to pay for it.
You can connect to any machine you know the IP address for and the username and password credentials for using Windows Remote Desktop.
You don’t have to connect to another Windows machine, you can connect to another Ubuntu (or whatever Linux flavor) machine, but, you will need to setup something called xrdp on the Linux machine first.
sudo apt-get update sudo apt-get install xrdp sudo apt-get install xfce4 #Optional stuff sudo apt-get install xfce4-terminal sudo apt-get install gnome-icon-theme-full…
I use this trick all the time.
Finding a convenient and handy file renamer I guess wasn’t that fruitful, but I have used this python trick more times than I…
Research and Development | Dev Ops | Software Engineer | Topaz Labs