Long time no see, uh?
Two things. First one; it’s obvious that in C# we have that Assert.Equals(none, “string”) does not raise whether Assert.IsTrue(string.Equals(none, “string”)) raises, right?
Second thing. A small script that, given a set of css you downloaded from a site, reconstruct the tree of dependencies it has (through the url instruction). No, why are you thinking I’m copying someone else’s layout? Bad boys!
cat *.css | grep url | sed ’s/^.*url(\([^”)]*\)).*$/\1/’ | while read path ; do if ! test -f $path ; then mkdir -p `dirname $path` ; wget “http://www.volll.com/css/`dirname`” -O $path ; fi ; done
Caveats: does only consider url(xxx), and not url(”xxx”); works only for relative links.
Posted by mattia as Uncategorized at 10:53 AM CET
