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
var mongoose = require('mongoose'); | |
var eyes = require('eyes'); | |
mongoose.connect('mongodb://localhost/null_id'); | |
// schema definition | |
var A = new mongoose.Schema({ | |
f1: String, |
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
var mongoose = require('mongoose'); | |
var eyes = require('eyes'); | |
mongoose.connect('mongodb://localhost/null_id'); | |
// schema definition | |
var A = new mongoose.Schema({ | |
f1: String, |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:wfs="http://www.opengis.net/wfs" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:rws="http://mapserver.gis.umn.edu/mapserver"> | |
<xsl:output method="text" /> | |
<xsl:template match="/wfs:FeatureCollection"> |
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
#/* matchere: search for regexp at beginning of text */ | |
#int matchhere(char *regexp, char *text) { | |
# if (regexp[0] == '\0') | |
# return 1; | |
# if (regexp[1] == '*') | |
# return matchstar(regexp[0], regexp+2, text); | |
# if (regexp[0] == '$' && regexp[1] == '\0') | |
# return *text == '\0'; | |
# if (*text!='\0' && (regexp[0]=='.' || regexp[0]==*text)) | |
# return matchhere(regexp+1, text+1); |
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
function (string, radix) { | |
var result = window._parseInt(string, radix); | |
if (isNaN(result)) { | |
throw new Error('Unable to parse int'); | |
} | |
return result; | |
} |
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 bash | |
for D in *; do | |
if [ -d "${D}" ]; then | |
cd ${D} | |
~/src/plone-sonar-runner.sh | |
cd .. | |
fi | |
done |