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
{ | |
"lang":"EN", | |
"actionpage":"2", | |
"filename":"proca.foundation", | |
"organisation":"Organisation name", | |
"journey":["register","share"], | |
"register":{ | |
"fields":{ // we have a default set of what's mandatory or not, these are about overwriting it | |
"lastname":{"mandatory":true}, | |
"firstname":{"display":false}, |
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
### Keybase proof | |
I hereby claim: | |
* I am tttp on github. | |
* I am xav (https://keybase.io/xav) on keybase. | |
* I have a public key whose fingerprint is 5A81 2C3E 2FCB 9082 EF53 6D58 9217 937D EFD3 A6F7 | |
To claim this, I am signing this object: |
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
<script> | |
var socket = io.connect('http://localhost'); | |
socket.on('bot', function (data) { | |
var id = data.id || "result"; | |
var reply = data.text || data; | |
if (data.id) { | |
$('#'+id).append("<div class='alert alert-success'>"+reply+"</div>"); | |
$("#cmd").val(""); | |
} else | |
$('#result').prepend("<div class='alert alert-success'>"+reply+"</div>"); |
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
With 0.6 | |
info: Creating snapshot 0.0.1-5 | |
info: Updating app civibot | |
info: Activating snapshot 0.0.1-5 for civibot | |
info: Starting app civibot | |
error: Error running command deploy | |
error: socket hang up | |
error: Error: socket hang up | |
error: at createHangUpError (http.js:1253:15) |
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
var ldap = require('ldapjs'); | |
//var argv = require('optimist').argv; | |
//console.log('(%d,%d)', argv.x, argv.y); | |
var settings = require('./settings'); | |
//console.log(settings); | |
var request = require('request'); | |
var server = ldap.createServer(); |
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
<?php | |
/** | |
* File for the CiviCRM APIv3 API wrapper | |
* | |
* @package CiviCRM_APIv3 | |
* @subpackage API | |
* | |
* @copyright CiviCRM LLC (c) 2004-2011 | |
* @version $Id: api.php 30486 2010-11-02 16:12:09Z shot $ |
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
<?php | |
/** | |
* File for the CiviCRM APIv3 API wrapper | |
* | |
* @package CiviCRM_APIv3 | |
* @subpackage API | |
* | |
* @copyright CiviCRM LLC (c) 2004-2011 | |
* @version $Id: api.php 30486 2010-11-02 16:12:09Z shot $ |
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
<?php | |
/* | |
/*this demonstrates the usage of chained api functions. A variety of return formats are used. Note that no notes | |
*custom fields or memberships exist | |
*/ | |
function contact_get_example(){ | |
$params = array( |
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
<?php | |
/* | |
/*this demonstrates the usage of chained api functions. A variety of return formats are used. Note that no notes | |
*custom fields or memberships exist | |
*/ | |
function contact_get_example(){ | |
$params = array( |
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
<?php | |
function civicrm_timetracker_views_data() { | |
$data['civicrm_case'] = array( | |
'table' => array( | |
'group' => 'CiviCRM Case', | |
'title' => 'civicrm_case', | |
'join' => array( |
NewerOlder