Skip to content

Instantly share code, notes, and snippets.

View apperceive's full-sized avatar

Apperceive apperceive

View GitHub Profile
@apperceive
apperceive / archive.org-download-image-example.html
Created October 17, 2015 00:15
display an archive.org image
<img src="https://archive.org/download/AliciasShoes/alicias_shoes.jpg" />
@apperceive
apperceive / archive.org-media-types.txt
Created October 16, 2015 23:34
archive.org media types
article,audio,collection,data,education,etree,image,movies,other,software,texts,web
@apperceive
apperceive / archive.org-urls.txt
Last active August 18, 2023 22:32
archive.org url's
http://archive.org/details/IDENTIFIER
http://archive.org/download/IDENTIFIER/FILENAME.EXT
http://archive.org/services/img/IDENTIFIER
http://archive.org/embed/IDENTIFIER
http://archive.org/compress/IDENTIFIER/formats=JPEG&file=/IDENTIFIER.zip
https://archive.org/edit/IDENTIFIER
https://archive.org/manage/IDENTIFIER
@apperceive
apperceive / README.md
Last active October 16, 2015 19:28
Internet Archive python command line interface examples
@apperceive
apperceive / seldump
Created October 4, 2015 13:54
Simple example to dump all selectors using Sabberworm CSS parser
<?php
require_once(dirname(__FILE__).'/bootstrap.php');
$oParser = new Sabberworm\CSS\Parser(file_get_contents('php://stdin'));
$oCss = $oParser->parse();
foreach($oCss->getAllDeclarationBlocks() as $oBlock) {
foreach($oBlock->getSelectors() as $oSelector) {