Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Nov 2014, 23:00
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Documentation Project
sharing code on the wiki...
Moderators: Flash, JohnMurga, puppian
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
puppyfan12


Joined: 04 Dec 2006
Posts: 140
Location: Ontario, Canada

PostPosted: Sun 04 Mar 2007, 20:21    Post_subject:  sharing code on the wiki...  

I was wondering if anyone was aware of the Grab Code Handler feature of the wiki?

It looks like a very good way to share ash/bash scripts and other code snippets for puppy development.

_________________
Joe D.
Back to top
View user's profile Send_private_message 
puppyfan12


Joined: 04 Dec 2006
Posts: 140
Location: Ontario, Canada

PostPosted: Thu 08 Mar 2007, 04:33    Post_subject:  

Yes, this double post is to shamelessly bump my thread. Embarassed

I'm wonder who runs the puppylinux.org wiki? Is that Barry's site? Whoever runs it...if they update the wiki software to the lastest version, all those code download blocks will automatically work with existing posts.

I have an example on my server:
http://skypilot.dopper.net/SkyPilotScripts

It makes it easy for anyone to share/download useful bash scripts by posting in the following format to the wiki:

%%
<script text here>
%%

_________________
Joe D.
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 08 Mar 2007, 14:17    Post_subject:  

I have some scripts examples here:

http://puppylinux.org/wikka/ShellScriptsExamples

Over time, I noticed that included #/bin/sh on every line added another whole page when I printed it so I took them out.

That feature you mention might be useful in many cases. I think Lobster manages the wiki. I don't know who actually runs it (maybe him also).
Back to top
View user's profile Send_private_message 
J_Rey


Joined: 04 May 2005
Posts: 276
Location: Northwest Florida, U.S.A.

PostPosted: Thu 08 Mar 2007, 15:09    Post_subject:  

When you are editing a page, you can click on the Help button to load the Wikka Formatting Guide, which has info on how best to implement the code formatting already mentioned.

Barry is the one hosting it but Lobster is the wiki admin, FYI.
Back to top
View user's profile Send_private_message Visit_website AIM YIM 
puppyfan12


Joined: 04 Dec 2006
Posts: 140
Location: Ontario, Canada

PostPosted: Fri 09 Mar 2007, 11:11    Post_subject:  

Thanks for the links guys...wow the new formatting rules in Wikka Wakka Wiki 1.1.6.2 make it a lot more powerful that 1.1.6.0 (currently used on puppylinux.org). For the scripts you can specify filename, type of code as well as which lines of code you're displaying...all complete with syntax highlighting and scrollable code for long lines that hang off the page...

checkout a few examples I've updated here

_________________
Joe D.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Documentation Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0463s ][ Queries: 11 (0.0034s) ][ GZIP on ]