This file contains hidden or 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
Cannot complete the install because of a conflicting dependency. | |
Software being installed: Dynamic Languages Toolkit - Core Frameworks 4.0.0.201206120848 (org.eclipse.dltk.core.feature.group 4.0.0.201206120848) | |
Software currently installed: XQuery Development Tools Feature 1.0.0.201108251748 (org.eclipse.wst.xquery.feature.feature.group 1.0.0.201108251748) | |
Only one of the following can be installed at once: | |
Dynamic Languages Toolkit Core UI 4.0.0.201206120848 (org.eclipse.dltk.ui 4.0.0.201206120848) | |
Dynamic Languages Toolkit Core UI 3.0.1.v20110823 (org.eclipse.dltk.ui 3.0.1.v20110823) | |
Dynamic Languages Toolkit Core UI 3.0.0.v20110609-1525 (org.eclipse.dltk.ui 3.0.0.v20110609-1525) | |
Cannot satisfy dependency: | |
From: Dynamic Languages Toolkit - Core Frameworks 4.0.0.201206120848 (org.eclipse.dltk.core.feature.group 4.0.0.201206120848) | |
To: org.eclipse.dltk.ui [4.0.0.201206120848] |
This file contains hidden or 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
let $s:=" | |
import module namespace test = 'org.apb.modules.TestModule'; | |
declare function local:prime($n){ | |
$n = 2 or ($n > 2 and | |
(every $d in 2 to xs:integer(math:sqrt($n)) satisfies $n mod $d > 0)) | |
}; | |
let $t:=test:startTimeout(xs:int(10000)) | |
return count((1 to 1000000)[local:prime(.)]) | |
" |
This file contains hidden or 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
xquery version "3.0" encoding "UTF-8"; | |
(:~ return image metadata as xml using http://drewnoakes.com/code/exif/ | |
: usage: metadata:read('C:/temp/apic.jpg') | |
: xml format based on xmlcalabash1 | |
: https://github.com/ndw/xmlcalabash1/blob/master/src/com/xmlcalabash/extensions/MetadataExtractor.java | |
: @author andy bunce | |
:) | |
module namespace metadata = 'apb.image.metadata'; | |
declare default function namespace 'apb.image.metadata'; |
This file contains hidden or 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
// Andy bunce jan 2013 based on http://book.mixu.net/ch13.html | |
var fs = require('fs'), | |
http = require('http'), | |
sio = require('socket.io'); | |
var port=8001; | |
var server = http.createServer(function(req, res) { | |
res.writeHead(200, { 'Content-type': 'text/html'}); | |
res.end(fs.readFileSync('./index.html')); | |
}); | |
server.listen(port, function() { |
This file contains hidden or 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 ng-app><head> | |
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | |
<title>Angular.js Nested Repeatable Objects</title> | |
<style> | |
#section-form { margin: auto; width: 960px; } | |
.section { border: 2px solid #999; margin: 10px 0; padding: 10px; } | |
.section > label { display: inline-block; padding-right: 10px; text-align: right; vertical-align:top; width: 150px; } | |
.question { background: #eee; border: 2px solid #aaa; margin: 5px 0; padding: 10px; } | |
#fader { position:fixed; top: 0px; left: 0px; width: 100%; height:100%; background-color: black; opacity: 0.8; z-index: 3; } |
This file contains hidden or 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
<div> | |
<h2>{$heading} - {count($actions/generate)}</h2> | |
<p>Actions are processes that generate a new item from an existing item.</p> | |
<div> | |
{$partial("action1.xml","action",$actions/generate )} | |
</div> | |
</div> |
This file contains hidden or 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
Sep 12 21:04:03 OpenWrt syslog.info syslogd started: BusyBox v1.19.4 | |
Sep 12 21:04:03 OpenWrt kern.notice kernel: klogd started: BusyBox v1.19.4 (2012-08-28 23:48:59 EDT) | |
Sep 12 21:04:03 OpenWrt kern.notice kernel: [ 0.000000] Linux version 3.3.8 ([email protected]) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu Aug 30 06:36:56 EDT 2012 | |
Sep 12 21:04:03 OpenWrt kern.debug kernel: [ 0.000000] MyLoader: sysp=3dd7cb87, boardp=f0717c55, parts=4852ecbe | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] bootconsole [early0] enabled | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] SoC: Atheros AR9330 rev 1 | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] Determined physical RAM map: | |
Sep 12 21:04:03 OpenWrt kern.info kernel: [ 0.000000] memory: 020 |
This file contains hidden or 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
java -jar ~andy/tika-app-1.1.jar 12\ Time\ Of\ The\ Season.mp3 | |
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="xmpDM:audioCompressor" content="MP3"/> | |
<meta name="xmpDM:releaseDate" content="1968"/> | |
<meta name="Content-Length" content="5632909"/> | |
<meta name="xmpDM:album" content="Odessey & Oracle"/> | |
<meta name="xmpDM:artist" content="Zombies"/> | |
<meta name="Author" content="Zombies"/> | |
<meta name="xmpDM:genre" content=""/> |
This file contains hidden or 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
java -jar ~andy/tika-app-1.1.jar skating.jpg | |
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="Software" content="Picasa"/> | |
<meta name="GPS Altitude Ref" content="Sea level"/> | |
<meta name="subject" content="greenwich"/> | |
<meta name="subject" content="ice"/> | |
<meta name="subject" content="skate"/> | |
<meta name="Content-Length" content="96154"/> | |
<meta name="Exif Version" content="2.20"/> |
This file contains hidden or 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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: basexhttp | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: basex initscript | |
# Description: basex |