In unrelated news coderwall.com really needs good syntax highlighting. Is called CODERwall for God's sake.
Turn your browser into a notepad with one line
11–20 of 186 posts
[deleted]
Re: Turn your browser into a notepad with one line
#12Looks more like Notepad with font face attribute.
data:text/html,
Re: Turn your browser into a notepad with one line
#13Very cool.
I like this guys implementation too. https://gist.github.com/4666256
Perhaps an implementation with vim bindings support? :D
Re: Turn your browser into a notepad with one line
#14Personally I'm more interested in the concept of typing gibberish to clear your mind. What particular kind of gibberish? Doggerel verse? Blind keyboard mashing?
Re: Turn your browser into a notepad with one line
#15Nifty trick. To build on this, if you use chrome, add it as a search engine with a special keyword so you can type in your URL bar something like "note + + " then you're in typing mode.
In fact, if you add the `%s` variable inside the HTML tag:
data:text/html, %s
This way, you can enter: note [tab] "foo bar baz" [enter]
And whatever you enter as the search query ends up in the note to start with.Edit: Just saw the other response to this comment saying basically the same thing. Nevermind.
Re: Turn your browser into a notepad with one line
#16Very neat. Is there a way to only do plain text?
Re: Turn your browser into a notepad with one line
#17That's a very clever hack!
I've also been using this http://pencil.asleepysamurai.com/
Re: Turn your browser into a notepad with one line
#18Now I just need some javascript to listen for Ctrl+S and save it as a text file in ~/Documents/scratchpads. Time to get crackin'
How do you save stuff in files from the browser?
I've googled around about this a couple times and not found anything good, so if anyone can point to some clear documentation I'd appreciate it.
Re: Turn your browser into a notepad with one line
#19For 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';
}
}Re: Turn your browser into a notepad with one line
#20I use Workflowy for this. In the url bar, I type:
w
Or, if you're a a super-organized shortcut-type, w "@misc"
Bonus points -- combine with ctrl+T and ctrl+W for command-line-fu-like syntax on whichever page you're currently browsing!