Skip to content

Instantly share code, notes, and snippets.

@jeffanthony
jeffanthony / gitlab-rocketchat.hooks.js
Created January 28, 2017 01:06 — forked from malko/gitlab-rocketchat.hooks.js
Gitlab / Rocketchat intégration
/*jshint esnext:true*/
// see https://gitlab.com/help/web_hooks/web_hooks for full json posted by GitLab
const NOTIF_COLOR = '#6498CC';
const refParser = (ref) => ref.replace(/^.*?([^\/]+)$/,'$1');
class Script {
process_incoming_request({request}) {
try {
switch(request.headers['x-gitlab-event']){
case 'Push Hook':

Keybase proof

I hereby claim:

  • I am jeffanthony on github.
  • I am jeffanthony (https://keybase.io/jeffanthony) on keybase.
  • I have a public key whose fingerprint is A12C 26BE 0971 2392 BB80 3586 CF5B 6DCE EFB5 E7BB

To claim this, I am signing this object:

@jeffanthony
jeffanthony / token.md
Created August 3, 2016 23:39 — forked from frozeman/token.md
Token proposal

Token

Methods

totalSupply

function totalSupply() constant returns (uint256 supply)

Get the total coin supply

@jeffanthony
jeffanthony / mist-develop.sh
Created April 23, 2016 02:40 — forked from tgerring/mist-develop.sh
Mist installation script for Ubuntu 14.04.2
#!/bin/bash
# Install base dependencies
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y git mercurial build-essential software-properties-common pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev
# Install Qt 5.4.1 packages (only required for Mist)
sudo add-apt-repository ppa:beineri/opt-qt541-trusty -y
sudo apt-get update
// proposal for overall architecture of the POI system
// by Johan, @resilience_me
// for an image of how the parts of the system fit together, see http://i.imgur.com/umgmBgk.png
// this is meant as a early draft of how the full system could work. parts of the draft might be production ready.
// this draft is meant to help spread the POI system concept, and to expand the number of people who invest attention in development
// contract depositGovernance: more or less finished