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
DBPedia | |
PREFIX dbo: <http://dbpedia.org/ontology/> | |
SELECT ?person WHERE { | |
?person dbpedia2:influences <http://dbpedia.org/resource/Isaac_Newton> . | |
{ ?person a <http://dbpedia.org/ontology/Person> . } | |
} | |
ORDER BY ?name |
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
<html> | |
<head> | |
<script src="raphael.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript"> | |
Raphael.fn.connection = function (obj1, obj2, line, bg) { | |
if (obj1.line && obj1.from && obj1.to) { | |
line = obj1; | |
obj1 = line.from; | |
obj2 = line.to; |
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
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=107931 - painting; portrait | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=109011 - Isaac Newton’s reflecting telescope (replica) | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=107901 - print; portrait | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=126567 - medal | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=55342 - Metal spectacles with small thick oval lenses, as suggested | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=107052 - Newton's furnace, 1696-1727. | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=126565 - Royal Society Medal | |
http://collectionsonline.nmsi.ac.uk/grabimg.php?kv=122835 - Engraving: The paternal house of Sir Isaac Newton ... born 2 |
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 express = require('express'); | |
var app = express.createServer(); | |
app.configure(function(){ | |
app.use(express.methodOverride()); | |
app.use(express.bodyDecoder()); | |
app.use(express.logger()); | |
}); |
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 express = require('express'); | |
var ArticleProvider = require('./articleprovider-memory').ArticleProvider; | |
var app = express.createServer(); | |
app.configure(function(){ | |
app.use(express.methodOverride()); | |
app.use(express.bodyDecoder()); | |
app.use(express.logger()); |
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
html | |
head | |
title= title | |
body | |
#wrapper | |
!= body |
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
h1= title | |
#articles | |
- each article in articles | |
div.article | |
div.created_at= article.created_at | |
div.title= article.title | |
div.body= article.body |
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 express = require('express'); | |
var app = express.createServer(); | |
app.configure(function(){ | |
app.set('view engine', 'jade'); | |
app.set('views', __dirname + '/views'); | |
app.use(express.methodOverride()); | |
app.use(express.bodyDecoder()); | |
app.use(express.logger()); |
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
html | |
head | |
title= title | |
link(rel: 'stylesheet', href: '/style.css' ) | |
body | |
#wrapper | |
!= body |
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
h1= title | |
form( method= 'post' ) | |
div | |
div | |
span Title : | |
input(type='text', name= 'title', id= 'editArticleTitle' ) | |
div | |
span Body : | |
textarea( name= 'body', rows= 20, id= 'editArticleBody' ) | |
div#editArticleSubmit |
OlderNewer