Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
22 posts Page 3 of 3
Getting some random chars:

Code: Select all
// Returns random char from regular non-UTF8 latin set
<cms:call 'random_char'  />

// Returns '+' or '-'
<cms:call 'random_sign' />

// Returns a single digit from '0' to '9'
<cms:call 'random_digit' />
Full list of functions will be listed and updated (and new added) in Github repo soon.
22 posts Page 3 of 3