This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v1: | |
find . -type f -printf '%s %TY-%Tm-%Td-%TT\n' | cut -d ":" -f1 | sed 's/$/\n/g' | awk '{b[$2]+=$1} END{for (date in b) print date, b[date]}' | sort | |
v2: | |
find . -type f -printf '%TY-%Tm-%Td %TH-%TM %h\n' | sort | uniq -c | sort -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
comando: smbiosDump | |
ejemplo de salida: | |
~ # smbiosDump | |
Dumping live SMBIOS data! | |
BIOS Info: #0 | |
Size: 0x00018 | |
Vendor: "HP" | |
Version: "I31" | |
Date: "02/10/2014" | |
Start Address: 0xf0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#these commands will modify sql structure for A.sql and B.sql, so make a backup first | |
sed -i 's/(/\n/g;s/,/\n/g' A.sql B.sql ; diff A.sql B.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/security/limits.conf | |
sudo bash -c "cat << EOF > /etc/security/limits.conf | |
* soft core unlimited | |
* hard core unlimited | |
* soft data unlimited | |
* hard data unlimited | |
* soft fsize unlimited | |
* hard fsize unlimited | |
* soft memlock unlimited |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developers.facebook.com/docs/whatsapp/on-premises/overview | |
BSP: Business Solution Provider | |
WhatsApp Business Platform On-Premises API | |
Tokens | |
login------------->Server | |
bearer Token<________╱ | |
Expiration: | |
after certain time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://radio.garden/api/ara/content/places |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILEID="ID"; wget "https://drive.google.com/uc?export=download&id=${FILEID}&confirm=yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brincar por otra máquina que si tiene salida | |
en la maquina que si tiene accesos:} | |
ncat -l $IP $PORT --sh-exec "ncat $REMOTEIP $REMOTEPORT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Se requiere hacer esto y lotro | |
esto y aquello | |
bajar y subir | |
que se programe solo | |
que se reprograme con el gusto del cliente |
NewerOlder