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
| declare function local:random-hex-set( $length as xs:integer ) { | |
| fn:string-join( | |
| for $i in 1 to $length return | |
| xs:string( | |
| xdmp:integer-to-hex( | |
| xdmp:random(15) | |
| ) | |
| ) | |
| ,"" | |
| ) |
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 $docs := | |
| fn:distinct-values( | |
| for $i in cts:search(//beef,cts:word-query("tip")) | |
| return fn:base-uri($i) | |
| ) | |
| return | |
| for $i in $docs return | |
| xdmp:document-add-collections( | |
| $i, | |
| '/marc/favorites' |
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 $docs := | |
| fn:distinct-values( | |
| for $i in cts:search(//beef,cts:word-query("tip")) return | |
| fn:base-uri($i) | |
| ) | |
| let $favorites := | |
| <favorites>{ | |
| for $i in $docs return | |
| <doc>{$i}</doc> |
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
| cts:search(/, | |
| cts:document-query( | |
| fn:doc('/marc/favorites')/favorites//doc/text() | |
| ) | |
| ) |
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
| diff --git a/gtablet.cfg b/gtablet.cfg | |
| index cdc5684..375eda4 100644 | |
| --- a/gtablet.cfg | |
| +++ b/gtablet.cfg | |
| @@ -60,12 +60,12 @@ id=6 | |
| type=data | |
| allocation_policy=sequential | |
| filesystem_type=basic | |
| -size=4194304 | |
| +size=16777216 |
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
| [device] | |
| type=nand | |
| instance=0 | |
| [partition] | |
| name=BCT | |
| id=2 | |
| type=boot_config_table | |
| allocation_policy=sequential | |
| filesystem_type=basic |
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
| pi@raspberrypi ~ $ sudo apt-get install bluez pulseaudio-module-bluetooth python-gobject python-gobject-2 | |
| pi@raspberrypi ~ $ sudo usermod -a -G lp pi |
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
| pi@raspberrypi ~ $ sudo nano /etc/bluetooth/audio.conf |
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
| pi@raspberrypi ~ $ sudo nano /etc/pulse/daemon.conf |
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
| pi@raspberrypi ~ $ sudo apt-get install bluez-tools qdbus git-core |
OlderNewer