Live data from Hacker News

Turn your browser into a notepad with one line

coderwall.com

131–140 of 186 posts

Re: Turn your browser into a notepad with one line

#132
You know what's the most amazing about this? The amount of community collaboration its driven. I saw this post when it was on the "new" page and had no comments. Coming back a couple hours later, I can see tons of people doing some tinkering on their own and sharing their finds back here.

I dunno, just something I noticed which I think is completely awesome and indicative of the benefits of open-source and open-knowledge.

Re: Turn your browser into a notepad with one line

#133

Ah shoot. If Chrome allowed localStorage to be accessible from file:/// then we could add save (CTRL+S) and automatic load using this: data:text/html, window.onload=function(){var a=document.body;a.innerText=localStorage.mydoc;a.addEventListener("keydown",function(b){b.ctrlKey&&83==b.which&&(localStorage.mydoc=a.innerHTML,b.preventDefault())},!1)}; Firefox will save it to localStorage but clear the local storage afte…

That is so cool :). I just slapped together a (really) simple chrome ext for opening up a new tab in "contenteditable" mode. It saves the contents into localStorage, thats it for now :) Here it is if anyones interested https://github.com/jwaterfaucett/textpad

Made it a chrome extension for an easier install.

https://chrome.google.com/webstore/detail/textpad/edopaieiod...

Re: Turn your browser into a notepad with one line

#134
post #106

Earlier quoted context omitted.

Can anybody please give me quick install instructions? There is no readme and I'm unfamiliar with how to add a Chrome extension based on a Github repo.

In Chrome: 1. Tools -> Extensions 2. Enable "Developer Mode" 3. "Load Unpacked Extension" and select the directory you cloned into.

Thanks!

Re: Turn your browser into a notepad with one line

#135
post #64

> Sometimes I just need to type garbage. Just to clear out my mind. Using editors to type such gibberish annoys me because it clutters my project workspace (I'm picky, I know). This is a hack and a workaround. The bug is clearly using an editor restricted to editting files in a "Project Workspace". Yikes. Everyone has their own workflow, and they're all insane (for myself, I have an emacsclient wrapper that when call…

That's a really good idea, thanks. I have `e` aliased to `emacsclient -nt` but there's no reason why it couldn't make scratch files if not given an argument.

Re: Turn your browser into a notepad with one line

#136
post #117

Earlier quoted context omitted.

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 ?

Yes, Trello does this pretty well. Not "switch to the buffer in vim" well :-) but its a great tool. An iPad version would be cool.

Re: Turn your browser into a notepad with one line

#138
post #82

Earlier quoted context omitted.

ok - and how do I retrieve the saved contents?

They are loaded when you re-open the extension by the looks of it.

Doesn't work for me - seems I am doing something wrong. I open a tab, write something, close the tab. I open a fresh tab - no text. I'd expect that the written text would show up.

Re: Turn your browser into a notepad with one line

#139

Ah shoot. If Chrome allowed localStorage to be accessible from file:/// then we could add save (CTRL+S) and automatic load using this: data:text/html, window.onload=function(){var a=document.body;a.innerText=localStorage.mydoc;a.addEventListener("keydown",function(b){b.ctrlKey&&83==b.which&&(localStorage.mydoc=a.innerHTML,b.preventDefault())},!1)}; Firefox will save it to localStorage but clear the local storage afte…

There's a simple pure frontend editor web app at http://litewrite.net - since it uses AppCache and localStorage you can also use it anywhere. Even sync with remotestorage.

Source is open at http://github.com/litewrite/litewrite

Re: Turn your browser into a notepad with one line

#140

Earlier quoted context omitted.

I often do an exercise that I've started referring to as a "brain dump". Sometimes when I feel overwhelmed, for whatever reason, it helps to just simply start typing. I start by just saying whatever is most present on my mind, and each new thought starts on a new line. More often than not I end up drilling down to some kind of inner conflict buried pretty deep in my mind. What's really amazing is when seemingly unrel…

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…

The recently discussed http://mindmup.com works beautifully for me for this -- I just start lobbing the features and head noise into nodes and organize until some watershed where I realize I know what I need to do.
Post reply on HN