Live data from Hacker News

Ask HN: Little hacks that make your life easier?

news.ycombinator.com

61–70 of 84 posts

Re: Ask HN: Little hacks that make your life easier?

#61
As someone who use git quite a lot, I have created a TON of aliases for it, so that I have to type very less. Sometimes, I have created bash functions as it needs to handle some logic too.

For example: gl (git log), gb (git branch), gr (git remote -v), gpom (git push origin master), gpuom (git pull origin master), gcam (git commit -a -m), gcaa (git commit --amend -a), gc / (git checkout -b https://github.com/$1), etc

Re: Ask HN: Little hacks that make your life easier?

#62
post #20

My shirt rack has three "zones". Clean clothes go in zone 1. When I take out a shirt, I put a special color hanger in its place. At night I hang up my shirt in the next zone, or chuck it in the hamper as appropriate. My memory for little stuff sucks, so this makes it easy to wear each one three times.

or wear a clean shirt every day. Just sayin.

And spend the better part your life ironing?

Re: Ask HN: Little hacks that make your life easier?

#63

As someone who use git quite a lot, I have created a TON of aliases for it, so that I have to type very less. Sometimes, I have created bash functions as it needs to handle some logic too. For example: gl (git log), gb (git branch), gr (git remote -v), gpom (git push origin master), gpuom (git pull origin master), gcam (git commit -a -m), gcaa (git commit --amend -a), gc / (git checkout -b https://github.com/$1 ), et…

I've very recently started adding all of it to a github repo. Very early version, but can be found at https://github.com/rushiagr/myutils/blob/master/aliasrc

Re: Ask HN: Little hacks that make your life easier?

#64
post #20

My shirt rack has three "zones". Clean clothes go in zone 1. When I take out a shirt, I put a special color hanger in its place. At night I hang up my shirt in the next zone, or chuck it in the hamper as appropriate. My memory for little stuff sucks, so this makes it easy to wear each one three times.

or wear a clean shirt every day. Just sayin.

A clean shirt on a clean body probably isn't gettin too dirty to wear after one or two wears.

Not washing clothes until they need to be washed is probably environmentally beneficial - saving all that water and energy.

Re: Ask HN: Little hacks that make your life easier?

#65

My credit card details are saved in my Gmail account because when I want to buy something online my wallet is usually in another room I feel the risk is low, I trust google enough and there's really no risk as a cardholder anyway

The risk is low, but if the issuing bank finds out that your CC details were stored online they'd refuse to cover you if you were hit by fraud.

Re: Ask HN: Little hacks that make your life easier?

#67

As someone who use git quite a lot, I have created a TON of aliases for it, so that I have to type very less. Sometimes, I have created bash functions as it needs to handle some logic too. For example: gl (git log), gb (git branch), gr (git remote -v), gpom (git push origin master), gpuom (git pull origin master), gcam (git commit -a -m), gcaa (git commit --amend -a), gc / (git checkout -b https://github.com/$1 ), et…

This is exactly what I did when we started our current project at work, on which we use Git. I also made aliases gl, gr, gb. gc means 'git commit -m' for me, and I have gco for 'git checkout', gcb for 'git checkout -b', gpod for 'git push origin develop' and gpud for 'git push upstream develop'. Made my life so much easier. :)

Re: Ask HN: Little hacks that make your life easier?

#68

Earlier quoted context omitted.

I really want to like LastPass, but I can't get over all of my passwords being stored on someone elses server. Doesn't that seem like a terrible security risk?

Well, this scares me: http://techcrunch.com/2014/07/11/lastpass-finds-security-hol... http://arstechnica.com/security/2014/07/severe-password-mana...

The LastPass vulnerabilities affected only bookmarklets (used by less than 1% of LP users, according to LP) and OTPs (no estimates for use).

I've been using LP for over a year, didn't know either feature existed until the disclosure: I use it strictly for its main capability, encrypted and unique site passwords.

Re: Ask HN: Little hacks that make your life easier?

#69

A common one, but undeniably useful: find a type of sock you like, buy a bunch of them, then throw out or donate your old ones. Then never sort those socks again.

I've done this with all of my shirts, pants/shorts, and briefs as well.

Re: Ask HN: Little hacks that make your life easier?

#70

I am terrible at remembering things, so for parts of my daily routine, I will just remember the number of things I need to grab/do, rather than the things themselves. For example, there are 9 things I need to put in my gym bag when I pack it before going to the gym/work. Remembering that there are 9 things is much easier for me than remembering that list of 9 things, so I can just count as I'm packing and know when I…

Why wouldn't you just keep a list in your bag?
Post reply on HN