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
# prototype of crime mapping app | |
require 'csv' | |
require 'date' | |
require 'rubygems' | |
require 'sparklines' | |
require 'RMagick' | |
require 'uuid' | |
ONLY_HOMICIDES = false |
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
/** | |
* Simple GridMousePosition control for OpenLayers | |
* | |
* Due to the design of Proj4js and standard grid systems, | |
* this control uses the included usng.js code instead of a standard | |
* projection object. | |
* | |
* Usage: | |
* | |
* map.addControl(new OpenLayers.Control.GridMousePosition( |
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
diff --git a/keyauth.admin.inc b/keyauth.admin.inc | |
index 9a77812..0078184 100644 | |
--- a/keyauth.admin.inc | |
+++ b/keyauth.admin.inc | |
@@ -32,7 +32,9 @@ function keyauth_admin_keys_list() { | |
} | |
$row[] = $status; | |
$row[] = l($edit, 'admin/build/keys/'. $key['public_key']); | |
- $row[] = l(t('generate'), 'admin/build/keys/'. $key['public_key'] .'/generate'); | |
+ if ($key['export_type'] == EXPORT_IN_DATABASE) { |
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
# The OpenLayers Module | |
## Basic Concept | |
The OpenLayers module makes the construction of OpenLayers maps easier by storing map *presets*, *layers*, *behaviors*, and *styles* as objects in Drupal, and combining them in any way possible. It also provides an easy user interface for configuring these various parts, and the option to export each to code or include them in a feature with the Features module. | |
## Minimal Example | |
The simplest useful OpenLayers map will display a node location on a map. To make this happen, you'll need to download and enable a few modules: |
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
Only in /Users/tmcw/Sites/drupal-6.15-sling/profiles/managingnews/modules/contrib/feeds: .cvsignore | |
diff feeds/CHANGELOG.txt /Users/tmcw/Sites/drupal-6.15-sling/profiles/managingnews/modules/contrib/feeds/CHANGELOG.txt | |
1c1 | |
< // $Id: CHANGELOG.txt,v 1.37 2010/02/08 19:51:54 alexb Exp $ | |
--- | |
> // $Id: CHANGELOG.txt,v 1.36 2010/01/28 21:00:45 alexb Exp $ | |
6,8d5 | |
< - #701432 pounard, Will White: Fix array_shift() expects parameter 1 is Array | |
< error. Note: Parsers are responsible to ensure that the parameter passed to | |
< FeedsImportBatch::setItems() is an Array. |
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
64a65,66 | |
> * | |
> * @throws Exception $e | |
67,72c69 | |
< try { | |
< $this->processor->expire($time); | |
< } | |
< catch (Exception $e) { | |
< drupal_set_message($e->getMessage(), 'error'); | |
< } |
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
2c2 | |
< // $Id: FeedsBatch.inc,v 1.3 2010/02/08 19:48:15 alexb Exp $ | |
--- | |
> // $Id: FeedsBatch.inc,v 1.2 2009/12/21 00:21:00 alexb Exp $ | |
25c25 | |
< public function __construct($url = NULL, $file_path = NULL) { | |
--- | |
> public function __construct($url = NULL, $file_path = NULL, $raw = NULL) { | |
27a28 | |
> $this->raw = $raw; |
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
#!/usr/bin/env python | |
import os, sys, pickle | |
from optparse import OptionParser | |
from subprocess import * | |
# Usage | |
# ec2 l (lists servers) | |
# ec2 n 37a -m "Message" (appends the message "Message" to a server like i-37ablah) | |
# ec2 c 37a (connects to a server like i-37ablah) |
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
test |
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
Program received signal SIGSEGV, Segmentation fault. | |
[Switching to Thread 0x2aaaabaffda0 (LWP 19345)] | |
0x00002aaaab81111b in memcpy () from /lib/libc.so.6 | |