From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: <9fans@9fans.net> Date: Mon, 10 Aug 2015 12:04:54 +0200 From: Ingo Krabbe MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] github blob exchange Topicbox-Message-UUID: 6580759a-ead9-11e9-9d60-3106f5b1d025 Hi Plan9ers, I wrote a little rc script for my personal use. I want to share it with you, as it look quite usefull to me (why would I have wrote it otherwise). https://github.com/ikrabbe/github.rc Check it out and tell me your thoughts. Regards, ingo From mboxrd@z Thu Jan 1 00:00:00 1970 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----5323WYJNU07Y9SW70BQST8EQUUIJBW" From: Ryan Gonzalez Date: Mon, 10 Aug 2015 08:26:14 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, Ingo Krabbe Message-ID: <34C2697A-0106-4691-ACAF-83A306C9A026@gmail.com> Content-Transfer-Encoding: 7bit Subject: Re: [9fans] github blob exchange Topicbox-Message-UUID: 65847afa-ead9-11e9-9d60-3106f5b1d025 ------5323WYJNU07Y9SW70BQST8EQUUIJBW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I saw "GitHub" and "Plan 9" together and immediately heard angels singing= . :) Question what does the --raw option do? On August 10, 2015 5:04:54 AM CDT, Ingo Krabbe wr= ote: >Hi Plan9ers, > >I wrote a little rc script for my personal use. I want to share it with >you, as it look quite usefull to me (why would I have wrote it >otherwise). > > https://github.com/ikrabbe/github.rc > >Check it out and tell me your thoughts. > >Regards, > >ingo --=20 Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity. ------5323WYJNU07Y9SW70BQST8EQUUIJBW Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I saw "GitHub" and "Plan 9" = together and immediately heard angels singing. :)

Question what does the --raw option do?

On August 10, 2015 5:04:54 AM CDT, Ingo Krabbe <ikrabbe.ask@gmail.com= > wrote:
Hi Plan9ers,

I wrote a little rc script = for my personal use. I want to share it with you, as it look quite useful= l to me (why would I have wrote it otherwise).

https://github.com/ikrabbe/github.rc

Check it out and tell me your thoughts.

Regards,=

ingo




--
Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity. ------5323WYJNU07Y9SW70BQST8EQUUIJBW-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <15bdde2d6476311f542b4ca783483b9b@krabbe.dyndns.org> To: <9fans@9fans.net> Date: Mon, 10 Aug 2015 16:04:51 +0200 From: Ingo Krabbe In-Reply-To: <34C2697A-0106-4691-ACAF-83A306C9A026@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] github blob exchange Topicbox-Message-UUID: 6588a65c-ead9-11e9-9d60-3106f5b1d025 Actually the command is no rocket science. You can simply use hget, sed and htmlfmt to reach similar things. The 'github' command is a kind of shortcut to blobs from github repositories. The --raw mode is the opposite of --blob. I changed the code that *.md files are automatically read blob files, not raw files, though this does not make too much sense on plan9 terminals. I'm just experimenting a bit with the possible transfer modes for files. So for *.md Files --blob mode is automatically selected. Using --raw with *.md Files (such as README.md) will choose the raw mode anyway. For all other files --raw is the default mode and --blob can be chosen to get the html table. But --blob mode for syntax highlighted files does not work yet, as the output is not in an
tag (as it is the case with *.md Files). Regards, ingo > I saw "GitHub" and "Plan 9" together and immediately heard angels singing. :) > > Question what does the --raw option do? > > On August 10, 2015 5:04:54 AM CDT, Ingo Krabbe wrote: >>Hi Plan9ers, >> >>I wrote a little rc script for my personal use. I want to share it with >>you, as it look quite usefull to me (why would I have wrote it >>otherwise). >> >> https://github.com/ikrabbe/github.rc >> >>Check it out and tell me your thoughts. >> >>Regards, >> >>ingo > > -- > Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity. From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 Aug 2015 17:01:49 +0000 Message-ID: <20150810170149.Horde.IHbkN4yGuON19yq2vagMqZC@ssl.eumx.net> From: Kurt H Maier To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <34C2697A-0106-4691-ACAF-83A306C9A026@gmail.com> In-Reply-To: <34C2697A-0106-4691-ACAF-83A306C9A026@gmail.com> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [9fans] github blob exchange Topicbox-Message-UUID: 65b6368a-ead9-11e9-9d60-3106f5b1d025 Quoting Ryan Gonzalez : > I saw "GitHub" and "Plan 9" together and immediately heard angels singing. :) A funeral dirge? khm