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 | |
| /* | |
| * Converts CSV to JSON | |
| * Example uses Google Spreadsheet CSV feed | |
| * csvToArray function I think I found on php.net | |
| */ | |
| header('Content-type: application/json'); | |
| // Set your CSV feed |
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
| /* | |
| * Original version by Stephen Toub and Shawn Farkas. | |
| * Random pool and thread safety added by Markus Olsson (freakcode.com). | |
| * | |
| * Original source: http://msdn.microsoft.com/en-us/magazine/cc163367.aspx | |
| * | |
| * Some benchmarks (2009-03-18): | |
| * | |
| * Results produced by calling Next() 1 000 000 times on my machine (dual core 3Ghz) | |
| * |
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
| /* Compile with: g++ -Wall –Werror -o shell shell.c */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/wait.h> |
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
| /** | |
| * Google Maps Tile Carver for Photoshop | |
| * | |
| * @description Tiles a photoshop image to create a Custom Map Type for Google Maps API, tested with CS4 and CS5 | |
| * @since 2010-09-01 | |
| * @author Will James, http://onNYTurf.com (creator) | |
| * @author Curtis Wyatt, http://gocalipso.com/ | |
| * @author Nate Bundy, http://www.lemonrage.com/ | |
| * @author Uli Schöberl, http://aplusplus.org | |
| */ |
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
| /* | |
| * Copyright (c) 2010 Tobias Schneider | |
| * This script is freely distributable under the terms of the MIT license. | |
| */ | |
| (function(){ | |
| var UPC_SET = { | |
| "3211": '0', | |
| "2221": '1', | |
| "2122": '2', |
NewerOlder