Gource is a software version control visualization tool.
Software projects are displayed by Gource as an animated tree with the root directory of the project at its centre. Directories appear as branches with files as leaves. Developers can be seen working on the tree at the times they contributed to the project.
This file contains 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
#!/usr/bin/env bash | |
# Use this one-liner to produce a JSON literal from the Git log: | |
git log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |
This file contains 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
# remgit.sh | |
# Creates a remote git repository from the current local directory | |
# Configuration | |
# Replace SSH_USERNAME, SSH_HOST, SSH_GIT_PATH with your details | |
USER=SSH_USERNAME | |
HOST=SSH_HOST | |
GIT_PATH=SSH_GIT_PATH | |
REPO=${PWD##*/} |
This file contains 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
package org.gephi.example; | |
import java.awt.Color; | |
import java.io.File; | |
import java.io.IOException; | |
import org.gephi.data.attributes.api.AttributeColumn; | |
import org.gephi.data.attributes.api.AttributeController; | |
import org.gephi.data.attributes.api.AttributeModel; | |
import org.gephi.filters.api.FilterController; | |
import org.gephi.filters.api.Query; |
This file contains 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
#!/usr/bin/env python | |
""" | |
mailmanToMBox.py: Inserts line feeds to create mbox format from Mailman Gzip'd | |
Text archives | |
Usage: ./to-mbox.py dir | |
Where dir is a directory containing .txt.gz files pulled from mailman Gzip'd Text | |
""" | |
import sys | |
import os | |
def makeMBox(fIn,fOut): |
This file contains 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
/* | |
Add the function to the public prototype : | |
*/ | |
sigma.publicPrototype.outDegreeToSize = function() { | |
this.iterNodes(function(node){ | |
node.size = node.outDegree; | |
}).draw(); | |
}; | |
/* |
This file contains 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
# Usage: ruby kickstarter_csv.rb output.csv | |
require 'rubygems' | |
require 'kickstarter' | |
LAST_REPORT_DATE = Date.parse("April 28, 2011") | |
FIELDS = [:name, :pledge_amount, :pledge_percent, :pledge_deadline, :owner] | |
def fetch_projects_for_category category, file |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# code originally from Michael Klier | |
# -- licensed unded CC-NC-SA | |
# http://www.splitbrain.org/blog/2010-12/12-from_scuttle_to_delicious | |
# | |
# 1. change username and password in urls below | |
# 2. change SCUTTLEDOMAIN to the domain of your scuttle site | |
This file contains 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
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.net.URISyntaxException; | |
import org.gephi.data.attributes.api.AttributeController; | |
import org.gephi.data.attributes.api.AttributeModel; | |
import org.gephi.filters.api.FilterController; | |
import org.gephi.graph.api.DirectedGraph; | |
import org.gephi.graph.api.Edge; |
This file contains 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
execfile("/your/path/to/videomaker.py") | |
videomaker( | |
ts_min=1352261778000, # "from" timestamp.. | |
ts_max=1352262378000, # .."to" timestamp | |
frames=20, # number of images in the video. eg 200 frames for a video at 20 frames per seconds = 10 seconds of video | |
output_prefix="/path/to/output/dir/frame_", # path where to write the png. images will be prefixed with "frame_" | |
output_format=".png" # you probably want to leave png here | |
) |
OlderNewer