Live data from Hacker News

GitHub Secrets

github.com

1–10 of 16 posts

Re: GitHub Secrets

#4
I love this concept: "There's also a slew of other shortcut keys you can use, depending on the page- just hit ? to see them."

Please, let this become a standard for every website, that '?' brings up a list of shortcut keys.

Edit: It works in Gmail!

Re: GitHub Secrets

#5
post #3
post #2

So glad to see ignoring whitespace supported, I found myself needing this a lot.

I learned recently that you can also do this on the command-line with "git diff -b"

On an related note - another nice diff flag I discovered recently is "git diff --word-diff" - which will as the name suggests, diff by word instead of line.

Re: GitHub Secrets

#6
post #3
post #2

So glad to see ignoring whitespace supported, I found myself needing this a lot.

I learned recently that you can also do this on the command-line with "git diff -b"

GNU diff supports -b (--ignore-space-change) and -B (--ignore-blank-lines) plus if you want to go all out -w (--ignore-all-space).

Git diff supports the same.

Re: GitHub Secrets

#7

I love this concept: "There's also a slew of other shortcut keys you can use, depending on the page- just hit ? to see them." Please, let this become a standard for every website, that '?' brings up a list of shortcut keys. Edit: It works in Gmail!

And Google news, docs, calendar. Not the Google search pages though, since key presses are intercepted by the search bar.

Re: GitHub Secrets

#8

I love this concept: "There's also a slew of other shortcut keys you can use, depending on the page- just hit ? to see them." Please, let this become a standard for every website, that '?' brings up a list of shortcut keys. Edit: It works in Gmail!

Works in Yammer too (I work there)

Re: GitHub Secrets

#9

I love this concept: "There's also a slew of other shortcut keys you can use, depending on the page- just hit ? to see them." Please, let this become a standard for every website, that '?' brings up a list of shortcut keys. Edit: It works in Gmail!

I could be wrong, but I have been under the impression Google set that as a standard of sorts years ago, starting with GMail, and continuing with their other products. Pivotal Tracker has done it for a while, too. I think there are others, but I cannot recall what they are.

I press '?' on any site that I think might/should have keyboard shortcuts!

Re: GitHub Secrets

#10
Volunteer work shrewdly benefits from source control because people want credit for their work.

Personally, I giggle every time I do a system-width string replacement, affecting a hundred files. :-) I imagine that wouldn't be fun with source control.

God says... C:\TEXT\WEALTH.TXT

ately be paid. But the great object of the political economy of every country, is to increase the riches and power of that country. It ought, therefore, to give no preference nor superior encouragement to the foreign trade of consumption above the home trade, nor to the carrying trade above either of the other two. It ought neither to force nor to allure into either of those two channels a greater share of the capital of the country, than what would naturally flow into them of its own accord.

Eac

Post reply on HN