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
define( | |
function(require, exports, module) { | |
"use strict"; | |
var Lookup = function(terms) { | |
this.terms = terms; | |
this.lookup = function (term){ | |
return this.terms.indexOf(term.toLowerCase()) > -1; | |
} | |
} |
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
/* | |
REBOL Syntax | |
2012 by Christopher Ross-Gill | |
Based in Part on REBOLSource / REBOL Syntax by Earl, Ladislav and Steeve | |
https://github.com/rebolsource/rebol-syntax/ | |
Designed for use with: | |
http://railroad.my28msec.com/rr/ui | |
For Future Ref: |
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
REBOL [ | |
Title: "Stack Overflow Rebol Questions/Answers" | |
Date: 16-Feb-2013 | |
Author: "Christopher Ross-Gill" | |
Options: [ | |
AltXML: http://reb4.me/r3/altxml | |
Questions: http://stackoverflow.com/feeds/tag/rebol | |
Feed: http://-feed-location-/so.feed | |
] | |
] |
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
Rebol [ | |
Title: "Add a Site" | |
Type: 'controller | |
File: %app/controllers/addsite.r | |
] | |
route () to submit [ ; where submit is %app/views/addsite/submit.html.rsp | |
get [] ; shows the form | |
put [ |
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
REBOL [ | |
Title: "Scraper" | |
Date: 1-Dec-2013 | |
] | |
textize: func [html [string!] /local rule last-list value new-table in-pre][ | |
html: load-html/dom html | |
last-node: html | |
last-list: "" | |
in-pre: false |
Testing the [handling of various types of link markup.
Testing [the] handling] of] various] types](//gist.github.com) of link markup.
Testing [the ]handling] of] various] types](//gist.github.com) of link markup.
Testing the [handling of] various types](http://gist.github.com) of link markup.
Testing the handling of [various] types of link markup.
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
Rebol [ | |
Title: "Syntax Highlighting of Spaces in Strings" | |
Date: 29-Mar-2015 | |
Author: "Christopher Ross-Gill" | |
] | |
Samples: [ ; a comment | |
string-with-spaces { | |
I am spaced. | |
} |
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
Rebol [ | |
Title: "Fleshing out a model for a COLLECT/KEEP in Parse based on correctness" | |
Date: 26-Apr-2015 | |
Author: "Christopher Ross-Gill" | |
] | |
buckets: [] | |
new-branch: quote (insert/only buckets bucket: copy []) | |
fold-branch: quote (bucket: buckets/2 append bucket take buckets) | |
kill-failed-branch: quote (remove buckets) |
OlderNewer