Skip to content

Instantly share code, notes, and snippets.

View huug's full-sized avatar

Hugues Huygens huug

View GitHub Profile
@christiangalsterer
christiangalsterer / README.md
Last active May 12, 2023 14:20
Dashing Jira Agile Sprint Remaining Widget
@tomeara
tomeara / inline_svg_helper.rb
Last active October 25, 2019 13:01
Inline SVG for Rails
# Put this method in your helper file to render inline SVG
def inline_svg(path)
file = File.open("app/assets/images/#{path}", "rb")
raw file.read
end
@melekes
melekes / README.md
Created August 30, 2013 16:06
Test coverage Dashing widget

Test coverage

Test coverage

Description

Dashing widget to display test coverage.

The widget is based on JenkinsBuild, which shows you a completion percentage while Jenkins builds the project and zero in other cases. Actually, if you think about it, build takes only a small amount of time (of course, if your project is not building for half an hour). So we decided to find a more reasonable use of this state and show percentage of test coverage.

@mtowers
mtowers / README.md
Last active February 24, 2022 17:19
Google Analytics Website Visitor Count Widget for Dashing with OAuth2 Authentication
@EHadoux
EHadoux / Readme.md
Last active May 18, 2016 10:07
Sonar Widget for Dashing

Description

This is a dashing widget intended to show metrics from a sonar repository.

Usage

This widget currently uses the list widget as a view. You just have to add this snippet to your dashboard:

Using better_errors on Ubuntu with SublimeText 2

After I installed the fantastic better_errors gem, I was disappointed to notice that linking to your text editor doesn't work correctly on Ubuntu (at least, it didn't for me). Here's how I fixed it.

First, create a new desktop entry:

# /usr/share/applications/subl-urlhandler.desktop
@ngauthier
ngauthier / README.md
Created November 27, 2012 16:05
Rdio on Linux
@theirishpenguin
theirishpenguin / irssi-libnotify-plugin-ubuntu-installer.sh
Created October 11, 2012 13:46
irssi libnotify installer for ubuntu
#!/bin/bash
# This is a wrapped up version of the instructions at
# http://code.google.com/p/irssi-libnotify/wiki/MainPage for ubuntu
#
# Usage: Just run this script from the command line with no arguments
#
# Tested on Ubuntu 12.04.1 (64 bit)
echo ""
@rnikitin
rnikitin / glyphicons.css
Created August 6, 2012 12:48
Glypth icons css sprite
[class^="glyphicon-"], [class*=" glyphicon-"] {
display: inline-block;
*margin-right: .3em;
line- vertical-align: text-top;
background-image: url("images/glyphicons-2.png");
background-position: 14px 14px;
background-repeat: no-repeat;
width: 14px;
height: 14px;
}
@kevinelliott
kevinelliott / osx-10.9-setup.md
Last active November 6, 2020 14:19
Clean Install – Mac OS X 10.9 Mavericks

Mac OS X 10.9 Mavericks

Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store