Skip to content

Instantly share code, notes, and snippets.

View digideskio's full-sized avatar

airbender digideskio

View GitHub Profile
@digideskio
digideskio / sms-for-free.md
Created September 24, 2015 06:51 — forked from coolaj86/sms-for-free.md
Send text messages for free via email via xminder cell phone carrier lookup
@digideskio
digideskio / server.md
Created October 11, 2015 22:12 — forked from tmcw/server.md
Boot up a quick development server

Booting Up A Development Server

Open a console. Terminal.app on Macs, your shell or whatever on PCs.

Python is easiest:

python -m SimpleHTTPServer 8000

Then go to http://localhost:8000/ in a web browser.

@digideskio
digideskio / cricinfo
Created November 5, 2015 00:11 — forked from tachyons/cricinfo
cricinfo status in your desktop
#!/usr/bin/env ruby
require 'date'
require 'rubygems'
require 'libnotify'
require 'net/http'
require 'rexml/document'
require 'xmlsimple'
def every( time )
Thread.new {
loop do
@digideskio
digideskio / index.html
Created November 5, 2015 23:56 — forked from mbostock/.block
Monocomb
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
background: #000;
}
</style>
@digideskio
digideskio / typify.js
Created November 7, 2015 06:10
typify
var typify = require("typify");
function checklog(type, v, expected) {
var result = typify.check(type,v);
if (result !== expected) {
console.error(type, v, result, expected);
}
}
var aNumber = 123;
@digideskio
digideskio / README.md
Created November 9, 2015 09:13 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@digideskio
digideskio / gist:78711e834a571e9ce8e4
Created December 23, 2015 23:25 — forked from praswicaksono/gist:dac438e1f501fae0917b
AfterLogic Webmail Pro + Aurora Keygen
<?php
Class Keygen {
private $serial;
private function randChar($length = 8) {
$characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$string = '';
for ($p = 0; $p < $length; $p++) {
@digideskio
digideskio / strike.probe.r
Created December 24, 2015 07:50
strike behavioral analysis, force analysis
## strike.probe.r
## a software for the analysis of strike data obtained from mantis shrimp
## https://gist.github.com/4180275
library(R.matlab)
library(lattice)
library(timsac)
library(ggplot2)
working.dir <- "~/Dropbox/Analysis2/R_programming/strike_probe"
@digideskio
digideskio / gist:7afe61ba088b0b972d0c
Created December 24, 2015 07:52 — forked from kagaya/gist:3802904
Automatic Recording of Force Data
function ForceData=autorec(duration, strikeThreshold, rewardThreshold)
%% DISCRIPTION
% This program automatically records foce data by detecting rising phase of
% the voltage change and it produce digital output whether the peak of the
% voltage above a threshold. The condition of output can be customized.
%% HOW TO USE
% The termination of this program is tricky. Please press "Ctrl - c" to
% quit the program and after that, command "daqreset" in the MATLAB prompt.

Github Events Analysis with Neo4j

Imgur

On July 22, Github announced the 3rd Annual Github Data Challenge presenting multiple sources of data available.

This sounded to me a good opportunity to use their available data and import it in Neo4j in order to have a lot of fun at analyzing the data that fits naturally in a graph.

As I work mainly offline or behind military proxies that do not permit me to use the ReST API, I decided to go for the Github Archive available here, you can then download json files representing Github Events on a daily/hour basis.