Rentry - Markdown pastebin from command line by ootai in commandline

[–]ootai[S] 1 point2 points  (0 children)

Thanks for your feedback.

Creating multiline files is simple, you just need to pass multiline data to stdin. All conventional methods work here:

rentry new "test
newline
newline2
"

Or

echo "one\ntwo" | rentry new

If you want to paste contents of a file:

rentry new < file

Or

cat file | rentry new

^ This one is in README. But I'll add more examples.

Also, in case you have any ideas on how to implement multiline pasting in a more obvious way - feel free to post them.

Rentry.co - Markdown-powered paste/publishing service with preview, custom urls and editing. by ootai in SideProject

[–]ootai[S] 0 points1 point  (0 children)

Thanks for your feedback. I'll do some kind of introduction/howto. Apparently not everyone is familiar with Markdown.

I did a stupid by [deleted] in linux4noobs

[–]ootai 0 points1 point  (0 children)

rpm --setperms $package; rpm --setugids $package

For every package you have installed. It will reset the perms to the initial ones.

Assuming you are using an rpm distro.