https://stackoverflow.com/questions/11038590/a-way-to-do-multiple-statements-per-bash-test-statement Not recommended. ran into issue in terms of status being set to a value above 0
read command is giving same answer to following read commands
first question I answer yes second question gets answered yes automatically I know that the REPLY env is set after answering a question after getting the answer I dont unset the REPLY env. and since I’m sourcing the script that holds this code REPLY gets set globally across the parent[…]
Publishing a npm package
Not Found – PUT https://gitlab.selectiont.com/api/v4/packages/npm/@werm-bash%2fscripts-root – 404 Not Found create a package.json and this code this line references a gitlab project we access tokens so we don’t have to login to publish. we can create tokens at the project level or the instance level. Lets create one at the project[…]
Create Custom Chrome extension
After I am done, If i want to use the packed version seems as if I’m going to have to use the unpacked version for personal use
bash: Dealing with filenames with double spaces in them
if I echo a filename with double spaces without putting it in quotes it turns that double into a single, probably because spaces signify args. https://unix.stackexchange.com/questions/273660/how-do-i-echo-a-string-with-multiple-spaces-in-bash-untouched
Give apache sudo rights
navigate to a php page and execute depending on what distro you have you might get “www-data” or “apache”, in my case I got “apache” go over to your terminal right above the line “root ALL-=(ALL) ALL” type in also comment out this line in same file save file and[…]
Create IAM user to post to s3
now that you’ve created a policy lets keep going with creating a user in order for you to upload to bucket you must add permissions, the boundary only sets limitations but doesn’t actually set permissions
WARNING: Python-dotenv could not parse statement
docker-compose does not seem to like quotes when parsing .env file
Readbeanphp: Create structure without storing record
https://groups.google.com/g/redbeanorm/c/R5QYJkxi3KA used this to scan for code needed to figure things out https://github.com/PHP-Usergroup-FFM/redbean-examples/blob/master/lib/rb.php https://redbeanphp.com/api4/class-RedBeanPHP.QueryWriter.AQueryWriter.html see code here also https://redbeanphp.com/api4/source-class-RedBeanPHP.QueryWriter.AQueryWriter.html#736-749