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
velvet:~# wget http://ftp.us.debian.org/debian/pool/main/b/basex/basex_7.0.2-1_all.deb | |
--2012-01-12 22:35:23-- http://ftp.us.debian.org/debian/pool/main/b/basex/basex_7.0.2-1_all.deb | |
Resolving ftp.us.debian.org... 35.9.37.225, 128.30.2.36 | |
Connecting to ftp.us.debian.org|35.9.37.225|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 2122208 (2.0M) [application/octet-stream] | |
Saving to: `basex_7.0.2-1_all.deb' | |
100%[======================================>] 2,122,208 542K/s in 4.3s |
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
(: 100ms :) | |
import module namespace app="/apb/bxnfactbook/0.1" ; | |
declare namespace functx="http://www.functx.com"; | |
declare function local:foo(){ | |
let $a:=app:entity("city") | |
let $schema:=$app:schema/schema/db/entity[@name="city"] | |
let $sorted:=app:sequence-sort($a,"name",1,"string") | |
let $table:=app:sequence-to-table3($sorted,$schema) | |
return $sorted |
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
<6>usb 1-2.1: new high speed USB device using ehci-omap and address 3 | |
<6>usb 1-2.1: New USB device found, idVendor=19d2, idProduct=2000 | |
<6>usb 1-2.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3 | |
<6>usb 1-2.1: Product: ZTE CDMA Technologies MSM | |
<6>usb 1-2.1: Manufacturer: ZTE,Incorporated | |
<6>usb 1-2.1: SerialNumber: 1234567890ABCDEF | |
<4>USB usb_probe_device idVendor=19d2 idProduct=2000 product=(ZTE CDMA Technologies MSM) | |
<6>usb 1-2.1: configuration #1 chosen from 1 choice | |
<6>usb 1-2.1: USB disconnect, address 3 | |
<6>usb 1-2.1: new high speed USB device using ehci-omap and address 4 |
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
velvet:/tmp# df -k | |
Filesystem 1K-blocks Used Available Use% Mounted on | |
/dev/md0 4184756 1722772 2252324 44% / | |
tmpfs 16 0 16 0% /USB | |
/dev/c/c 1930585268 906876 1929678392 1% /c | |
/dev/c/c_2011_07_08_22_18 | |
1930585268 208984 1930376284 1% /c_2011_07_08_22_18 | |
velvet:/tmp# df -i | |
Filesystem Inodes IUsed IFree IUse% Mounted on | |
/dev/md0 65536 65536 0 100% / |
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
(: time 3448088ms ~ 1hr :) | |
import module namespace p="XQueryV30" at "C:\Program Files\xquerydoc-0.1\src\xquery\parsers\XQueryV30.xq"; | |
p:parse-XQuery("2+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
import module namespace p="apb.parser-basex"; | |
let $xq:=' | |
declare | |
%rest:path("/stock/widget/{$id}") | |
function local:widget($id as xs:int) { | |
(: get the widget :) | |
fn:collection("/db/widgets")/widget[@id eq $id] | |
}; | |
2+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
import module namespace q="apb.pacman"; | |
q:info() | |
hello from pacman |
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
<style type="text/css">XML Parsing Error: not well-formed Location: http://localhost:8984/lib/bootstrap/css/bootstrap-responsive.min.css Line Number 1, Column 10:.clearfix {*zoom:1;} | |
.clearfix:before, .clearfix:after {display:table;content:"";} | |
{} | |
</style> |
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 |
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"/> |
OlderNewer