Skip to content

Instantly share code, notes, and snippets.

Jake Holman jakeisonline

Block or report user

Report or block jakeisonline

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
View zenbox.js
// IE6+SSL fix courtesy of http://www.tribalogic.net/
;(function(window) {
// Zendesk Feedback Tab version 2.6
// Most of the assets are from version 2.1. There is a slight difference
// in the markup inside the feedback tab and some changes to the CSS for
// that markup.
// v.26: Reverts 2.5 and adds structure for future language support.
var document = window.document,
urlWithScheme = /^([a-zA-Z]+:)?\/\//,
@jakeisonline
jakeisonline / createAndDestroyOrganizations.js
Last active Aug 29, 2015
CREATE MANY ORGANIZATIONS & ORGANIZATION MEMBERSHIPS, THEN REMOVE THEM
View createAndDestroyOrganizations.js
/*
# CREATE MANY ORGANIZATIONS & ORGANIZATION MEMBERSHIPS, THEN REMOVE THEM
Copy and paste this entire snippet into your browser's JS console, while within
/agent and authenticated as an admin. Account must have multi-org feature.
jQuery is required, because lazy.
USAGE: createManyOrgsAndMemberships(userId, numOrganizations, orgNamePrefix)
View gist:50de1f15c7470be5acf5
var drops = 'Selected drops: \n\n';
$("#recent-drops #listing li section input:checked")
.each(function(i, elem) {
var href = $(elem).parent().parent().find(".type a").prop('href');
drops += href + "\n";
});
console.log(drops);
@jakeisonline
jakeisonline / jira-copy-stories.js
Last active May 1, 2019
Outputs selected story URLs and their titles to the JS console for easy copy and paste
View jira-copy-stories.js
var stories = 'Selected stories: \n\n';
jQuery("#ghx-content-group .ghx-selected")
.each(function(i, elem) {
var href = jQuery(elem).find(".ghx-end a").prop('href'),
title = jQuery(elem).find(".ghx-summary").text(),
type = jQuery(elem).find(".ghx-type").prop('title');
stories += '[' + type + '] ' + title + "\n" + href + "\n\n";
});
@jakeisonline
jakeisonline / gist:11224839
Created Apr 23, 2014
Warning label for forum articles
View gist:11224839
<div style="padding: 5px 8px; background-color: #e28282; border: 1px solid #b62929; border-radius: 6px; margin: 0 0 15px 0;"><strong>NOT RELEASED YET!</strong> These release notes are draft until the planned release on Tuesday, March 18th (v1.75.0)</div>
<p></p>
@jakeisonline
jakeisonline / gist:8748593
Last active Nov 30, 2016
Provide a running total column in Chase's online credit card "Account Activity" screen
View gist:8748593
var total = 0;
// Add in the "running" column header
$("#Posted th.amount").after('<th name="Amount" class="running header"><span class="under"><a href="#" title="Sort by Running" tabindex="97">Running</a></span></th>');
// Expand colspan, which in turn adds the little dotted line below each row
$("#Posted .card-activity tr.detail td").prop('colspan', 8);
// Get all the amounts, then reverse them
$($("#Posted td.amount").get().reverse()).each(function() {
var amountAsString = $(this).text().replace('$', '');
@jakeisonline
jakeisonline / gist:5103023
Last active Dec 14, 2015
Using Markdown to link the Google logo to the Google website
View gist:5103023
[![](https://www.google.com/images/srpr/logo4w.png)](www.google.com)
@jakeisonline
jakeisonline / seamless-tipper.js
Last active Dec 13, 2015
Seamless: Display the tip percentage within the tip amount drop down during ordering
View seamless-tipper.js
/*
Use as you wish!
This little snippet will add in the tip percentage to the tip
amount dropdown on Seamless.com - meaning each option will look
something like "$3.20 (13%)" making tip selection a no brainer.
You can also see the result here: http://cl.ly/image/2h0j411s372a
*/
View gist:4171885
<div>
<h3>{{setting "name"}} <span class="logo"></span></h3>
</div>
<hr/>
@jakeisonline
jakeisonline / app.js
Created Apr 23, 2012
[Zendesk] Snippets for Lotus landing Page
View app.js
(function() {
return ZendeskApps.defineApp(ZendeskApps.Site.TICKET_PROPERTIES, {
appID: '/apps/01-highrise/versions/1.0.0',
name: 'Highrise',
defaultSheet: 'loading',
dependencies: {
currentTicketID: 'workspace.ticket.id',
You can’t perform that action at this time.