Skip to content

Instantly share code, notes, and snippets.


Roy Duineveld royduin

View GitHub Profile
royduin / crawl.php
Last active Sep 24, 2016
Search for public git repositories in the Alexa 1 million top ranked websites list, see:
View crawl.php
// Download the list from:
$csv = file_get_contents('top-1m.csv');
$lines = explode(PHP_EOL,$csv);
$counter = 1;
foreach($lines as $line){
$url = explode(',',$line)[1];
echo $counter.' '.$url.PHP_EOL;
View import-demo.php
Plugin Name: Import demo
Plugin URI:
Description: A demo import for my blog
Version: 1.0
Author: Roy Duineveld
Author URI: