Skip to content

Instantly share code, notes, and snippets.

var TimeKnots = {
draw: function(id, events, options){
var cfg = {
width: 600,
height: 200,
radius: 10,
lineWidth: 2,
color: "#999",
background: "#FFF",
@mrdon
mrdon / gist:4527683
Created January 14, 2013 04:03
Restore git directory for heroku builds
<build>
....
<profiles>
<profile>
<id>git</id>
<activation>
<file>
<missing>${basedir}/.git</missing>
</file>
</activation>
@mrdon
mrdon / cl.sh
Created May 19, 2010 06:32
Prints a changelog in wiki format from git assuming an svn backend
#!/bin/bash
if [ "$1" == "--help" -o $# -lt 3 ]; then
echo "Usage: cl.sh STUDIO_PROJECT_KEY TAG_OLD TAG_NEW"
echo ""
echo "This command is meant to be ran in a git repository pointing at a remote svn repo"
exit 1
fi
oldtag=$2
#!/bin/sh
# This script creates a parent pom for all listed modules, allowing you to open them up in IDEA
# in one go and have IDEA automatically link up dependencies
if [ "$1" == "--help" -o $# -lt 2 ]; then
echo "Usage: wksp.sh WORKSPACE_NAME MODULE_NAME..."
echo ""
echo "This command is meant to be ran from the root directory for all projects"
exit 1
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated from archetype; please customize.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated from archetype; please customize.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated from archetype; please customize.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated from archetype; please customize.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated from archetype; please customize.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>