Code Vault

From Sfvlug

(Difference between revisions)
(Index)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
-
What is the best way to contribute code? Should it just be placed here or should a seperate page be created?
+
Here is a list of bash script or other short and simple code that has been donated by our members.
-
This will be a topic of discussion at the Saturday December 16, 2006 meeting. See [[Meetings]] for more information on the meeting.
+
=Index=
 +
NOTE: Please come in here and separate your code by username. I did this quick, shoot me if I made mistakes.
-
Good question, I had intended to leave a lot of that type of decision up to whoever posted something but since this is going to be a community page it might be better to keep it less cluttered so I will suggest making a brief statement here about the code and a link to the page where the actual code lives. The discussion tab [[Talk:Code Vault]] can be used for comments rather than making further clutter here. If you haven't gotten the copyright holder's permission to use the code the link should be to the original source.
+
''What is the point of separating the code by username? In Wiki, all of the pages can be edited by anyone, so laying claim to a page is rather not the idea.''
-
Here are some examples to give everyone a better idea, we can clean this area up later once we get more contributions:
+
==[[user:Brian|Brian]]==
 +
====[[Process Substitution]]====
-
(Let's say I'm not about the license and don't know if it is OK to reproduce.)
+
==[[user:G4rlic|G4rlic]]==
 +
====[[Mail Scrub]]====
 +
====[[Python File Slicing]]====
 +
====[[Low Power Boot]]====
-
== Access Database to HTML ==
+
==[[user:JeffCarlson|JeffCarlson]]==
-
I have written a bash script that converts Access databases to HTML.
+
====[[Email Dictionary Attack]]====
-
[http://thewybles.com/~charles/me/code/mdb2html.sh.txt Source Code]  
+
-
I know of at least two people in the LUG who were interested in this functionality. Code is GPL.
+
==[[user: Charles Wyble| Charles Wyble]]==
 +
====[[Access to HTML]]====
-
== Process Substitution (or, how to do more with less effort) ==
+
==[[user: Livinded|livinded]]==
-
[[Process Substitution]] is a good way to do things in a single line of script or at the command line, that would otherwise take extra work like writing to temp files.
+
====[[Caesar Cipher]]====
-
 
+
-
== Python File Slicing ==
+
-
[[pyFileSlice]] is a simple utility that will chop out a section of a file that has common starting and ending tags.  Pulling out the page referrers section in an [http://awstats.sf.net Awstats] data file for further analysis prompted this little bit of research.  After trying 3 methods (one involving regex pattern checking over each element in a list, one involving startswith(), and one that uses startswith() and doesn't read the file all at once) the one presented here works the fastest with the least amount of memory used.  [http://www.cs.ucr.edu/~nsoracco/py/fileSlice.html Source Code].
+
-
 
+
-
note: 20061211: alternate method posted for looping through the file.
+
-
 
+
-
 
+
-
Return to [[Main Page]]
+

Current revision as of 08:13, 6 April 2007

Here is a list of bash script or other short and simple code that has been donated by our members.

Contents

Index

NOTE: Please come in here and separate your code by username. I did this quick, shoot me if I made mistakes.

What is the point of separating the code by username? In Wiki, all of the pages can be edited by anyone, so laying claim to a page is rather not the idea.

Brian

Process Substitution

G4rlic

Mail Scrub

Python File Slicing

Low Power Boot

JeffCarlson

Email Dictionary Attack

Charles Wyble

Access to HTML

livinded

Caesar Cipher

Personal tools