Skip to content

Instantly share code, notes, and snippets.

Map {
background-color: #b8dee6;
}
#countries {
::outline {
line-color: #85c5d3;
line-width: 2;
line-join: round;
}
var tests = [
"countries",
"'10m_admin_0_countries'",
'(SELECT countries.* FROM countries)',
'(SELECT countries.*, bus2.factor FROM countries LEFT JOIN business.bus2 ON countries.adm0_a3 = bus2.iso)',
'(SELECT countries.*, bus2.factor FROM countries LEFT JOIN business.bus2 ON countries.adm0_a3 = bus2.iso WHERE foo = bar)',
'(SELECT countries.*, bus2.factor FROM countries LEFT JOIN business.bus2 ON countries.adm0_a3 = bus2.iso LEFT JOIN business.bus2 ON countries.adm0_a3 = bus2.iso WHERE foo = bar)',
'(SELECT countries.*, bus2.factor FROM countries LEFT JOIN business.bus2 ON countries.adm0_a3 = bus2.iso WHERE foo = bar LIMIT 3)'];
function m(t) {
var parts = t.replace(/^\(|\)$/g, '')
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" background-color="#b8dee6">
<Style name="countries" filter-mode="first">
<Rule>
<Filter>([factor] &gt; 50)</Filter>
<PolygonSymbolizer fill="#eeeeee" />
<html>
<head>
<title>Redirect</title>
<meta http-equiv="REFRESH" content="0;url=pages/index.html" />
</head>
<body>Redirecting</body>
</html>
diff --git a/client/model.prefix.js b/client/model.prefix.js
index 220bae8..96ee6b7 100644
--- a/client/model.prefix.js
+++ b/client/model.prefix.js
@@ -1,4 +1,4 @@
// ---- start __FILE__ ----
Bones.initialize('model', function(models) {
-var model;
+var module = {exports: null};
diff --git a/control/g/bwdetect.js b/control/g/bwdetect.js
index 37c1f8c..62c6759 100644
--- a/control/g/bwdetect.js
+++ b/control/g/bwdetect.js
@@ -40,18 +40,36 @@ wax.g.bwdetect = function(map, options) {
}
function bwTest() {
+ wax.bw = -1;
var im = new Image();
core = 6.x
api = 2
projects[] = drupal
projects[openprotocol][type] = profile
projects[openprotocol][download][type] = git
projects[openprotocol][download][url] = git://github.com/dmitrig01/openprotocol.git
/**
* Implementation of hook_views_default_views().
*/
function evil_views_default_views() {
/*
* View 'evil1'
*/
$view = new view;
$view->name = 'evil1';
$view->description = '';
; from http://www.lullabot.com/articles/wysiwyg-feature
; DRUPAL VERSION
core = 6.x
; CORE MODULES
projects[] = drupal
projects[views][subdir] = "contrib"
; FILE HANDLING
projects[imagecache][subdir] = "contrib"
drush_shell_exec('tar -tf %s', $filename);
$info = drush_shell_exec_output();
if ($info) {
// Use info to check for tarbomb.