Skip to content

Instantly share code, notes, and snippets.

View forkata's full-sized avatar

Chris Todorov forkata

View GitHub Profile
# stolen from http://blog.charlescy.com/blog/2013/08/26/pry-command-cheatsheet/
# who took it from Conrad Irwin's railsconf 2013 talk http://youtu.be/jDXsEzOHb2M
ls <Object> -- Show all of the available methods that can be called by an object
_ -- Last output
? <Object> -- Shows more information (doc) about an object, or method
cat <File> -- Display the content of a file
_file_ -- Represent the last file Pry touched
wtf? -- Print the stack trace, same as _ex_.backtrace
$ -- Show source, shortcut for show-source
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
stepping : 9
microcode : 0x15
cpu MHz : 1600.000
cache size : 6144 KB
physical id : 0
n <C-W>gf @<Plug>RailsTabFindptjump <C-R>=RubyCursorIdentifier()<CR>"<CR>)<CR>
n <C-W><C-F> *@:<C-U>exe <SNR>50_gf(v:count1,"\<C-W>\<C-F>",'split')<CR>"<CR>)<CR>
n <C-W>f @<Plug>RailsSplitFindlect <C-R>=RubyCursorIdentifier()<CR>"<CR>)<CR>
n <C-W>g} *@:<C-U>exe "ptjump <C-R>=RubyCursorIdenti
if exists('g:loaded_fzy')
finish
endif
let g:loaded_fzy = 1
command! FzyTag
\ :call fzy#execute(, 'tag')
command! FzyBuffer :call fzy#fzy_buffer()
@forkata
forkata / email.md
Last active July 18, 2017 05:29
Email

Email

Why is email still important?

Different types of email

  • Marketing
  • Transactional
    • Result of a user initiated action, order confirmation, password reset email etc.
  • Drip camp
  • Marketting emails initiated by some user action sent on a predetermined schedule
,
{
"identifier": "netsuite_1",
"options": "--queues=netsuite"
}