Skip to content

Instantly share code, notes, and snippets.

View FriedSock's full-sized avatar
🏔️
Working from mountain top

Jack Bracewell FriedSock

🏔️
Working from mountain top
  • United Kingdom
View GitHub Profile

Smartdown/smart-answers tech-debt and potential improvements

Testing and confidence

  • Enforce unique flow name between Smartdown/SA
  • Smartdown lint/validate
    • Check all ref'd nodes exist
    • Check no orphan nodes
    • Run in SA CI
  • Smartdown Scenarios
  • Feature flag to disable artefact lookup
@FriedSock
FriedSock / Whitespace.vim
Created November 20, 2013 22:23
For craig
""""""""""""""""""""""""""""""""""""""""
" STRIP TRAILING WHITESPACE ON FILE SAVE
""""""""""""""""""""""""""""""""""""""""
function! <SID>StripTrailingWhitespaces()
" Preparation: save last search, and cursor position.
let _s=@/
let l = line(".")
let c = col(".")
" Do the business: