- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:Expo: Difference between revisions
imported>Expo |
imported>Expo |
(No difference)
|
Revision as of 04:43, 19 October 2012
/!\ LISTEN UP /!\
This user fucking hates |
I also fucking hate gay faggots, scenefags, furfags, macfags, and retards on the internet. You are nobody to me, and I don't fucking care. Now fuck off.
I don't always edit articles, but when I do, I just correct spelling errors like the Grammar Nazi I am.
Also User:Lord Tony is a awesome guy. +1 internets to you, man.
Tools & Templates
My ED-related tools, templates, and other shit:
EDArchiveGet - BASH Script to auto-get latest archive file
#!/bin/bash
# Created by Expo of ED - Built 12-09-30 - WTFPL License
wget https://encyclopediadramatica.se/Encyclopedia_Dramatica:Archives --no-check-certificate
mv Encyclopedia_Dramatica\:Archives url1.txt
cat url1.txt | grep -o 'http://static.encyclopediadramatica.se/archives/text-[^"]*' > url2.txt
sed '2d' url2.txt > url3.txt
wget -i url3.txt
rm url1.txt url2.txt url3.txt
mv *.xml.gz archives/
Copy and paste above text into a empty text file, and chmod to 5**. You may want to set a cron job for it as well, but don't have it run too frequently, otherwise you'll leech the site to death. "With great power, comes great responsibility."
Update 10-18-12: Corrected a typo in one of the filenames. The script should work fine now.