Application & System: Development / Integration / Orchestration
Bash – CSV Row / Array To Single Column
Posted on
By David Kittell
cat environments.txt| sed "s|,|\n|g"| sed 's|"||g' | sed 's/^[ \t]*//;s/[ \t]*$//'
Originally Posted on October 19, 2021 Last Updated on August 17, 2024
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.
Check subscription manager status sudo -s # If in Docker not needed if [ "$(subscription-manager status| grep "Overall Status")" != "Overall Status: Unknown" ]; then clear echo "Properly Registered" else echo -e "Needs Registered\n\nPlease get with your server team to register this server" $SHELL fi sudo -s # If in…
Currently this code only creates a subscriber user in WordPress. Due to security concerns I likely won’t work on this to make it do greater permissions. php wp-create-user.php MyBasicUser User@example.com # php wp-create-user.php MyBasicUser User@example.com Username not in use, creating user. User Created Username: MyBasicUser Password: 5y1kZSkMO0bP # # php…
This is not my work (Mike Dalisay), simply posting as I found this code useful. After creating an app, we’ll have the following codes on our index.php file <style type=’text/css’> body{ font-family: "Proxima Nova Regular","Helvetica Neue",Arial,Helvetica,sans-serif; } .clearBoth{ clear: both; } .event{ background-color: #E3E3E3; margin: 0 0 5px 0; padding:…