faye.jcoglan.com
Faye: Simple pub/sub messaging for the web
https://faye.jcoglan.com/download.html
Simple pub/sub messaging for the web. Packages for Node.js, Ruby and browsers. The latest version is 1.2.2, released July 18 2016. It is open-source software, released under the MIT. License. You can follow development on Faye’s GitHub page. Download for Node.js and web browsers. The Node.js version is available through npm. This package contains a copy of the browser client, which is served up by the Faye server when running. If you’re using Browserify. Or a similar build tool, then requiring.
faye.jcoglan.com
Faye: Simple pub/sub messaging for the web
https://faye.jcoglan.com/browser.html
Simple pub/sub messaging for the web. Packages for Node.js, Ruby and browsers. In order to use the browser client, you’ll need to start up a Faye server to handle message delivery between clients. See the Node.js. Documentation for more information. With the server up and running, you just need to include the client script in your page. Let’s assume you’ve mounted a server at. Script type="text/javascript"
src="http:/ localhost:8000/faye/client.js"
/script. If the connection to the server is lost, th...
useragentman.com
The CSS3 Matrix Construction Set
http://www.useragentman.com/matrix
The Matrix Construction Set. I want to use 3D transforms. Change HTML and CSS. Will allow greater control over the transform, but fonts may appear blocky compared to 2D transforms unless the object you are transforming is physically bigger that the size you are transforming to. The show vendor prefixes. Option will guarentee your transforms will work even on older browsers and devices (e.g. old iPhone and Android browsers). Change HTML and CSS. If you want to use this feature. This is a block element.
blogs.esri.com
Applications Prototype Lab
https://blogs.esri.com/Dev/blogs/apl/default.aspx
Diverging Color Ramp addin for ArcMap 10.4. March 7, 2016. Diverging Color Ramp (addin documentation). Diverging Color Ramp (source code documentation). Combined Field Statistics Addin for ArcMap 10.4. March 7, 2016. Values in multiple age group columns. For example, to calculate the total number of individuals in columns for ages 0 -4 and 5 – 9, to obtain an aggregate total for ages 0 – 9. It occurred to me that this capability could have broader applications if the tool could also calculate the full se...
canopy.jcoglan.com
Canopy – Character classes
http://canopy.jcoglan.com/chars.html
Released under the GPLv3 license. Character classes work just like their counterparts from regular expressions, in fact they literally get compiled into identical regexes in the parser. For example, this grammar matches a single alphanumeric character:. Grammar Alphanum root - [A-Za-z0-9]. This will parse any character matched by the class, and no others:. There is a special character class denoted by. Period). This matches any character. Grammar Anything root - .
faye.jcoglan.com
Faye: Simple pub/sub messaging for the web
https://faye.jcoglan.com/security.html
Simple pub/sub messaging for the web. Packages for Node.js, Ruby and browsers. Cookies, Origin, and Referer. Securing your realtime applications. Like any web-accessible service, Faye must be protected against malicious usage by attackers. Out of the box, it is a cross-domain-accessible server with no restrictions on subscribing and publishing, but its extension system allows you to easily impose restrictions appropriate to your application. Can a client get access to data it should not have access to?
faye.jcoglan.com
Faye: Simple pub/sub messaging for the web
https://faye.jcoglan.com/architecture.html
Simple pub/sub messaging for the web. Packages for Node.js, Ruby and browsers. If you’re developing Faye, the following gives an overview of the project’s architecture. Both the Ruby and JavaScript versions share the same internal structure and their implementations are very similar. Faye is based on the Bayeux protocol, and is compatible with the reference implementation of Bayeux provided by the cometD project. Messages flow through the system according to this diagram:. So they can be easily swapped o...
faye.jcoglan.com
Faye: Simple pub/sub messaging for the web
https://faye.jcoglan.com/node.html
Simple pub/sub messaging for the web. Packages for Node.js, Ruby and browsers. All Faye clients need a central messaging server to communicate with; the server records which clients are subscribed to which channels and handles routing of messages between clients. Setting up a server in Node.js is simple:. Class supports these options during setup:. 8211; the path on the host at which the Faye service is available. In this example, clients would connect to. To talk to the server. The server will handle.
canopy.jcoglan.com
Canopy – Matching strings
http://canopy.jcoglan.com/strings.html
Released under the GPLv3 license. The most basic type of node in PEG grammars is the literal string match. This grammar will only match the string. Grammar Parsers root - I like parsers. Strings are delimited with double quotes. A string node is a. Ndash; it has no child nodes. This is not valid. As you can see from the last example, strings are case-sensitive. You can create case-insensitive strings by quoting the string with backticks:. Grammar Parsers root - `I like parsers`.
canopy.jcoglan.com
Canopy – JavaScript
http://canopy.jcoglan.com/langs/javascript.html
Released under the GPLv3 license. To get an overview of how to use Canopy with JavaScript, consider this example simplified grammar for URLs:. Grammar URL url - scheme :/ host pathname search hash? Scheme - http s? Host - hostname port? Hostname - segment (. segment)* segment - [a-z0-9-] port - : [0-9] pathname - / [? Hash - # *. We can compile this grammar into a JavaScript module using. Canopy url.peg - lang js. This creates a file called. This little example shows a few important things:. Grammar Map...
SOCIAL ENGAGEMENT