From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Add a pastebin client to the next guixsd image release Date: Mon, 05 Dec 2016 14:19:08 +0000 Message-ID: <8737i2cvc3.fsf@we.make.ritual.n0.is> References: <87mvgby2yr.fsf@we.make.ritual.n0.is> <87k2be8ocv.wl-sleep_walker@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDu91-0008T6-I8 for guix-devel@gnu.org; Mon, 05 Dec 2016 09:21:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDu8w-00064Z-Ln for guix-devel@gnu.org; Mon, 05 Dec 2016 09:21:27 -0500 Received: from aibo.runbox.com ([91.220.196.211]:52340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDu8w-00063s-C3 for guix-devel@gnu.org; Mon, 05 Dec 2016 09:21:22 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cDu8t-0008IR-V8 for guix-devel@gnu.org; Mon, 05 Dec 2016 15:21:20 +0100 Received: from 91.ip-164-132-51.eu ([164.132.51.91] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cDu6o-0007s3-BN for guix-devel@gnu.org; Mon, 05 Dec 2016 15:19:10 +0100 In-Reply-To: <87k2be8ocv.wl-sleep_walker@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Tomas Cech writes: > On Sun, 04 Dec 2016 19:16:28 +0100, > ng0 wrote: >> >> I think the next release image for GuixSD should include >> wgetpaste as a tool. This would make it possible for people who >> are stuck in the image and who are doing the installation, to >> paste the config.scm or any other command output. >> >> Are there any security concerns, or is this something we can do? >> If the majority should be against it, another option I can think >> of is that we add it to the documentation as a general suggestion >> to search for "pastebin" with "guix package -s pastebin" and >> install one of the available pastebin clients (there'll be more >> than one at some point). > > Good idea. > > I like the http://sprunge.us/ solution. It uses curl and has support > for syntax highlighting. > > With shell function like this: > sprunge() { > curl -F 'sprunge=<-' http://sprunge.us > } > > you can do: > $ command | sprunge > $ sprunge < file > > So it mimics UNIX filosophy and has tiny dependency. > > Best regards, > > S_W > pb based text snippet and file upload instances have a similar way, https://ptpb.pw is the primary instance. -- ♥Ⓐ ng0 | ng0.chaosnet.org