Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
Getting started:
Related tutorials:
| echo | openssl s_client -servername 54.72.84.XXX -connect www.sysled.es:443 2>/dev/null | openssl x509 -noout -dates | |
| ### source https://www.shellhacks.com/openssl-check-ssl-certificate-expiration-date/ |
| SELECT table_name AS "Tables", | |
| round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" | |
| FROM information_schema.TABLES | |
| WHERE table_schema = "$DB_NAME" | |
| ORDER BY (data_length + index_length) DESC; |
| wget --page-requisites -v --convert-links http://**.com/clientes/sysled/index.html |
| git log --author=Yoel --since=6.weeks --pretty=format:'%C(yellow)%h|%Cred%ad|%Cblue%an|%Cgreen%d %Creset%s' --date=short | column -ts'|' | less -r |
| #!/bin/sh | |
| USER=$(whoami) | |
| APACHE_USER=$(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {print $1}') | |
| sudo chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
| sudo chmod +a "$APACHE_USER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
| echo "app/cache & app/logs been properly chmod'ed for $USER and $APACHE_USER" |