This file contains 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
hdmi_group=2 | |
hdmi_mode=87 | |
hdmi_cvt=2560 1440 60 3 0 0 1 | |
max_framebuffer_width=2560 | |
max_framebuffer_height=1440 | |
hdmi_pixel_freq_limit=400000000 |
This file contains 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
# HTTP Status Cats | |
# Apache (htaccess) config created by @dave1010 | |
# Licensed CC BY 2.0 | |
# Images CC BY 2.0, from GirlieMac's photostream: | |
# http://www.flickr.com/photos/girliemac/sets/72157628409467125/with/6508023065/ | |
# Usage: copy save this file as .htaccess or add it to your httpd.conf | |
ErrorDocument 404 '<a href="http://www.flickr.com/photos/girliemac/6508022985/" title="404 - Not Found by GirlieMac, on Flickr"><img src="http://farm8.staticflickr.com/7172/6508022985_b22200ced0.jpg" width="500" height="400" alt="404 - Not Found"></a>' |
This file contains 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 | |
/** | |
* Map CSV columns to fields | |
* | |
* somefile.csv content = "some guy, 5 Road Street, Town, Postcode" | |
* | |
* $mapper = new CsvMapper('/tmp/somefile.csv'); | |
* $mapper->mapField('A', 'name')->filter('name', function($value){ return ucwords($value); }); | |
* $mapper->mapAggregateField(array('B', C', D'), 'address', ', '); | |
* $mapper->mapLiteral('source', 'unknown'); |