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
declare function c:main() as item()* | |
{ | |
let $acount := xdmp:estimate((fn:doc()/article)) | |
return | |
( | |
ch:add-value("articlecount",$acount), | |
ch:add-value("title", "Articles") | |
) | |
}; |
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 dosomething = function() { /* whatever */ }; | |
var db = new mldb(); // default options | |
db.exists(function(result) { | |
if (!result.inError) { | |
if (result.exists) { | |
// already exists | |
dosomething(); | |
} else { | |
// create then destroy |
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" type="text/css" href="/css/widgets.css" /> | |
<script type="text/javascript" src="/js/mldb.js"></script> | |
<script type="text/javascript" src="/js/mldb-jquery.js"></script> | |
<script type="text/javascript" src="/js/widgets.js"></script> | |
<script type="text/javascript" src="/js/widget-search.js"></script> | |
<script type="text/javascript" src="/js/page-search-main.js"></script> | |
<div id="search-content">Search content goes here</div> |
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
I have ran through the troubleshooting guide. | |
Install verbose output:- | |
==> Downloading http://downloads.sourceforge.net/project/collada-dom/Collada%20DOM/Collada%20DOM%202.4/collada-dom-2.4.0.tgz | |
Already downloaded: /Library/Caches/Homebrew/collada-dom-2.4.0.tgz | |
==> Verifying collada-dom-2.4.0.tgz checksum | |
tar xf /Library/Caches/Homebrew/collada-dom-2.4.0.tgz | |
==> Patching |
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
{ | |
"options": { | |
"debug": false, | |
"transform-results": { | |
"apply": "raw" | |
}, | |
"constraint": [{ | |
"name": "stars", | |
"range": { | |
"type": "xs:int", |
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
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <linux/i2c-dev.h> |
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
#include <nmea.h> | |
#include <SoftwareSerial.h> | |
SoftwareSerial mySerial(2, 3); // RX, TX - change for your connections | |
NMEA nmeaDecoder(ALL); | |
void setup() | |
{ | |
// Open serial communications and wait for port to open: |
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
#include <nmea.h> | |
#include <SoftwareSerial.h> | |
#include <Wire.h> | |
SoftwareSerial mySerial(2, 3); // RX, TX | |
NMEA nmeaDecoder(ALL); | |
void setup() { | |
// Open serial communications and wait for port to open: | |
Wire.begin(); |
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
[2018-07-17 15:07:25,833][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:17:04,906][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:19:47,025][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:20:02,320][FATAL][GitManager : 117] initialiseCaptureRepos - Failed to create develop branch | |
org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved | |
at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:276) | |
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:129) | |
at org.pentaho.part.versioning.GitManager.initialiseCaptureRepository(GitManager.java:115) | |
at org.pentaho.part.commands.PublishCommand.execute(PublishCommand.java:74) | |
at org.pentaho.part.Part.main(Part.java:157) |
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
[2018-07-17 15:07:25,833][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:17:04,906][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:19:47,025][INFO ][Part : 125] main - PART command: publish | |
[2018-07-17 15:20:02,320][FATAL][GitManager : 117] initialiseCaptureRepos - Failed to create develop branch | |
org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved | |
at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:276) | |
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:129) | |
at org.pentaho.part.versioning.GitManager.initialiseCaptureRepository(GitManager.java:115) | |
at org.pentaho.part.commands.PublishCommand.execute(PublishCommand.java:74) | |
at org.pentaho.part.Part.main(Part.java:157) |
OlderNewer