- https://developers.archive.org/
- https://archive.org/help/json.php
- https://archive.org/help/coding.php
- https://archive.org/help/abouts3.txt
- https://archive.org/help/contrib-advanced.php
- https://archive.org/help/derivatives.php - IA Conversions aka Derivatives - has exclusion advanced techniques at bottom
- http://blog.archive.org/2011/03/31/how-archive-org-items-are-structured/ - How Archive.org items are structured
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$colb = array( | |
'data' => 'b', | |
'header' => false, // cell is a header | |
'class' => 'bclass bclass', | |
'any-td-attr' => 'bvalue', | |
); | |
$cella2 = array( | |
'data' => 'a2', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function THEMENAME_preprocess_table(&$variables) { | |
if(!isset($variables['attributes']['class'])) { | |
$variables['attributes']['class'] = array('table', 'table-striped'); | |
} | |
else { | |
$variables['attributes']['class'][] = 'table'; | |
$variables['attributes']['class'][] = 'table-striped'; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in $(find /var/www -maxdepth 2 -type d -regextype awk -regex '.*(dev|test)\.apperceive\.(com|net)' -exec echo {} \;); do echo "Welcome to $f" | sed 's~/var/www/html/~~' > $f/public/index.html; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query | |||||
---|---|---|---|---|---|
query | type | ||||
query | options | ||||
defaults | |||||
defaults | title | ||||
defaults | use_more | ||||
defaults | use_more_always | ||||
defaults | use_more_text | ||||
defaults | fields | ||||
defaults | filter_groups |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -b -s --suppress-common-lines --side-by-side <(drush @XXX pm-list --status=enabled) <(drush @YYY pm-list --status=enabled) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple drupal calls via drush | |
drush @d7Test ev '$a = node_type_get_types(); while (list($k,$v) = each($a)) {echo "\"$k\",\"$v->name\",\"$v->description\"\n\n";}' | |
drush @d7Test ev '$a = system_get_info("theme"); while (list($k,$v) = each($a)) {echo "\"$k\",\"$v->name\",\"$v->description\"\n\n";}' | |
#unions might be nice? | |
drush @d7Test ev '$a = system_get_info("module"); while (list($k,$v) = each($a)) {echo "\"$k\",\"$v->name\",\"$v->description\"\n\n";}' | |
drush @slndev ev '$a = array_keys(system_get_info("theme")); while (list($k,$v) = each($a)) {echo "$k\n";}' |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 10 columns, instead of 4 in line 4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start Date End Date Headline Text Media Media Credit Media Caption Media Thumbnail Type Tag | |
2/23/2013 Corporate Rights and Power Historical Timeline From the Ultimate Civics 'Organizing for Change' manual and the 'Rethinking Democracy' high school curriculum. Video posted by FluxRostrum <a href='http://www.youtube.com/watch?feature=player_embedded&v=OkUw99XJkfI' title='Corporate Power Grab Historical Timeline , on Youtube'>Corporate Power Grab Historical Timeline </a> title | |
1/1/1776 Revolutionary War begins | |
1/1/1789 *The US Constitution The writers of the Constitution were very interested in protecting their property. Without using the words “slave” or “slavery,” they made slavery legal and institutionalized it. “No person held in Service or Labour in one State,… escaping into another, shall… be discharged from such Service or Labour, but shall be delivered up on Claim of the Party to whom such Service or Labour may be due.” [Art. 4, Sec. 2] | |
1/1/1791 *Bill of Rights The first 10 Amendmen |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start Date,End Date,Headline,Text,Media,Media Credit,Media Caption,Media Thumbnail,Type,Tag | |
2/23/2013,,Corporate Rights and Power Historical Timeline ,"From the Ultimate Civics 'Organizing for Change' manual and the 'Rethinking Democracy' high school curriculum.",,Video posted by FluxRostrum,"<a href=""http://www.youtube.com/watch?feature=player_embedded&v=OkUw99XJkfI"" title='Corporate Power Grab Historical Timeline , on Youtube'>Corporate Power Grab Historical Timeline </a>",,title, | |
1/1/1776,,Revolutionary War begins,,,,,,, | |
1/1/1789,,*The US Constitution,"The writers of the Constitution were very interested in protecting their property. Without using the words 'slave' or 'slavery', they made slavery legal and institutionalized it. 'No person held in Service or Labour in one State,… escaping into another, shall… be discharged from such Service or Labour, but shall be delivered up on Claim of the Party to whom such Service or Labour may be due.' [Art. 4, Sec. 2]",,,,,, | |
1/1/1791,,*Bill of Rights,"The first 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT update_time, table_name FROM information_schema.tables WHERE table_schema = 'MYDB' ORDER BY 1,2; |
NewerOlder