Skip to content

Instantly share code, notes, and snippets.

🌵
Birgleflickle

Jeff Doan jefffis

🌵
Birgleflickle
Block or report user

Report or block jefffis

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
@jefffis
jefffis / .txt
Created Nov 29, 2016
Audit Trumps Finacial Conflicts
View .txt
To: siggerudk@gao.gov, minellit@gao.gov
Subject: In support of Senator Elizabeth Warren's request for an audit of our incoming President Elect's finances
Body:
Greetings,
I'm writing in support of Senator Elizabeth Warren's request for an audit of our incoming President Elect's finances, to prohibit conflicts of interest that would prevent him from carrying out the responsibilities of the office without corrupt influence.
Thank you,
@jefffis
jefffis / dv-fullstory-gtm-injection.js
Last active Aug 11, 2018
FullStory GTM Injection
View dv-fullstory-gtm-injection.js
function dv_fullstory(segmentName) {
window['_fs_debug'] = false;
window['_fs_host'] = 'www.fullstory.com';
window['_fs_org'] = '1ZRXF';
window['_fs_namespace'] = 'FS';
(function(m,n,e,t,l,o,g,y){
if (e in m && m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'); return;}
g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[];
o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js';
@jefffis
jefffis / forms.html
Last active Mar 1, 2016
New Tradesy Form Markup & Attrs
View forms.html
<script>
var FormValidation = require('formValidation');
tradesyApp.page.formValidation = new FormValidation({el : foo});
// foo being whatever the page JS is already defining for attaching event listeners to
</script>
<div class="row" id="form-view">
<div class="form-wrapper">
@jefffis
jefffis / .markdown
Last active Sep 9, 2015
Why mobile-first emails
View .markdown

Websites went mobile-first years ago, it's time emails do too

  • anywhere from 50% to 60% of emails opened on mobile devices
  • our lists are probably 50% or so mobile
  • our email revenue is MORE THAN 50% from mobile
  • all this and our emails are not mobile-first
    • by this, I mean that when viewed on a mobile device, users still need to pinch and zoom to see the details of of said email

So what can we do?

  • single column layouts work wonders -- with some HTML markup trickery we can adjust these to be two/three+ columns on tablets & desktop email clients
@jefffis
jefffis / gist:da1a35aee4dc9cafd597
Last active Aug 29, 2015
Animations, interactions, and why we'd use 'em
View gist:da1a35aee4dc9cafd597

Animations, interactions, and why we'd use 'em

  • good animations you see, great animations you don’t
  • the best ones work at the subconscious level where you don’t even realize what happened, it just makes the UX better and more predictable/stable
  • they can provide guidance of what to do / where to click (think animated down arrow)
  • they can inform users of something happening to the UI (think form submit)
  • they can provide unexpected delight in the UI (think mailchimp’s email schedule animation, our checkmark growing when a purchase is made, or loving an item in Closets)
  • they can give our system a more polished, native-like feel (think toggling an iOS yes/no slider)
  • they can reduce confusion when a large change happens — instead of just hiding / showing content, animating it can help to add clarity in a UI and help reduce FUD for users
@jefffis
jefffis / gist:56ff4d892ef3bf59a86b
Last active Aug 29, 2015
Signup / Form flows for web UI examples
View gist:56ff4d892ef3bf59a86b
View gist:3509a6a9c0011309be52
<style>
#listrak-modal-wrap {
display: table;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
background: rgba(0,0,0,0.5);
height: 100%;
width: 100%;
View gist:f4143d1b2435972c50a3

Increase listing completion rate on web from 40% to 60% — final result was 43.48%

  • Even though I came in after the OKRs were done, I thought I could make a significant impact here.
  • This specific issue was something I mentioned while interviewing and had thought about before starting.
  • Oumar, Toledo and I worked (mostly Oumar) on adding in Draft Listings, as well as an autosave function while you are listing an item.
  • Toledo and I also created and sent an email last week to 50% of seller with drafts which resulted in Xk listings.
  • I only scored a 17%, but I still feel like this is a win for a few reasons: we built something that needed to be built, adds a lot of value, and with a bit more effort (on boarding / user messaging), can be hugely impactful to Q1 OKRs and most likely all OKRs going forward.

So I take from this that not hitting your target goal is definitely not failing, as long as what you are doing is adding tangible value.

@jefffis
jefffis / gist:a5536a7e4693eafbb9da
Created Feb 25, 2015
Forked from https://gist.github.com/ryangreenberg/869658 to make it work with pulling from current branch
View gist:a5536a7e4693eafbb9da
#!/bin/sh
# Shortcut for git pull origin [current_branch]
# Mnemonic: plb for "pull branch"
if git rev-parse --git-dir > /dev/null 2>&1 # Current directory is a git repository
then
# http://stackoverflow.com/questions/1593051/
branch_name="$(git symbolic-ref HEAD 2>/dev/null)" ||
branch_name="(unnamed branch)" # detached HEAD
branch_name=${branch_name##refs/heads/}
You can’t perform that action at this time.