Skip to content

Instantly share code, notes, and snippets.

@giltotherescue
Created January 22, 2013 00:14
Show Gist options
  • Save giltotherescue/4590824 to your computer and use it in GitHub Desktop.
Save giltotherescue/4590824 to your computer and use it in GitHub Desktop.
<?
preg_match_all("#[\"|']http://the.squidoocdn.com/(.+[\.v[\d]+]?\.css)[\"|']#", file_get_contents($argv[1]), $css);
print_r($css);
preg_match_all("#[\"|']http://the.squidoocdn.com/(.+[\.v[\d]+]?\.js)[\"|']#", file_get_contents($argv[1]), $js);
print_r($js);
@collegeman
Copy link

Sounds great. The only thing I'd do differently is use diff instead of flipping back and forth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment