Latest Perl Posts

Home / Pages

Ziddykins created a Page  -  Sep 11, 2014

Tired of having a bunch of messy, disorganized code? Need a little more order in your life? This is for you. What this does is sorts your code for you alphabetically and case-insensitively. Feed it your source and it'll output sorted.code The code:

  1 Thread   Perl   Shell  
Ziddykins created a Page  -  Jun 02, 2014

Calculates Fibonacci to the limit you specify. Can calculate fib(500) in roughly half a second. You'll need the Math::BigInt module. As far as I know it comes default, but if you don't have it, use cpan "sudo cpan Math::BigInt"

  1 Thread   Perl  
Ziddykins created a Page  -  Jun 02, 2014

Palindromes are neat. Palindromic numbers in base 10 as well as base 2 are even more neat! Enter a max value and it'll do the rest. (note: Base10 is human-readable numbers, where Base2 is binary)

  1 Thread   Perl  
Ziddykins created a Page  -  Jun 02, 2014

It's about to get math-y up in here. This finds which number produces the most terms in the Collatz sequence, up to a value you specify. For those who don't know, the iterative sequence in the Collatz sequence is: If n is odd: Multiply by three and add one. If n is even: Divide by two. (n*3+1)or(n/2); Continue until you end up at one. It's believed every number will eventually end up at one.

 Respond   Perl  
Ziddykins created a Page  -  May 15, 2014

More simple challenge stuff. Converts age in years to age in seconds. Three kinds of years.

 Respond   Perl  
Ziddykins created a Page  -  May 15, 2014

More programming challenge stuff. Converts temperatures in 6 different ways.

 Respond   Perl  
Ziddykins created a Page  -  May 15, 2014

Uploading stuff made for a programming challenge. This generates 3 types of passwords for you, at a length you choose. (Alpha, alpha numeric, alpha numeric special).

 Respond   Perl  
Ziddykins created a Page  -  May 15, 2014

Uploading a bunch of stuff made for a programming challenge. Reverses a string given by user.

 Respond   Perl  
Ziddykins created a Page  -  May 15, 2014

Uploading a bunch of simple stuff done for a programming challenge.

  1 Thread   Perl  
Ziddykins created a Page  -  Apr 25, 2013

Scrapes various pastebin/pastebin-alikes and saves them to a site-specific folder under the paste's ID.

  1 Thread   Perl  
Ziddykins created a Page  -  Apr 03, 2013

DNS's a range of ip addresses. Saves the nameservers returned to a file. Multi-threaded to increase speed. Not much of a purpose, I was bored.

  1 Thread   Perl  
GrimReaper created a Page  -  Feb 14, 2013

This code started as one I had found, The only command that it had was /np which would show the current song in Rhythmbox into xchat.

zenx created a Page  -  Feb 07, 2013

Goes through a folder with scene releases in it and then checks which ones are okay to unrar and then unrars these releases, adds the release to log so it doesnt unrar it again and renames the unrared file to proper release name, useful for those of you who create "home videos" in scene release style (=D)

 Respond   Perl  
MoosaX created a Page  -  Dec 14, 2012

testing perl

  1 Thread   Perl  
codemonkeyrawks created a Perl Script  -  Jul 15, 2012
zenx created a Page  -  Jul 13, 2012

Downloads subtitles for scene releases from addic7ed.com, requires curl & lwp::simple ./subs.pl Anger.Management.S01E04.PROPER.720p.HDTV.x264-2HD

 Respond   Perl  
[nas]peter created a Perl Script  -  Jun 27, 2012
Maximus1983 created a Page  -  Jun 27, 2012

Capture Web Screenshots easily with the GrabzIt Perl API. You will need the free GrabzIt Perl Code Library to get started.

 Respond   Perl  
codemonkeyrawks created a Page  -  May 07, 2012

Type: /pm = Adds Nick to PM Block List (Appends) , /removepm = Removes First Nick From PM Block List , /listpm = Lists The PM Listing

[nas]peter created a Page  -  Apr 04, 2012

This is the Perl 8ball script. Works with the command line.

 Respond   Perl  
Aha2Y created a Page  -  Apr 02, 2012

Potato counter for IRSSI, lmfao.

 Respond   Perl  
codemonkeyrawks created a Perl Script  -  Mar 04, 2012
Aha2Y created a Page  -  Feb 21, 2012

Well since IRSSI is the client of the future i decided to make a litle script for it. Just a litle port checker script. It includes /check and !check Its basicaly a my first script so don't blame me because i did something wrong. If you find bugs please tell me so i can fix them.

 Respond   Perl  
KinKinnyKith created a Page  -  Feb 20, 2012

Long /me action messages sent over the Justin.TV IRC Network are not displayed as actions by XChat-WDK clients. This requested snippet corrects this quirk.

 Respond   Perl  
oRtakVeLja created a Page  -  Jan 28, 2012
Aha2Y created a Page  -  Sep 13, 2011

Intro With this snippet you can use !rehash. The bot will tell you if the config is correct or incorrect.

 Respond   Python  
zenx created a Page  -  Jul 27, 2011

Usage: ./whatpulse.pl nick nick2 nick3

codemonkeyrawks created a Page  -  May 19, 2011

Save this over the top of pevents.conf in the x-chat directory and restart x-chat!

  1 Thread   Perl  
codemonkeyrawks created a Page  -  May 12, 2011
codemonkeyrawks created a Page  -  May 12, 2011

To Use Type: /hug nick , /huggle nick , /snuggle nick , /version , /host , /network , /server , /topic , /channel , /lag , /users

  1 Thread   Perl  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.