Skip to content
View show-express-routes-gulp-task.js
var app = require('../server/app.js').create()
var gulp = require('gulp');
var task = require('./index');
/*
Output all the routes that the app supports
*/
gulp.task('routes', function() {
View nested-fields-for-radios.patch
diff --git index.html index.html
index a65e625..30503cf 100644
--- index.html
+++ index.html
@@ -64,10 +64,20 @@
"field_options": {
"options": [{
"label": "Yes",
- "checked": false
+ "checked": false,
View net_led.erl
-module(net_led).
-export([start_light/0, switch/2, light/1, decouple/1]).
decouple(Light_Node) ->
{light, Light_Node} ! decouple,
io:format("Switch is decoupled~n", []).
switch(Light_Node, Action) ->
{light, Light_Node} ! {switch, self(), Action},
View Gemfile
@next_upgrade ||= false
source 'https://rubygems.org'
if @next_upgrade
gem 'rails', '5.0.0.beta3'
gem 'rails-controller-testing' # https://github.com/rails/rails-controller-testing
else
gem 'rails', '~> 4.2.5.1'
end
View speedtest-ifttt.sh
#!/usr/bin/env bash
###########################################################################
# Originally written by: Henrik Bengtsson, 2014
# https://github.com/HenrikBengtsson/speedtest-cli-extras
# Modified to use IFTTT by: Alasdair Allan, 2015
# License: GPL (>= 2.1) [http://www.gnu.org/licenses/gpl.html]
###########################################################################
# Character for separating values
# (commas are not safe, because some servers return speeds with commas)
View gist:01b437c601a2bf52b7f0
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
View neo4j-contact networks
:neo4j-version: 2.2
:author: Marcello Dalponte
:twitter: @m_dalp
## Contact networks
A contact network is one of the typologies of dynamic networks described in the famous paper of Holme and Saramäki[1].
A dynamic network is a mathematical representation of the evolution of the relationships between entities through graphs.
It's interesting to catch this dynamicity because describes the transitivity of the order of the interactions: if A meets B and after B meets C then A can transmit something to C but not the opposite; this is useful to study the spreading of informations or infections.
An interesting project that aims to collect this kind of data is Sociopatterns[2], where Cattuto and others developed a framework to collect contacts data from RFID sensors [3].
View neo4j_icij
= Graphing our way through the ICIJ offshore jurisdiction data
:neo4j-version: 2.0.0
:author: Maarten Hermans
:twitter: @hermansm
'''
== Introduction
In 2013 the http://www.icij.org[International Consortium of Investigative Journalism] (ICIJ) released a subset of the leaked dataset on offshore jurisdictions to the public. This dataset contains ownership information about companies created in 10 offshore jurisdictions including the British Virgin Islands, the Cook Islands and Singapore. It covers nearly 30 years until 2010.
View Credit Card Fraud Detection.adoc

Credit Card Fraud Detection

This interactive Neo4j graph tutorial covers a common credit card fraud detection scenario.


Something went wrong with that request. Please try again.