Skip to content

Instantly share code, notes, and snippets.

@cdwills
cdwills / z_embed.js
Created June 20, 2011 21:56
Snippet for Zendesk Integration
if (window.ticket_id != undefined) {
recorder.addCustomData("Ticket", window.ticket_id);
} else if (window.location.pathname.match(/\/requests\/\d+$/) && window.ticket_id === undefined){
recorder.addCustomData("Ticket", window.location.pathname.split('/')[2];
}
HARK
Hark_Server: - ELIXIR w/Phoenix
- REST Endpoint for Submitting Tracks
- { source_url: "", track_url: "", date_time: "", client: chrome|manual }
- Channel for client to receive new tracks, play tracks, favorite, or ditch
- Can use PostgresSQL initially, but real fun would be with RethinkDB
Hark_Chrome: Chrome Extension
- Simple extension that initially just submits the page to the endpoint
### Keybase proof
I hereby claim:
* I am cdwills on github.
* I am cdwills (https://keybase.io/cdwills) on keybase.
* I have a public key ASDteS1eOJecPCkpQua7kNTTALXEGrKDFnKHNavhlWXXbwo
To claim this, I am signing this object:
" VIM REDUX 2018
set nocompatible
call plug#begin('~/.local/share/nvim/plugged')
" Plug 'hail2u/vim-css3-syntax'
" brew install fzf
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'