Skip to content

Instantly share code, notes, and snippets.

@PierreZ
Created January 2, 2018 13:52
Show Gist options
  • Save PierreZ/4aa0a48d62e367ef1d6369f8bf8c183d to your computer and use it in GitHub Desktop.
Save PierreZ/4aa0a48d62e367ef1d6369f8bf8c183d to your computer and use it in GitHub Desktop.
'' 'wtoken' STORE
'' 'rtoken' STORE
<'
["test{}"]
'>
JSON->
<%
PARSESELECTOR 'labels' STORE 'classname' STORE
[ $rtoken $classname $labels ] FIND SIZE 'size' STORE
<% $size 0 == %> <%
// Creating the GTS if it doesn't exists
NEWGTS $classname RENAME
$labels RELABEL
{ '.app' '' '.owner' '' } RELABEL // sanity checks
1 NaN NaN NaN 0 ADDVALUE
$wtoken UPDATE
%> IFT
%> FOREACH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment