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 Schema = mongoose.Schema; | |
mongoose.connect("127.0.0.1", "mongoose_dbref", 27017); | |
var PersonSchema = new Schema({ | |
name : String | |
, age : Number | |
, stories : [{ type: Schema.ObjectId, ref: 'Story' }] | |
}); | |
var StorySchema = new Schema({ |
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
#include <stdio.h> | |
#include <time.h> | |
int main(void) { | |
clock_t start, end; | |
double duration; | |
int counter = 0; | |
float x; | |
start = clock(); |
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
import "com.vividsolutions.jump.workbench.ui.AttributeTab" | |
import "com.vividsolutions.jump.workbench.ui.LayerViewPanel" | |
workbench_frame = $wc.workbench.frame | |
menu_bar = workbench_frame.get_jmenu_bar() | |
tool_bar = workbench_frame.get_tool_bar() # as JToolBar | |
layer_name_popup_menu = workbench_frame.get_layer_name_popup_menu() | |
category_popup_menu = workbench_frame.get_category_popup_menu() |
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
import org.parboiled.BaseParser | |
import org.parboiled.Parboiled | |
import org.parboiled.Rule | |
import org.parboiled.annotations.BuildParseTree | |
import org.parboiled.parserunners.ReportingParseRunner | |
import org.parboiled.support.ParseTreeUtils | |
@BuildParseTree | |
class ExampleGroovyParser extends BaseParser { | |
// start = "a"+ "b"+ |
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 Unified Mapping Platform (JUMP) is an extensible, interactive GUI | |
* for visualizing and manipulating spatial features with geometry and attributes. | |
* | |
* Copyright (C) 2003 Vivid Solutions | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; either version 2 | |
* of the License, or (at your option) any later version. |
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
--- C:/Users/Benjamin/AppData/Local/Temp/DeleteDuplicateGeometriesPlugIn.jav-rev2619.svn001.tmp.java Sun Jan 15 23:17:54 2012 | |
+++ C:/Users/Benjamin/AppData/Local/Temp/DeleteDuplicateGeometriesPlugIn.jav-rev2620.svn001.tmp.java Sun Jan 15 23:18:01 2012 | |
@@ -27,13 +27,12 @@ | |
*/ | |
/***************************************************** | |
* created: 30.01.2006 | |
- * last modified: | |
+ * last modified: 15.01.2012 | |
* | |
* |
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
package sscce; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.persistence.Entity; | |
import javax.persistence.Id; | |
import com.avaje.ebean.EbeanServer; | |
import com.avaje.ebean.EbeanServerFactory; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Mobile Patent Suits</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.1"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?1.29.1"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.29.1"></script> | |
<style type="text/css"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer