Save 101 hours a year with 5 simple shortcuts

Written by david.richard.holtz | Published 2018/03/26
Tech Story Tags: slack | productivity | tips-and-tricks | life-hacking | development

TLDRvia the TL;DR App

Simple Shortcuts

  1. SSH bash alias
  2. Spectacle window resizing
  3. Making GIF’s
  4. Clean Slack channel
  5. Make static HTML report

Time spent

1. ── SSH├────── 1 time a day├────── 5 minutes└────── 30.4166666667 hours annually

2. ── Window resize├────── 15 time a day├────── 30 seconds└────── 45.625 hours annually

3. ─ Making GIF’s├────── .2 time a day├────── 5 minutes└────── 6.08333333333 hours annually

4. ── Clean Slack channel├────── .2 time a day├────── 1 minute└────── 1.21666666667 hours annually

5. ── Make static HTML report├────── .2 time a day├────── 15 minutes└────── 18.25 hours annually

whats that add up to?

In : 30.4166666667 + 45.625 + 6.08333333333+ 1.21666666667+ 18.25Out: 101.5916666667

101.59 hours a year for just these 5 tasks

Python calculator used

def hours(n,t):return n * t

def hours_a_year(n,t):return hours(n,t) * 365.0

def time_wasted(n,t,what):string = 'you spend %s hours a year %s\'ing'return string % (hours_a_year(n,t) / 60.0, what)

1. SSH alias

Solution: Alias to reduce type time

In : time_wasted(1, 5, "SSH")Out: "you spend 30.4166666667 hours a year SSH'ing"

2. Spectacle

Solution: Hot keys for easy movement

In : time_wasted(15, .5, "window resizing")Out: "you spend 45.625 hours a year window resizing'ing"

3. Making GIF’s

Solution: bash function for screen recordings to gifs

In : time_wasted(.2, 5, "gif")Out: "you spend 6.08333333333 hours a year gif'ing"

Usage:

screen2gif /Users/davidholtz/Desktop/screen2gif-resize.mov

4. Clean Slack channel

Solution: node script for cleaning slack channel programatically

In : time_wasted(.2, 1, "slack clean")Out: "you spend 1.21666666667 hours a year slack clean'ing"

Often Slack channels get really messy — and in my case I often want to clear a channel out — but manual deleting each message takes forever.

5. Make static HTML report

Solution: Sublime package for building HTML files

In : time_wasted(.2, 15, "static website build")Out: "you spend 18.25 hours a year static website build'ing"

Using Sublime’s https://github.com/SublimeText-Markdown/MarkdownEditing

Example image from MarkdownEditing

Thanks for getting through this adventure with me. Please show support and 👏 (clap) for this article.

Remember you can clap up to 50 times, and clapping for this article would be really helpful in the Medium's algorithm.

Any support is greatly appreciated ❤️


Published by HackerNoon on 2018/03/26