Skip to content

Instantly share code, notes, and snippets.

@crynobone
Forked from sicksand/templated.php
Last active August 29, 2018 11:58
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crynobone/28136d8976e6f29427c3 to your computer and use it in GitHub Desktop.
Save crynobone/28136d8976e6f29427c3 to your computer and use it in GitHub Desktop.
<?php
/*
Name - templated.php
Author - Shafiq Mustapa (me@shafiqmustapa.my)
Usage - php templated.php
Stumble this upon site (http://templated.co)that offer over 800+ HTML5 + CSS + Responsive.
This php script will download the file automatically. For now, the page is now 7.
Tools
_____
[1] https://import.io - automatically scrap the link
*/
$urls = array("http://templated.co/ion/",
"http://templated.co/solarize/",
"http://templated.co/phaseshift/",
"http://templated.co/horizons/",
"http://templated.co/linear/",
"http://templated.co/exmachina/",
"http://templated.co/iridium/",
"http://templated.co/firstbase/",
"http://templated.co/grassygrass/",
"http://templated.co/breadth/",
"http://templated.co/assembly/",
"http://templated.co/undeviating/",
"http://templated.co/barbedflower/",
"http://templated.co/lorikeet/",
"http://templated.co/widerange/",
"http://templated.co/monochromed/",
"http://templated.co/clearfigure/",
"http://templated.co/plaindisplay/",
"http://templated.co/synchronous/",
"http://templated.co/stonework/",
"http://templated.co/simplework/",
"http://templated.co/embellished/",
"http://templated.co/autonomy/",
"http://templated.co/retention/",
"http://templated.co/earthyblue/",
"http://templated.co/crosswalk/",
"http://templated.co/wirework/",
"http://templated.co/metrobiz/",
"http://templated.co/openspace/",
"http://templated.co/amaryllis/",
"http://templated.co/effeminate/",
"http://templated.co/entryway/",
"http://templated.co/lambent/",
"http://templated.co/reciprocal/",
"http://templated.co/privy/",
"http://templated.co/pastime/",
"http://templated.co/redmarket/",
"http://templated.co/softstring/",
"http://templated.co/colorized/",
"http://templated.co/cerulean/",
"http://templated.co/picturesque/",
"http://templated.co/untamed/",
"http://templated.co/lowdown/",
"http://templated.co/lawnlike/",
"http://templated.co/veridical/",
"http://templated.co/megacorp/",
"http://templated.co/swarming/",
"http://templated.co/seascape/",
"http://templated.co/ladytulip/",
"http://templated.co/plainleaf/",
"http://templated.co/saleable/",
"http://templated.co/coefficient/",
"http://templated.co/plushiness/",
"http://templated.co/erubescent/",
"http://templated.co/fervency/",
"http://templated.co/affinity/",
"http://templated.co/tailpiece/",
"http://templated.co/brushwood/",
"http://templated.co/reddened/",
"http://templated.co/polychromasia/",
"http://templated.co/escalier/",
"http://templated.co/concerted/",
"http://templated.co/outstretched/",
"http://templated.co/elemental/",
"http://templated.co/hyacinth/",
"http://templated.co/clarion/",
"http://templated.co/porphyrio/",
"http://templated.co/verdant/",
"http://templated.co/spotless/",
"http://templated.co/skycolored/",
"http://templated.co/eleganta/",
"http://templated.co/sweetcourse/",
"http://templated.co/joyousness/",
"http://templated.co/adequately/",
"http://templated.co/catmint/",
"http://templated.co/clearcut/",
"http://templated.co/fetchingly/",
"http://templated.co/rendezvous/",
"http://templated.co/softhued/",
"http://templated.co/livewire/",
"http://templated.co/straightedge/",
"http://templated.co/uprightness/",
"http://templated.co/tapestry/",
"http://templated.co/mongoose/",
"http://templated.co/twocolours/",
"http://templated.co/mariposa/",
"http://templated.co/squareaway/",
"http://templated.co/justifiable/",
"http://templated.co/wellformed/",
"http://templated.co/heavyindustry/",
"http://templated.co/fullstrength/",
"http://templated.co/styleprecision/",
"http://templated.co/stuffy/",
"http://templated.co/contour/",
"http://templated.co/stratagem/",
"http://templated.co/keenness/",
"http://templated.co/escalate/",
"http://templated.co/royale/",
"http://templated.co/basketball/",
"http://templated.co/sewingbobbins/",
"http://templated.co/notableflower/",
"http://templated.co/treeling/",
"http://templated.co/azure/",
"http://templated.co/juncture/",
"http://templated.co/flowerclusters/",
"http://templated.co/scoreboard/",
"http://templated.co/skylined/",
"http://templated.co/lounging/",
"http://templated.co/scenicoffice/",
"http://templated.co/underthebridge/",
"http://templated.co/twofold/",
"http://templated.co/upright/",
"http://templated.co/aqueous/",
"http://templated.co/splendorous/",
"http://templated.co/heavenlybliss/",
"http://templated.co/breakeven/",
"http://templated.co/forthright/",
"http://templated.co/yellowdahlia/",
"http://templated.co/waterdrop/",
"http://templated.co/doubtless/",
"http://templated.co/monumental/",
"http://templated.co/hereinabove/",
"http://templated.co/endearinggreen/",
"http://templated.co/altitude/",
"http://templated.co/condorific/",
"http://templated.co/citrusy/",
"http://templated.co/angledtheme/",
"http://templated.co/murkystairwell/",
"http://templated.co/vestibule/",
"http://templated.co/macrospikes/",
"http://templated.co/glissade/",
"http://templated.co/floralgarden/",
"http://templated.co/conventional/",
"http://templated.co/minibreak/",
"http://templated.co/oldstairwell/",
"http://templated.co/opentools/",
"http://templated.co/greenexposure/",
"http://templated.co/reverseobscurity/",
"http://templated.co/cupcakedout/",
"http://templated.co/neutralcharisma/"
);
foreach ($urls as $url) {
$name = explode("/", $url);
//print_r($name);
$dl_string = $url . "download -o ". $name[3] .".zip";
echo "\n********** start downloading ". $name[3] . "****************\n";
exec(`curl -L $dl_string`);
echo "\n********** finishe downloading ". $name[3] . "****************\n";
sleep(5);
}
TEMPLATES=(
"ion"
"stabilize"
"medication"
"singular"
"openair"
"threadlike"
"ministerial"
"flowercollection"
"blackpolish"
"coloregiallo"
"sovereign"
"grassdew"
"officework"
"goodlife"
"minimumlimit"
"talentagent"
"greenness"
"uncovered"
"loveromance"
"openhouse"
"keyboard"
"trendybiz"
"simplecorporate"
"wildflowers"
"waterdrops"
"emerald2"
"oilpainting"
"magnetic"
"enchanting"
"goodnatured"
"artifice"
"dangled"
"definitive"
"football"
"axiom"
"unofficialchannels"
"prolific"
"accumen"
"unwritten"
"anodized"
"bigbusiness2"
"surround"
"modelling"
"simpledisplay"
"fullycharge"
"spikyflower"
"grasstown"
"naturalprime"
"stampalike"
"redallover"
"classifieds"
"networked"
"combinations"
"iguanalounge"
"defrost"
"argon"
"estatebroker"
"barnanimals"
"flamingo"
"simplified"
"rifle"
"commercial"
"woodcrafting"
"infrastructure"
"inwild"
"corporatestuff"
"fotofolium"
"redandblack"
"lettering"
"outdoor"
"compass"
"islandpalm"
"flowering"
"boldness2"
"boldness"
"officememo"
"limitless"
"handcrafted"
"reinstated"
"nullified"
"refillable"
"consistent"
"petalsandflowers"
"fruityblue"
"variantcolor"
"extremesurfing"
"simpleworld"
"mobility"
"bigbusiness"
"oceania"
"erasure"
"resolved"
"sandstorm"
"darkera"
"individual"
"lowerpriority"
"embodied"
"undisclosed"
"gentlebreeze"
"vividorange"
"elegantblue"
"gradientblack"
"captivegreen"
"graffiti"
"rockcastle"
"mushrooms"
"timelessdew"
"blackwhite"
"lightness"
"africandaisy"
"multiverse"
"plainclean"
"highway"
"paperlike"
"landscapes"
"photoshoot"
"atmosphere"
"liberty"
"mastered"
"timeless"
"locomotive"
"moonlight"
"blackcoffee"
"orangemint"
"ridinghood"
"disambiguation"
"wildgoose"
"woodworking"
"butterfly"
"scribbled"
"fertilization"
"lepidoptera"
"diminishing"
"prepaid"
"vegetable"
"flowerbuds"
"recreations"
"streetclock"
"arrangement"
"gastropoda"
"greenorange"
"sprayedstrokes"
"bioessence"
"simpleton"
"greenforest"
"tomatoes"
"orangeflower"
"truenature"
"barricade"
"twirling"
"yellowing"
"compiled"
"perplex"
"palmtrees"
"holidayseason"
"combination"
"impeccable"
"miniseries"
"unilluminated"
"inscriptions"
"flowermum"
"gardenoforchids"
"rainonleaves"
"pollinating"
"equivalency"
"zionnarrow"
"creevykeel"
"pollination"
"brownstone"
"orchidaceae"
"undertaking"
"predilection"
"memoranda"
"perfectblemish"
"concurrence"
"leafaroma"
"enormous"
"programme"
"offrecord"
"lazybreeze"
"interchange"
"neatness"
"domesticated"
"racetrackplaya"
"shadowed"
"symphonic"
"sparkling"
"regeneracy"
"vertebrata"
"substantial"
"cellulose"
"clubhouse"
"assiduous"
"brycesunrise"
"vertebrate"
"distillate"
"throughout"
"anthropod"
"spanning"
"passageway"
"adhesive"
"bouquet"
"conjuction"
"deviation"
"lilypads"
"indication"
"woodenly"
"thefences"
"milestone"
"freshscent"
"synchronize"
"particles"
"indicator"
"mountainbreeze"
"culinary"
"proofing"
"filaments"
"petpaws"
"leafbrush"
"opposed"
"wellness"
)
for THEME in "${TEMPLATES[@]}"
do
echo "Processing $THEME";
if [ ! -f $THEME.zip ]; then
echo "downloading..."
curl -L http://templated.co/$THEME/download -o $THEME.zip;
sleep 5
else
echo "downloaded!"
fi
echo "=======";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment