After installing an instance of Kujua-Lite, it is fairly easy to administer access to it. This document will explain how.
- To ensure only members of the group 'organizationX' have access to an instance of kujua-lite.
(function (root, factory) { | |
if (typeof exports === 'object') { | |
module.exports = factory( require('FILLME_A'), require('FILLME_B'), require('FILLME_C')); | |
} else if (typeof define === 'function' && define.amd) { | |
define(['FILLME_A', 'FILLME_B', 'FILLME_C'],factory); | |
} else { | |
root.FILLME_GLOBAL_NAME = factory(root.FILLME_A, root.FILLME_B, root.FILLME_C); | |
} | |
}(this, function (FILLME_A, FILLME_B, FILLME_C) { |
// ==UserScript== | |
// @name TwitterLinks | |
// @namespace http://wiki.greasepot.net/examples | |
// @description Replace twitter short urls with expanded urls | |
// @match https://twitter.com/* | |
// ==/UserScript== | |
// $('a.twitter-timeline-link').each(function(item){ $(this).attr('href', $(this).data('expanded-url') ) }); | |
function fix() { |
{ | |
"_id": "redforms-rwp-6566", | |
"_rev": "2-bb45ce4405f0d49e329d1f4511ceb142", | |
"source": "redforms", | |
"target": "redforms-rwp-6566", | |
"continuous": true, | |
"create_target": true, | |
"doc_ids": [ | |
"_design/redforms" | |
], |
<script type="text/javascript"> | |
function load(){ | |
require(['js/app', 'jquery'], function (app, $) { | |
window.$ = $; | |
app.initialize(); | |
require(['js/libs/bootstrap'], function(ihatebs){}) | |
}); | |
} | |
function loadDev(){ | |
console.log('DEVELOPMENT MODE'); |
> git clone https://github.com/apache/couchdb.git | |
> cd couchdb/ | |
> git checkout -b 1994-merge-rcouch origin/1994-merge-rcouch | |
> make | |
> make check | |
---skipping logs, to around the failures ----- | |
oauth_users_db.js ... testing | |
oauth_users_db.js ... ok |
FROM ryanramage/pm2-git-alpine | |
# Add source files & deps | |
ADD . /var/www/ui-widgets | |
WORKDIR /var/www/ui-widgets | |
# Define mountable directories. | |
VOLUME ["/var/log/ui-widgets"] |
{ | |
"name": "example", | |
"version": "2.1.4", | |
"description": "Example docker", | |
"scripts": { | |
"start": "node bin/cli", | |
"docker-build": "rm -rf node_modules && npm i --production && ./node_modules/docker-build-run-push/docker-build", | |
"docker-run": "./node_modules/docker-build-run-push/docker-run", | |
"docker-push": "rm -rf node_modules && npm i && make build && npm prune && ./node_modules/docker-build-run-push/docker-push" | |
}, |
{ | |
"took": 9, | |
"timed_out": false, | |
"_shards": { | |
"total": 1, | |
"successful": 1, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 9063, |
#!/usr/bin/env node | |
const isPhone = require('is-phone') | |
const RtmClient = require('@slack/client').RtmClient | |
const MemoryDataStore = require('@slack/client').MemoryDataStore | |
const RTM_EVENTS = require('@slack/client').RTM_EVENTS | |
const token = process.env.SLACK_TOKEN || '' | |
const rtm = new RtmClient(token, { | |
logLevel: 'error', |