Skip to content

Instantly share code, notes, and snippets.

View floofydugong's full-sized avatar

John Huynh floofydugong

View GitHub Profile
CASE
WHEN t.calltype = 'Inbound' AND t.type = 'Inbound' THEN 'Call'
WHEN t.calltype = 'Inbound' AND t.type IS NULL AND t.calldurationinseconds >= 90 THEN 'Conversation'
WHEN t.calltype = 'Outbound' AND t.type IS NULL AND t.calldurationinseconds >= 90 THEN 'Conversation'
WHEN t.type IS NOT NULL THEN t.type
ELSE 'Call'
END AS SALESFORCE_TaskTypeImputed
@floofydugong
floofydugong / .block
Created October 18, 2016 00:24
merging selections
license: mit
@floofydugong
floofydugong / .block
Last active October 21, 2016 15:44
Visfest - Intro to D3.js
license: mit
@floofydugong
floofydugong / .block
Last active October 19, 2016 16:59
General Update Pattern, I
license: gpl-3.0
@floofydugong
floofydugong / .block
Last active October 19, 2016 16:56
Multi-Series Line Chart
license: gpl-3.0
@floofydugong
floofydugong / .block
Last active October 19, 2016 16:51
Bar Chart I (Practice)
license:
@floofydugong
floofydugong / .block
Last active August 21, 2016 06:28
Interactive Scatter Plot/Legend
license: gpl-3.0
@floofydugong
floofydugong / bash-cheatsheet.sh
Created June 3, 2016 04:54 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04