Skip to content

Instantly share code, notes, and snippets.

View robtarr's full-sized avatar

Rob Tarr robtarr

View GitHub Profile
@rcdilorenzo
rcdilorenzo / change-harvest-format.md
Created November 13, 2017 16:54
Change format for newer (2017) Harvest installs from the App Store

To read your settings, run:

defaults read ~/Library/Containers/com.getharvest.harvestxapp/Data/Library/Preferences/group.com.getharvest.Harvest.Documents.plist

To change the time format to HH:MM, run

defaults write ~/Library/Containers/com.getharvest.harvestxapp/Data/Library/Preferences/group.com.getharvest.Harvest.Documents.plist TimeFormat hours_minutes

Restart the Harvest App, and it should now display HH:MM (I tested this)

Demo: http://dashing-github-issues.herokuapp.com/

This will give you a way to display a Dashing graph widget with a sub-set of github issues. Built on top of the graph widget and jwalton's github milestone widget.

To use:

  • Add the following to your gemfile:
  •   gem 'rest-client'
    
@mr-deamon
mr-deamon / Fridaybeer.md
Last active April 6, 2022 21:54
Fridaybeer for Dashing

#FridayBeer for Dashing ##Description Show your need for a friday-afternoon beer to your office-mates. ##Usage

  1. Download Gist
  2. Add Widget to your Dashboard:
<li data-row="1" data-col="1" data-sizex="8" data-sizey="6" style="z-index: 99999999">
  <div data-id="beer" data-view="Fridaybeer"></div>
@neilrenicker
neilrenicker / sublime-key-bindings.sublime-keymap
Last active December 27, 2015 13:49
Simple key bindings for multiple panes in Sublime Text 2
[
//** CUSTOM SET_LAYOUT BINDINGS **//
{
"keys": ["super+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.33, 1.0],
@mutewinter
mutewinter / gifify.sh
Last active December 25, 2015 12:29 — forked from SlexAxton/.zshrc
# Sweet Gif Creation from .mov
#
# Adapted from https://gist.github.com/SlexAxton/4989674
gifify() {
if [[ -n "$1" ]]; then
GIF="${1%.*}.gif"
if [[ $2 == '--bad' ]]; then
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $GIF
else
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
@dgehrett
dgehrett / LICENSE
Last active August 18, 2016 14:10
Source code for a Code Climate Dashing widget for use with the Shopify Dashing framework (https://github.com/Shopify/dashing). It shows a single repository's GPA. See more widgets we've made at https://github.com/Homefinder/dashing-widgets
The MIT License (MIT)
Copyright (c) 2013 HomeFinder.com
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:
@toddq
toddq / README.md
Last active May 15, 2021 13:37 — forked from mjamieson/README.md
@pfulton
pfulton / headings-helpers.css
Created February 13, 2013 21:40
Compass has a "headings" helper, but based on the docs, figuring out the syntax for it is a little difficult. Here's a quick example of the SCSS and its compiled result. This comes in handy more often than you'd think ;-)
h1, h2, h3, h4, h5, h6 {
text-transform: uppercase;
}
h1, h2, h3 {
font-family: Arial;
font-weight: bold;
margin-bottom: 0.35em;
color: #474747;
}
@max-mapper
max-mapper / helloworld.js
Created November 27, 2012 06:55
droneduino
var serialport = require('node-serialport')
var sp = new serialport.SerialPort("/dev/ttyO3", {
parser: serialport.parsers.raw,
baud: 9600
})
sp.on('data', function(chunk) {
console.log(chunk.toString('hex'), chunk.toString(), chunk)
})