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
/* | |
* Generated by https://github.com/wcandillon/react-native-static-images | |
*/ | |
export default class Images { | |
static readonly resetPassword = require("../public/images/ResetPassword.jpg"); | |
static readonly signIn = require("../public/images/SignIn.jpg"); | |
static readonly signUp = require("../public/images/SignUp.jpg"); | |
} |
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
interface CachedImageProps { | |
uri: string; | |
style?: React.ImageStyle; | |
} | |
@observer | |
export class CachedImage extends Component<CachedImageProps, void> { | |
@observable private _path; | |
private handler = path => this.path = path; |
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
{ | |
profile: { | |
pictures: { | |
large: "http://path-to-image/uid.jpg", | |
medium: "http://path-to-image/uid.jpg", | |
small: "http://path-to-image/uid.jpg" | |
} | |
} | |
} |
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 con = tableau.makeConnector(); | |
tableau.registerConnector(con); |
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
[ | |
{ | |
"category": "MongoDB", | |
"name": "xbrl", | |
"credentials": { | |
"conn-string": "xxx.28.io", | |
"db": "japan", | |
"user": "xbrl", | |
"pass": "hello" | |
} |
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 s3 = "http://www.28msec.com/modules/s3"; | |
import module namespace p = "http://zorba.io/modules/xml"; | |
import schema namespace opt = "http://zorba.io/modules/xml-options"; | |
(: In this example the XML files contains DTD declarations :) | |
let $parse-options := <opt:options> | |
<opt:DTD-validate/> | |
</opt:options> | |
let $manifest := s3:read-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
declare function local:is_in_date_range($index_entry, $date_filter) { | |
let $now := if ($date_filter!='') | |
then $date_filter | |
else current-date() - xs:dayTimeDuration(concat('P',14,'D')) | |
return | |
let $results := | |
for $program in $index_entry/program | |
return | |
if (not($program/@end_dt castable as xs:date)) | |
then true() |
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 conversion:facts-to-odata($facts as object*) as node()* | |
{ | |
for $f at $y in $facts | |
return | |
<entry xmlns='http://www.w3.org/2005/Atom' | |
xmlns:m='http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' | |
xmlns:d='http://schemas.microsoft.com/ado/2007/08/dataservices' | |
xml:base='http://www.xbrlsite.com/2014/Demos/OData/SECXBRLinfo.svc/'> | |
<id>{"http://secxbrl.info/odata/" || current-date() || "/" || $y}</id> | |
<category term='SEC.FundamentalAccountingConcepts' scheme='http://schemas.microsoft.com/ado/2007/08/dataservices/scheme'/> |
This file has been truncated, but you can view the full file.
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
Using worker: worker-linux-11-2.bb.travis-ci.org:travis-linux-9 | |
$ export CXX=g++ | |
$ export CC=gcc | |
travis_fold:start:git.1 | |
$ git clone --depth=50 --branch=w3c_tests git://github.com/28msec/zorba.git 28msec/zorba | |
Cloning into '28msec/zorba'... | |
remote: Counting objects: 45396, done.[K | |
remote: Compressing objects: 0% (1/14615) [K | |
remote: Compressing objects: 1% (147/14615) [K |
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
(: The "no-probe-2" query :) | |
import module namespace xqddf = "http://www.zorba-xquery.com/modules/xqddf"; | |
import module namespace news-data = "http://www.news.org/data" at "news_data.xqlib"; | |
for $emp in xqddf:collection($news-data:employees)/employee[./position/@kind eq "journalist"] | |
where 100 <= count(for $art in xqddf:collection(xs:QName("news-data:articles"))//article | |
where $art/empid eq $emp/id | |
return $art) | |
return $emp |