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
<init-param> | |
<param-name>development</param-name> | |
<param-value>true</param-value> | |
</init-param> | |
can I do this in my code? | |
if(getServletConfig().getInitParameter("development")) { ... | |
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
{ | |
"Name of submitting scientist": "Hesham Agrama, soybean Breeder", | |
"Institution": "IITA", | |
"Date of submission": "", | |
"Crop": "Soybean", | |
"Name of Trait": "Days To Flowering", | |
"Trait ID for modification, Blank for New": "", | |
"Abbreviated name": "DAYFL", | |
"Synonyms (separate by commas)": "Open flower", | |
"Description of Trait": "Days after sowning until 50% of the plants have one or more flowers", |
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> | |
<link rel="stylesheet" href="http://lmatteis.github.io/bitcoin-notify/theme/default/style.css" type="text/css"> | |
<script src="http://lmatteis.github.io/bitcoin-notify/OpenLayers.js"></script> | |
<script src="http://lmatteis.github.io/bitcoin-notify/jquery.min.js"></script> | |
<script> | |
$(function() { | |
map = new OpenLayers.Map("demoMap"); | |
map.addLayer(new OpenLayers.Layer.OSM()); | |
var lonlat = new OpenLayers.LonLat(12.482520,41.892916).transform(new OpenLayers.Projection("EPSG:4326"),new OpenLayers.Projection("EPSG:900913")); |
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
<link rel="stylesheet" href="http://lmatteis.github.io/bitcoin-notify/theme/default/style.css" type="text/css"> | |
<script src="http://lmatteis.github.io/bitcoin-notify/OpenLayers.js"></script> | |
<script src="http://lmatteis.github.io/bitcoin-notify/jquery.min.js"></script> | |
<script src="http://lmatteis.github.io/bitcoin-notify/bam.js"></script> | |
<form method="get" id="submit_bitcoin"> | |
<input type="hidden" placeholder="lat" value="41.892916" id="lat_bitcoin"/> | |
<input type="hidden" placeholder="lon" value="12.482520" id="lon_bitcoin"/> | |
<input type="email" placeholder="email" value="" id="email_bitcoin"/> | |
<br> |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1,user-scalable=no"> | |
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title> | |
<link rel="alternate" type="application/rss+xml" href="{RSS}"> | |
<link rel="shortcut icon" href="{Favicon}" /> | |
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description} |
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 cheerio = require('cheerio') | |
var request = require('request') | |
var fs = require('fs') | |
var N3 = require('n3'); | |
var nurl = require('url'); | |
var genesysPrefix = 'http://www.genesys-pgr.org/acn/id/' | |
var domain = 'https://www.genesys-pgr.org/acn/' | |
//loadUrl(domain); |
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
$('th').each(function() { | |
var str = 'map:' +$(this).text() + ' a d2rq:PropertyBridge;\n'; | |
str += ' d2rq:belongsToClassMap map:LandscapePhotograph;\n\ | |
d2rq:property map:' +$(this).text() + ';\n\ | |
d2rq:propertyDefinitionLabel "' +$(this).text() + '";\n\ | |
d2rq:column "cncp_b.foto_stu2.' +$(this).text() + '";\n\ | |
.\n\n' | |
$('textarea').val($('textarea').val() + str) | |
}) |
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
# runs 100 pages starting at start | |
start=6310 | |
chunk=10 | |
for ((i=0; i<$chunk; ++i )) ; | |
do | |
#node scrape.js 6300 6310 & | |
startPage="$(( $start + ($i * $chunk) ))" | |
endPage="$(( $startPage + ($chunk - 1) ))" | |
node scrape.js $startPage $endPage & | |
done |
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
start=7600 | |
chunk=1 | |
for ((i=0; i<20; ++i )) ; | |
do | |
#node scrape.js 6300 6310 & | |
startPage="$(( $start + ($i * $chunk) ))" | |
endPage="$(( $startPage + ($chunk - 1) ))" | |
#node scrape.js $startPage $endPage & | |
node scrape2.js $startPage & | |
done |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1,user-scalable=no"> | |
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title> | |
<link rel="alternate" type="application/rss+xml" href="{RSS}"> | |
<link rel="shortcut icon" href="{Favicon}" /> | |
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description} |
OlderNewer