Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Code Catacombs

( [id://1747]=superdoc: print w/replies, xml ) Need Help??

This section is now closed for posting code. Please use Cool Uses For Perl instead.

Code Categories
Audio Related ProgramsFTP stuffNT Admin
CGI ProgrammingFun StuffWin32 Stuff
Chatterbox ClientsGUI ProgrammingMiscellaneous
CryptographyHTML UtilityText Processing
Database ProgrammingUtility ScriptsNetworking Code
E-Mail ProgramsWeb StuffPerlMonks Related Scripts


New Code
mkdir_heute
on May 25, 2009 at 17:14
0 replies by mamawe
I use this script every day to create directories, have them organized, change between them and do not think to much about it.

I use it in a shell alias like this

alias cdheute='cd `mkdir_heute`'

Actually it used to be a module and the script but for simplicity and posting it here I have slurped the module into the script.

Random maze generator
on May 19, 2009 at 07:05
2 replies by ambrus

This is the rewrite of an old random maze generator I wrote in C. It uses the same method for generating the maze, but the interface is different: the old one let you traverse the maze while seeing only your immediate environment, whereas this one only prints the maze as an ascii art (view in a fixed font).

The @ marks the starting position and > is the goal.

xcol
on May 17, 2009 at 15:00
1 reply by sflitman
A simple text-based column extractor for use in Unix pipelines
global
on May 17, 2009 at 13:15
0 replies by sflitman
Run a shell command in every subdirectory under the current working directory (cwd), and including the cwd as well
Graphing Git commits with git + sh + Perl + Gnuplot
on May 13, 2009 at 11:41
2 replies by Bucciarati
graph git commits over the week
Construct command portable way
on May 06, 2009 at 08:16
1 reply by avinash_d
none
Automatic ChangeLog Generation
on Apr 17, 2009 at 14:15
0 replies by DStaal

I hate maintaining a separate ChangeLog on my modules. I'd rather keep it in the module's POD. But that's not the Kwalitee way to do it, and I'd rather follow standard locations.

Or better yet, get Perl to let me write where I like, and recreate the standard file as desired...

This goes in a Build.PL script: Use $class->new instead of Module::Build->new to use.

Sherlock v0.1
on Apr 06, 2009 at 12:34
1 reply by bpoag
Sherlock will determine if a given host is known or unknown to a NetBackup master server, regardless of platform type. It's presented here in its unmodified form (we differentiate primary and backup network interfaces by the inclusion of a b_ prefix on the hostname) for the sake of demonstration. Sherlock is known to smoke a pipe made of ivory, and is often condescending while addressing others, including his faithful sidekick, Watson. This predisposes him to developing mouth cancer and a bad reputation. There is a possibility that Watson may know judo, and as such, may use the momentum of an attacker's body to his advantage in executing one or more stunning throw techniques. Executing this code will cause a giant pair of scissors to appear in the skies at above rural England, disappearing after a few moments. No need to be alarmed.
Corrupt MS Word 2007 Text Extractor
on Apr 03, 2009 at 12:58
0 replies by socrtwo
DOCX files are really zipped collections of XML and other binary files. The text in the docx files is contained in the word/document.xml file within the collections. Some basic formatting information is also contained in the word/_rels/document.xml.rels file. The code presented here uses a modification of the docx2txt script to extract text from corrupt Word 2007 files where Word 2007 and the original doc2txt fails to. It uses CakeCMD to unzip instead of Info-Zip found in the original docx2txt script, because CakeCMD will unzip corrupt xml files where Info-Zip fails or does not work as well. This script also uses Perl/Tk to make a GUI, with the aim of a wider audience. The Perl/Tk code was inspired by the easy great beginner tutorials by Binny V A here: http://www.geocities.com/binnyva/code/perl/perl_tk_tutorial/. CakeCMD is by Leung Yat Chun Joseph and can be found here: http://www.quickzip.org/softwares-cakecmd. It uses the open source ICSharpCode.SharpZipLib.dll library. Cake CMD also requires the Microsoft dotNet 2.0 framework here: http://tinyurl.com/8vgak. Docx2txt is by Sandeep Kumar and can be found starting here: http://docx2txt.sourceforge.net/. My real name is Paul Pruitt, my E-mail is socrtwo@s2services.com. My website containing a couple hundred links of data recovery resources is here: http://www.s2services.com. I built an executable for this package which can be found there too on the index page.
Yet Another Cryptogram Script
on Mar 20, 2009 at 05:49
1 reply by missingthepoint
Yes, another one.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-19 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found