* [9fans] github blob exchange
@ 2015-08-10 10:04 Ingo Krabbe
2015-08-10 13:26 ` Ryan Gonzalez
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Krabbe @ 2015-08-10 10:04 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] github blob exchange
2015-08-10 10:04 [9fans] github blob exchange Ingo Krabbe
@ 2015-08-10 13:26 ` Ryan Gonzalez
2015-08-10 14:04 ` Ingo Krabbe
2015-08-10 17:01 ` Kurt H Maier
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Gonzalez @ 2015-08-10 13:26 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs, Ingo Krabbe
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
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 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.
[-- Attachment #2: Type: text/html, Size: 936 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] github blob exchange
2015-08-10 13:26 ` Ryan Gonzalez
@ 2015-08-10 14:04 ` Ingo Krabbe
2015-08-10 17:01 ` Kurt H Maier
1 sibling, 0 replies; 4+ messages in thread
From: Ingo Krabbe @ 2015-08-10 14:04 UTC (permalink / raw)
To: 9fans
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 <article> 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 <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 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] github blob exchange
2015-08-10 13:26 ` Ryan Gonzalez
2015-08-10 14:04 ` Ingo Krabbe
@ 2015-08-10 17:01 ` Kurt H Maier
1 sibling, 0 replies; 4+ messages in thread
From: Kurt H Maier @ 2015-08-10 17:01 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Quoting Ryan Gonzalez <rymg19@gmail.com>:
> I saw "GitHub" and "Plan 9" together and immediately heard angels singing. :)
A funeral dirge?
khm
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-10 17:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 10:04 [9fans] github blob exchange Ingo Krabbe
2015-08-10 13:26 ` Ryan Gonzalez
2015-08-10 14:04 ` Ingo Krabbe
2015-08-10 17:01 ` Kurt H Maier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).