This file contains hidden or 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
| pnd:~$ milky -vAp milkyh 80 | |
| ::REPO_API | |
| LANG: en_US | |
| Root: /media/UPND | |
| Repositories: | |
| libpndman repository | |
| http://repo.openpandora.org/client/masterlist |
This file contains hidden or 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
| pnd:~$ milky -Apv | |
| ::REPO_API | |
| LANG: en_US | |
| Root: /media/UPND | |
| Repositories: | |
| libpndman repository | |
| http://repo.openpandora.org/client/masterlist |
This file contains hidden or 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
| pnd:~$ milky -Ap | |
| -!- usage: <repository> <username> <api key> | |
| pnd:~$ milky -Ad | |
| -!- usage: <repository> <username> <api key> | |
| pnd:~$ milky -A | |
| -!- usage: <repository> <username> <api key> | |
| pnd:~$ milky -Ap milkyh 50 | |
| -!- usage: <repository> <username> <api key> |
This file contains hidden or 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/sh | |
| #The following downloads the links to the torrent files and saves a list in "downloadlinks.lst". | |
| wget -i mykeys.txt -O - | grep -roe 'http://torrents.humblebundle.com/.*\.torrent' > downloadlinks.lst | |
| #This checks whether anything is in this list - if nothing is in it something went wrong. | |
| if ! test -s downloadlinks.lst ; then | |
| echo "Doesn't seem to have worked. Probably your keys weren't valid." | |
| fi | |
| #This downloads the torrent files loading the urls of the files from the previously made list. | |
| wget -Ni downloadlinks.lst | |
| #This remove the list of the urls for the torrent files. As you have downloaded the torrent files |
This file contains hidden or 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/sh | |
| if test -r .dateofbirth; then | |
| echo "You are $( echo "($(date '+%s')+sqrt($(cat .dateofbirth)^2)) - ($(cat .dateofbirth))+sqrt($(cat .dateofbirth)^2)" | bc) seconds old." | |
| else | |
| echo "Enter your date of birth before I can tell you how old you are." | |
| echo "One of the accepted formats is \"YYYY-MM-DD HH:MM\"." | |
| echo -n "Your date of birth is " | |
| read dob | |
| date --date="$dob" '+%s' > .dateofbirth | |
| $0 |
This file contains hidden or 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/sh | |
| #Generates passwords which should be secure enough | |
| #no matter how paranoid you are using "pwgen" | |
| length=64 | |
| number=1 | |
| n=1024 | |
| salt="FG3OHsU~\-Y?D),"`eRG7}Z]<W9l*YCCr%'8b|K\o@hD>JwRwX:Xy#vC/s@JF,Y&" # CHANGE THIS! | |
| if test -n "$(echo $1 | grep -oe '^[0-9][0-9]*$')"; then | |
| echo "Setting length to $1" | |
| length=$1 |
NewerOlder