Skip to content

Instantly share code, notes, and snippets.

Graeme West capncodewash

  • Glasgow
Block or report user

Report or block capncodewash

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
calclavia / gist:60b30c497adce5587f70
Last active Jan 23, 2019 — forked from RX14/gist:6e04cd9fc71c52191def
Create property file with Gradle
View gist:60b30c497adce5587f70
def propertyFile = file "src/main/resources/META-INF/"
def props = new Properties()
propertyFile.withReader { props.load(it) }
props.setProperty("version", project.version)
propertyFile.withWriter { }
joepadmiraal /
Last active Aug 22, 2018
Jenkins build status widget for Dashing

The MIT License (MIT)

Copyright (c) 2014 David Underwood

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

christiangalsterer /
Last active Nov 5, 2019
Atlassian Jira: Number of issues in a Jira Query Language (JQL) search


A Dashing widget to display the number of issues returned by a Jira Query Language (JQL) search. The number of issues will be displayed using the Numbers widget. This widget is a generalized version of the Atlassian Jira: Number of issues in a Jira filter query widget, which shows the number of issues for saved Jira filter.


The following dependencies are required. Please add them to your dashing gemfile.

gem 'jira-ruby', :require => 'jira'
mtowers /
Last active Apr 20, 2019
Google Analytics Website Visitor Count Widget for Dashing with OAuth2 Authentication
gregology / dashboard
Last active Jun 3, 2019
Service script for dashing. Update DASHING_DIR variable, add this file to /etc/init.d/ , chmod to 755, and let update rc.d with $ sudo update-rc.d dashboard defaults This scripts stops the dashing service with "killall thin" which will kill all thin services running on your server.
View dashboard
# Dashing service
# Add this file to /etc/init.d/
# $ sudo cp dashboard /etc/init.d/
# Update variables DASHING_DIR, GEM_HOME, & PATH to suit your installation
# $ sudo nano /etc/init.d/dashboard
# Make executable
# $ sudo chmod 755 /etc/init.d/dashboard
# Update rc.d
# $ sudo update-rc.d dashboard defaults
coderoshi / gist:3729593
Last active Jun 19, 2019
A Very Short Guide to Writing Guides
View gist:3729593

A Very Short Guide to Writing Guides

This is just a few thoughts on the topic of writing technical guides. This was intended for Basho's engineering team, but this may apply to open source projects in general.


It's commonly preached that the first step in writing is to identify your audience; to whom are you writing? This is the most well known, most repeated, and most overlooked step of writing in general and technical writing in particular. Take this document, for example. My audience is technical people who need to communicate technical information, and not teen girls, so I shy away from images of pop icons riding unicorns. I use jargon and words like "identify" rather than "peep this".


juanje / gist:2558286
Created Apr 30, 2012
Simple Vagrantfile for testign Django with Chef-solo
View gist:2558286 do |config|
# Every Vagrant virtual environment requires a box to build off of. = "base"
# Assing IP to the VM :hostonly, ""
# Share directory between the host and the VM
config.vm.share_folder "git","/opt/git","/home/anarey/git/djandoapps"
myobie / mountain-lion-brew-setup.markdown
Created Feb 18, 2012
Get Mountain Lion and Homebrew to Be Happy
View mountain-lion-brew-setup.markdown

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from the App Store.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

dex4er / xsd-merge.xslt
Created Nov 21, 2011
XSLT tools for XSD and WSDL schemas
View xsd-merge.xslt
<?xml version="1.0"?>
<xsl:stylesheet version="2.0"
<xsl:output version="1.0" encoding="utf-8" indent="yes" name="xml" />
<xsl:template match="/">
<xsl:apply-templates />
smgoller / gist:1171102
Created Aug 25, 2011 — forked from mhinze/gist:123732
git svn workflow
View gist:1171102
# adapted from
# initial setup
git svn clone <svn_repo>
# begin the workflow
git svn fetch -r HEAD --ignore-paths="" # aliased to 'git up', my is very large.
git svn rebase -l # we just updated, no need to go back to the svn repo
# 99% of daily workflow
You can’t perform that action at this time.