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
#!/bin/sh | |
# | |
# Will append the current Lighthouse ticket number to the commit message automatically | |
# when you use the ticket###-ticket-name branch naming convention (e.g. 206-fix-widget). | |
# | |
# Drop into .git/hooks/commit-msg | |
# chmod +x .git/hooks/commit-msg | |
exec < /dev/tty |
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
// https://gist.github.com/1096291 | |
;(function ($) { | |
$.fn.truncateLines = function(options) { | |
options = $.extend($.fn.truncateLines.defaults, options); | |
return this.each(function(index, container) { | |
container = $(container); | |
var containerLineHeight = Math.ceil(parseFloat(container.css('line-height'))); |
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
window.fluid.dockBadge = ''; | |
setTimeout(updateDockBadge, 1000); | |
setTimeout(updateDockBadge, 3000); | |
setInterval(updateDockBadge, 5000); | |
function updateDockBadge() { | |
var navigation = document.querySelector('[role=navigation]'); | |
var doc = navigation.contentDocument || navigation.ownerDocument; |
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
// | |
// JTSSwiftTweener.swift | |
// JTSSwiftTweener | |
// | |
// Created by Joshua Sullivan on 12/10/16. | |
// Copyright © 2016 Josh Sullivan. All rights reserved. | |
// | |
import UIKit |