Another way to write condition

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 More »

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[…]

Read More »

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[…]

Read More »

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

Read More »

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

Read More »