Live data from Hacker News

Turn your browser into a notepad with one line

coderwall.com

111–120 of 186 posts

Re: Turn your browser into a notepad with one line

#111

Personally I'm more interested in the concept of typing gibberish to clear your mind. What particular kind of gibberish? Doggerel verse? Blind keyboard mashing?

I've found it is rare that I ever re-read my notes, no matter how much I might think I'll want to when I'm making them. This can be an idea or a long-term to-do list or the outline of a blog post, whatever. If I don't use it immediately after I'm done typing, it never gets read again.

As a result, I've started saving things less and less. However it's still useful to initially type them out. Helps me plan and form my thoughts and ideas. Currently this usually involves opening Textmate or Tumblr (and saving drafts) or email.

Hopefully this will be a solid replacement for all of the above. If I end up typing something I do want to use, then I'll copy and paste it elsewhere. The majority of the time I'll simply close the browser and not save it.

Re: Turn your browser into a notepad with one line

#112

Thanks for this nice trick. I have Emacs bound to ctrl-alt-E so can pop that up whenever I need a scratch pad (Linux, obviously), but this is just cool. I've bookmarked it.

Vim for me, but same thing.

Actually, hotkey bindings: vim, terminal, root terminal, mail, web, and bc.

Re: Turn your browser into a notepad with one line

#113
post #101

Earlier quoted context omitted.

Apropos of nothing I believe this works because it frees up space in your brain. Sometimes, when I'm trying to get too much done at once, I'm stressed out by trying to keep to many things in the forefront of my thoughts at once. When I get stuck like that I create a scratch pad document with three 'zones' Doing: stuff I'm working on right now ToDo: Stuff that I know needs to get done Done: Stuff that is now done. Sta…

Did you mean: http://en.wikipedia.org/wiki/Kanban_board ?

Nice! I hadn't actually seen that but that is exactly what I mean. Although rather than help the team be more productive it's to let me be more productive :-)

Re: Turn your browser into a notepad with one line

#114
post #94
post #50

Nice gimmicky hack but not so practical. Just pin notepad/your favorite editor to the taskbar(win7+) and open it with win+shift+[whatever number that corresponds to the position you placed notepad on the taskbar]. Much faster and much more powerful.

It's another window which isn't tab-bound to the browser.

Oh, you're one of those Mac types.

You should still be able to navigate to that alternate app readily.

I find it easier to navigate to a clearly identifiable text editor session (Linux) than try to track to a specific tab somewhere within my multiple browser windows (on multiple workspaces ...).

Re: Turn your browser into a notepad with one line

#115
post #83

Earlier quoted context omitted.

Is there an equivalent to `this.onkeyup` for touch devices that don't generate onkeyup events? Trying to make this work on an iPad, but I only have surface knowledge of JS.

Hmm... I only have an iPad simulator with me, but it works just pasting in what I wrote above. Maybe something in your data URI is getting munged? Keyup is used here rather than keypress (which fires only once for each down-up event) since backspace won't fire keypress events, which is a nice thing to have in a live environment. But I can't think of any environment which would implement keypress and not keyup, or how…

You're right, it works fine with onkeyup. I tried pasting the URL directly instead of opening from "other devices" and it worked. Thanks.

Re: Turn your browser into a notepad with one line

#117
post #101

Earlier quoted context omitted.

Did you mean: http://en.wikipedia.org/wiki/Kanban_board ?

Nice! I hadn't actually seen that but that is exactly what I mean. Although rather than help the team be more productive it's to let me be more productive :-)

http://www.trello.com ?

Re: Turn your browser into a notepad with one line

#118

That's pretty handy. In Chrome ctrl+b and ctrl+i bold and italics the text respectively. If I can get bullets that could be a nice replacement for the text editor I currently use for notes.

At least on OS X, bullets are alt-8. Can't speak for any other OS. Looks like this: •

Re: Turn your browser into a notepad with one line

#120
post #19

For even more fun, turn your notepad into an interactive JavaScript environment: data:text/html, Then you can upgrade it by pasting in something like this: this.onkeyup = function () { this.style.backgroundColor = 'white'; try { eval(this.innerText); } catch (e) { this.style.backgroundColor = '#FFAAAA'; } }

This is a much easier way to customize its appearance:

    data:text/html,  body { font-family: sans-serif }
Post reply on HN