Live data from Hacker News

Ask HN: Programs that saved you 100 hours?

news.ycombinator.com

211–220 of 531 posts

Re: Ask HN: Programs that saved you 100 hours?

#212
post #79

total commander .. orthodox file manager, I dont understand why this is not a built-in file manager for any os. I just want to find and organize stuff, I dont want to manage windows.

Any advantages over midnight commander of FAR commander?

A tons of features including multitabs, directory/file compare, auto zip, built-in ftp connections and plugins, for everything.

Re: Ask HN: Programs that saved you 100 hours?

#213

Docker for local dev environments. Easily 100s of hours saved from needless tinkering to get n services × packages working in harmony, all to have to do it again 3 months later after an OS update.

I wonder what OS and stack you are programming that an OS update can break your dev env?

I use Ubuntu as my daily driver and apt packages are updated when upgrading versions. For example moving from 14.04 to 16.04 with `do-release-upgrade` made the default PHP version move from php5 to php7.

Re: Ask HN: Programs that saved you 100 hours?

#214

The Z command line utility has saved me a ton of time. It remembers the directories you’ve visited and lets you jump to them with just a few characters. Almost like Chrome’s autocomplete for recently-visited directories (if you’re used to being able to type “g” to go to gmail or “n” for “news.ycombinator.com”...). For instance I can run “z B” and it’ll jump to my ~/Business directory (and “z ss” would do the same). h…

I prefer my own kd, which is 40 dead simple LOCs of shell and is predictable since it operates only on dirs you added (which sounds like a chore but is just fine in practice)

    kd foo $PWD  # stores as foo
    kd f         # jumps to foo
    kd           # in a Ruby project subdir, jumps up to where the Gemfile is
https://github.com/lloeki/dotfiles/blob/master/shell/kd

Re: Ask HN: Programs that saved you 100 hours?

#215
post #202

Using vim as my main editor has incredibly increased my productivity, but learning to use it's macros saved me even a more tremendous amount of time. It takes a while to learn to use it, but after that any kind of repetitive task can be done easily with it. And if combined with some bash and vimscript knowledge, it is even greater.

I love vim and have been using it for years. However, I really struggle to find a good config for writing typescript. I see my VSCode colleagues having a blast with auto completion and type signatures lookups. But I could never get this right in vim.

Is there a resource about state of the art typescript with vim?

Re: Ask HN: Programs that saved you 100 hours?

#217
File watchers that rebuild a project when code changes are made. Lots of language SDKs come with these built-in, for those that don't I have found that the `chokidar-cli` npm package can be paired with a shell script to add auto-rebuild to pretty much any project in any language.

Re: Ask HN: Programs that saved you 100 hours?

#218
post #145

1) Any terminal that you can summon/dismiss with a global hotkey. Examples are Guake for Linux and iTerm2 for OSX. I consider this a must-have for all developers. 2) Anything that lets you resize/place windows with hotkeys. For example, Divvy for OSX. Divvy is also nice because if you press the hotkey multiple times, it cycles the application through each of your monitors. No need to ever use your mouse to move/resiz…

> 1) Any terminal that you can summon/dismiss with a global hotkey. Examples are Guake for Linux and iTerm2 for OSX. I consider this a must-have for all developers. Years ago I saw someone using this (I think it was actually Yakuake) and ran it for a bit. I really didn't like that it was a single session. However, I later messed around with tiling window managers (which relates to your #2!) and having a shortcut to p…

when you summon the terminal do you first then need to `cd` into the directory you need?
Post reply on HN