Install pulseaudio with brew
brew install pulseaudio
NOTE: do not run pulseaudio
as service wth brew
. If started, stop the service.
Specify differences between to branches and only files with a specific filename:
git diff topic..main -- './file1.txt' '**/file1.txt'
We have several resources manually created using the AWS Console. I want to manage these resources with Terraform. Originally, I had imported these resources into the Terraform state using individual files. Instead, I should have used modules. I tried moving my files into modules and then using the module to refer to the resource, but the namespace was incorrect. Applying changes at this point would have destroyed and recreated the resources, which is unnecessary.
This is how I moved the resources within the state. This should work for any resource listed in the Terraform state.
Copy over any resouces declarations to the module format. I didn't rename anything, but I think it is possible at this point.
#!/bin/bash | |
if test -z "$1"; then | |
echo "Usage: $0 <prompt>" | |
exit 1 | |
fi | |
if test -z "$OPENAI_API_KEY"; then | |
echo "OpenAI key is missing - \$OPENAI_API_KEY must be set" | |
exit 1 |
^$\n
^((?!foo).)*$
npm list