Code Vault

From Sfvlug

(Difference between revisions)
(Index)
 
(14 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.
-
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.
+
=Index=
 +
NOTE: Please come in here and separate your code by username. I did this quick, shoot me if I made mistakes.
-
Here are some examples to give everyone a better idea, we can clean this area up later once we get more contributions:
+
''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.''
-
(Let's say I'm not about the license and don't know if it is OK to reproduce.)
+
==[[user:Brian|Brian]]==
 +
====[[Process Substitution]]====
-
== Access Database to HTML ==
+
==[[user:G4rlic|G4rlic]]==
-
I have written a bash script that converts Access databases to HTML.
+
====[[Mail Scrub]]====
-
[http://thewybles.com/~charles/me/code/mdb2html.sh.txt Source Code]  
+
====[[Python File Slicing]]====
 +
====[[Low Power Boot]]====
-
I know of at least two people in the LUG who were interested in this functionality. Code is GPL.
+
==[[user:JeffCarlson|JeffCarlson]]==
 +
====[[Email Dictionary Attack]]====
-
== Process Substitution (or, how to do more with less effort) ==
+
==[[user: Charles Wyble| Charles Wyble]]==
-
[[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.
+
====[[Access to HTML]]====
-
== Python File Slicing ==
+
==[[user: Livinded|livinded]]==
-
[[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].
+
====[[Caesar Cipher]]====
-
 
+
-
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