- Clearly state your task or question at the beginning of your message.
- Provide context and details to help Claude understand your needs.
- Break complex tasks into smaller, manageable steps.
Bad prompt:
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
Some random notes on trying (and failing) to get Proxmox as host with 5700G APU GPU PCI Passthrough to Ubuntu guest VM working:
References:
| #cloud-config | |
| package_upgrade: true | |
| ssh_authorized_keys: | |
| - <your key> | |
| packages: | |
| - apt-transport-https | |
| - ca-certificates | |
| - curl |
| ######################################## | |
| ## Import of DrugBank Annotation Data ## | |
| ######################################## | |
| ## Function to import DrugBank XML to data.frame | |
| ## Last step gives error. To debug, the following function may help. | |
| ## Note, this functions needs some major speed improvements. Ideally, | |
| ## it should be replaced with a standard XML import method. | |
| ## (1) Download | |
| ## - download DrugBank XML (https://www.drugbank.ca/releases/latest) | |
| ## - name uncompressed file 'drugbank.xml' |
| ######################################## | |
| ## Import of DrugBank Annotation Data ## | |
| ######################################## | |
| ## Function to import DrugBank XML to data.frame | |
| ## Last step gives error. To debug, the following function may help. | |
| ## Note, this functions needs some major speed improvements. Ideally, | |
| ## it should be replaced with a standard XML import method. | |
| ## (1) Download | |
| ## - download DrugBank XML (https://www.drugbank.ca/releases/latest) | |
| ## - name uncompressed file 'drugbank.xml' |
| // build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | |
| // ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) | |
| // docs: Documentation only changes | |
| // feat: A new feature | |
| // fix: A bug fix | |
| // perf: A code change that improves performance | |
| // refactor: A code change that neither fixes a bug nor adds a feature | |
| // style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | |
| // test: Adding missing tests or correcting existing tests |
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| lerna-debug.log* | |
| # Diagnostic reports (https://nodejs.org/api/report.html) | |
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json |