You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh yeah! We will have some handy tips in our channel on Youtube
Thoughts
The scripts was designed thinking of a few baselines:
Simplicity
Reusability
Meaningful reading
and the Unix concept of DOTADIW:
Do One Thing And Do It Well
Naming functions
We designed a standard way for naming functions, which should start the function with the folder name, so, if the script
is under the './domain' folder the function will start with 'domain_'. We try to be as much verbose as possible for better
understanding "the function function".
Function responses
All function's responses will be in capital letter and the most commom 'rule' will be to remove the wildcard word from
the response, such as 'check', 'get' and 'put'.
Check functions
Responses will be the function's name without the word 'check':
If you find any security vulnerability, please DO NOT open an issue, send an email to evert.ramos@gmail.com.
Shebang
All scripts were desgined to run in bash. Hum... right, You might ask about shebang... yes I used absolute path in all scripts '/bin/bash'. Yes, there is discussions on that matter, but if you don't have bash, you probably know some tricks to update all files at once, right? If not I will provide you a way to do that, if you have sed at least.