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
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 |
wget --page-requisites -v --convert-links http://**.com/clientes/sysled/index.html |
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; |
#!/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" |
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/ |
Getting started:
Related tutorials: