Master the art of setting your limits with concrete tools and code to automate your personal tracking.