Very clever! I set this as the default URL for new tabs.. Now, everytime I open a new tab, I have a quick scratchpad for pasting/testing/etc.
Turn your browser into a notepad with one line
61–70 of 186 posts
Re: Turn your browser into a notepad with one line
#62This is what the scratch (EDIT: read scratch as * scratch * without the spaces--is there any way to escape that properly on HN?) buffer is for in Emacs, and I find it extremely useful. Also, unlike using a different tool, it allows me to use all the Emacs-specific features I usually rely on. (For example, I can easily type special characters like r₁ × r₂ ≈ r₃ using the TeX mode.) If you want more than one scratch buf…
I keep it in textmate, been thinking about moving it to vim but I quite like having it in its own space.
Re: Turn your browser into a notepad with one line
#63The browser is the new OS!
Re: Turn your browser into a notepad with one line
#64This 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 called without a file will create a unique name under ~/.emacsclient-scratch and edit that -- so I never lose anything I know I was typing at one point). Still... this just seems like a really bad solution. You get an "editor everywhere" but it's the default editor in your browser. Ick. It's cute though.
Re: Turn your browser into a notepad with one line
#65Re: Turn your browser into a notepad with one line
#661) I have a constant editor opened with a Notes.txt file, so I can save it.
2) I use Sublime Text 2 which maintains the state regardless of whether I've saved the file or not, and is extremely cross platform.
Re: Turn your browser into a notepad with one line
#67The nicest thing about this is that you can CTRL+S save it as a .html file, and then you can also CTRL+O load the file and it's still editable, and save it again!
Re: Turn your browser into a notepad with one line
#68Earlier quoted context omitted.
I'm on mobile so I can write to much accompanying text, but start here: http://www.html5rocks.com/en/tutorials/file/filesystem/
Thanks to both of you. I'll check it out.
Re: Turn your browser into a notepad with one line
#69* Dark background * Tabs work as they suppose to!
data:text/html, *{padding:0; margin:0}
Re: Turn your browser into a notepad with one line
#70data:text/html, http://fonts.googleapis.com/css?family=Lato:100,200,300,400,... rel='stylesheet' type='text/css'> html { font-family: "Lato"; color:#e9e9e9; background-color:#222; } * { -webkit-transition: all linear 1s; }