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
0eNrtXdtu20gS/ZVAz6a37900MAsM8jDAPk4G2AUWC0O2OQ4RhTIoybNBoH9fUpIViepLHbE1znrykkASeVzdrOquqlNd/Dq5m62qp7Zulrd38/mnyc3Xb98sJjf/PvjY/1bfz5vt14v6sZnO+u+WX56qyc2kXlafJ1eTZvq5/9RO69lkfTWpm4fqv5Mbvv7P1aRqlvWyrrb3bz58uW1Wn++qtrtgf+dd/VhUs+p+2db3xdN8VnWgT/NFd+e86f9ch1Z0V3/p/hO6+wudRE13db0R7OuE9/+01cPhH6m7T2UvwWNbVY3nl/V6fXUiktiLtFh2w3n8uCw2ozoVR23F4cYHI6kwIoaiYGGUD0ajwnhRDCyM8MFYVBgvioOFYT6Y8hwFLOn6xw/+Zv9Z2KBC+i71aihn6Ax6h875kdkWO9M+HbW+1lscd629QLDJOC8MajJ+FNhkvIbHUZPxo8Am4zU8jpqMHwU2Ga/h8RIUxosiGCiMV4UFx2Txg6Dq6x8QqL1+EFR5vQ9agLrrB0FV12sAwp6xvlpkez9eM6WL7Penl/odAIdNn3/gJW1xlbu11Vz3Ts1D3W4H3T8Uj0+BGo13hZSg0fhBUKPx70EStJoACmo2fpdCgnYTQEENx+9sSXDND6C4M+xPSLoBRvyZnf/S/byJEW4OQoqryWx6V3VhxOTDbmzdV89Vu9jIYpQSRnAprf0WSrB+dJmCkqvkLU/1U1Us58VjO181Dwc3i8wRzc6j5MCUh2fcjg5peMwN+War96v2uXoIgdjdmNILmoIFE6PCmxcYNi684RE/wJ7z/OX5AQXX5ICiv3SdI5YSx09WR+MqqiNzBMnjYU9c//pAYudGJPSPk7fCQvjE1PFoKCom9wlpR8VFRT9F210yLaaCrHmzQKUE1ZDub58S58jKN1BoE1kKTy9dJ0I0gtAcFzpmoCGDpAd8xX73P3o8YlT8x+iYJeylJDHpoaEKYMZdjve9uif9DX5hf+O5bperTUTwMtbNFcX785yNuA3 |
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
#!/bin/bash | |
cd "$(dirname "$0")" | |
function limit { | |
COUNT=$(find . -name "*.tar.gz" | wc -l) | |
if (( $COUNT > $1)) | |
then | |
rm "$(ls -t | tail -1)" |
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
javascript:(function(){for(var eanCode="",i=0;12>i;i++)eanCode+=Math.floor(10*Math.random());var checkDigit=0,rs=eanCode.split("");for(rs=rs.reverse(),rs=rs.join(""),counter=0;counter<rs.length;counter++)checkDigit+=parseInt(rs.charAt(counter))*Math.pow(3,(counter+1)%2);checkDigit=(10-checkDigit% 10)% 10,prompt("EAN13",eanCode+checkDigit);})(); |
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
function reverse(s) | |
{ | |
splitext = s.split(""); | |
revertext = splitext.reverse(); | |
reversed = revertext.join(""); | |
return reversed; | |
} | |
function eanCheckDigit(s) | |
{ |
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
#/bin/bash | |
# USER SETTINGS | |
BACKUP_FOLDER="/srv/repositories" | |
BACKUP_FILE_NAME=backup-`date +%Y%m%d`.tar.gz | |
DROPBOX_FOLDER=/Backup | |
TELEGRAM_USER_ID="" | |
TELEGRAM_BOT_KEY="" | |
HEALTH_CHECK_KEY="" |