A collection of scripts we use on pcworms.blog.ir
Farooq Karimi Zadeh a70387bdc5 Delete 'postvotes.db.db' | 4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
bayan_avatar.py | 4 years ago | |
goodpost.py | 4 years ago | |
unknown.jpg | 4 years ago |
We use these scripts on pcworms.blog.ir for different purposes. You need a server to host them. If you don't have one or you can't afford, simply use a shell server like https://hashbang.sh or http://blinuxshell.ir
This returns the avatar of a person. We(pcworms authors) use this script
to show our avatar next to our names under articles. Author's name
should be sent to server via q
variable. Example:
http://example.com/?q=Farooq Karimi Zadeh
Note that you should change the URL of your avatar in scripts file(it
has been hardcoded). In the case which given name is not one of those
scripts assume, the picture unknown.jpg
will be returned instead of avatar.
You can change file name and path from unknown.jpg
to anything.
This one is for collecting vote of visitors.