 |
| |
| by: ateam - 2009-10-26 16:50:33 |
|
| I am a university student double-majoring in Italian and CompSci. I am very involved with helping the Italian department get up to speed with the 21st century in terms of digital media.
One recent project involved getting 120 YouTube videos into MP3 format for the students and the professor of an Italian Music class. A little research brought me to "youtube-dl." From this and two other tools, I put together a script to take care of this task for me automatically! |
|
| |
|  |
 |
| |
| by: k0rn - 2009-04-30 17:42:42 |
|
| | This is an IRC bot I wrote in perl. Tell me what you think. I took the ytbot idea of showing the title of a youtube url, and I used it for porn instead. |
|
| |
|  |
 |
| |
| |
| | Simple DBI interface for perl's DBI::CSV that I hacked up. |
|
| |
|  |
 |
| |
| |
| | In this second part of the two part series, we discuss socket programming using the IO::Socket subclass. |
|
| |
|  |
 |
| |
| |
| | Basic regex functionality and syntax using Perl |
|
| |
|  |
 |
| |
| |
| | In this first part of the two part series, we discuss socket programming using the Socket.pm module |
|
| |
|  |
 |
| |
| by: trapt - 2008-05-16 22:13:22 |
|
| | How to Use Bitwise Operators in Perl |
|
| |
|  |
 |
| |
| |
| | Perlfect is a website search engine developed in Perl. You can do Knowledge Management with Perlfect. Basically any search engine can be used but Perlfect is freely available. |
|
| |
|  |
 |
| |
| by: ateam - 2005-10-09 13:55:37 |
|
| | Recording shows off of your Linux-supported TV tuner card has never been easier! |
|
| |
|  |
 |
| |
| by: ateam - 2005-07-25 10:53:33 |
|
| | In a further attempt to get useful battery information without having to launch some fancy GUI, I wrote this neat little script... |
|
| |
|  |
 |
| |
| by: ateam - 2005-04-10 21:53:02 |
|
| | One of my Christmas presents this past year was a nice, 4 lbs. laptop. I use the Enlightenment window manager under Linux, thus, when my laptop's battery is getting too low, I don't have any application in my face warning me about it, like with KDE or Windows. Thus, I wrote a script to check the status of my battery and determine whether or not anything needs to be done about it. This is a short guide on using my script with your laptop. |
|
| |
|  |
 |
| |
| |
| | How to automate the download of similar looking files with the help of PERL. |
|
| |
|  |
 |
| |
| by: sefo - 2005-01-17 20:14:12 |
|
| How can we use flash as an interface to a perl login script?
And some other ActionScript/Perl tips.
For this article I use SwishMax but any tool will do. |
|
| |
|  |
 |
| |
| by: w0lf - 2004-08-20 10:00:27 |
|
| | So I had to knock together some code to create a list of gift aid donations and this is what I came up with. I'm interested to know if this is similar to how others would have done it or if I've missed a "proper" method for coding this, so please comment. |
|
| |
|  |
 |
| |
| by: Phishy - 2004-08-05 05:46:01 |
|
| | An introduction to the Perl crypt() function and some example uses. |
|
| |
|  |
 |
| |
| |
| | Shows how to create encrypt using the Digest::MD5 module |
|
| |
|  |
 |
| |
| |
| | A small and lazy aproach to a bit of perl using system commands ;] |
|
| |
|  |
 |
| |
| |
| This is a stripped down perl bot with only the very basic commands.
|
|
| |
|  |
 |
| |
| |
| So you want to retrieve some news headlines from a website, or generate some headlines for your own website ?
That's pretty easy once you've installed the XML::RSS module.
The most difficult part of it all is understanding the basic structure of an RSS file, and knowing what you can do with it.
Let's throw in a couple of definitions first so you know a little bit about the terminology, and then we'll move on to more practical examples... |
|
| |
|  |
 |
| |
| |
| As you may have heard, Google has decided to open up its search engine and provide Web APIs (in beta) for non-commercial use.
For more information and (required) registration, see http://www.google.com/apis/
The developer's kit includes a large Java and .NET example, so here's a smaller example with Perl and the SOAP::Lite module :) |
|
| |
|  |
 |
| |
| |
| Have you ever wanted to implement your own version of a poll upon your site? Ever need that one little poll without all the complexities?
Well, this small coding example demonstrates how to implement a simple, but effective, poll survey - Using just a few lines of perl, and a dash of HTML.. |
|
| |
|  |
 |
| |
| |
| Once upon a time, before PHP .. before ASP .. before Barnseyboy last had a shave - People used Server Side Includes (SSI) to invoke counters and a variety of other Perl scripts.
Today, I will take you back to that time, were we shall implement our very own perl-based counter, invoked by the aforementioned SSI. |
|
| |
|  |
 |
| |
| |
| | This is basically a simple usage of the MIME::Base64 module. |
|
| |
|  |
 |
| |
| |
| | This is a simple example of how to work with Win32 API in perl. |
|
| |
|  |
 |
| |
| |
| | This is a simple perl script to encrypt text, you can find a cgi version of this code online at The Red Network |
|
| |
|  |
 |
| |
| |
| | You know how it's annoying to read a nix text file under windows and to see additional characters in a windows text file under nix. Here's what it's all about. |
|
| |
|  |
 |
| |
| |
| Simple server in perl
How does it work:
this program opens a socket and binds it to
the port you specified in the command line
then it waits for the client commands.
The client can be anyone connecting
through telnet or a specific client.
Limitations:
- only one client at a time can connect
(no multithreading
(so no need to clean every dead child(zombies))
|
|
| |
|  |
 |
| |
| |
| You guys seen a simple crypt algo in perl, but this time another encryption algorithm, one that can be reversed..
a useful method..
is called One-Time Pass, it uses bit-wise XOR'ing of strings..
a random string of the same length as the message is generated..
that is then XOR'ed, character-by-character, on the
message, the result is mixed but when
you XOR this mix with the same random string, you get the original message back :D
|
|
| |
|  |
 |
| |
| |
| Here's a CGI script you can run on a server that uses sendmail.
(usually every *nix servers and some NT stations run sendmail.)
This script allows you to get an e-mail from someone visiting your website
via the following HTML form:
|
|
| |
|  |
 |
| |
| |
| Perl/tk (perl tool kit) is a set of modules and wigets to use with perl5+
so as to create programs with Graphical User Interfaces (GUI).
|
|
| |
|  |
 |
| |
| |
| | Most of you know that arrays can be accessed by numbers, but did you also know that they can be accessed by strings too? This type of array is called associative arrays and is very easy to use, read on! |
|
| |
|  |
 |
| |
| |
| | Here are some tips on how to work with system and user informations on Linux. You won't need any additional modules. |
|
| |
|  |
 |
| |
| |
| | gOtHiC_fReAk` shows us how to write hello world simply in perl, with both the perl and CGI versions. Nice little taster. |
|
| |
|  |
 |
| |
| |
| | This is a nice example of how to find a prime number in the ranges of 1 to 100 using perl. This is also useful for some well known challenges on this site! |
|
| |
|  |
 |
| |
| |
| This is a short perl script I wrote to help me keep an eye on what user's on my server are doing in their shells. |
|
| |
|  |
 |
| |
| |
| | This script takes a common logfile format httpd logfile and converts every instance of an IP address to it's fully qualified domain name (if the mapping exists). |
|
| |
|  |
 |
| |
| |
| I myself am trying to start learning Perl, now that I feel a little more relaxed in C. I have been looking for an "easy to understand" tutorial, even though I have bought books, somehow the authors didn't seem to write them with the frightened newbie in mind..... |
|
| |
|  |
 |
| |
| |
| Kazaa is a peer-to-peer file sharing framework that allows individuals to share files across the internet. This script is an attempt to allow you to determine, by name, which Kazaa user's are connected to you from which IP address, so that firewall rules can be added to block users who are not sharing any files or otherwise being annoying. |
|
| |
|  |
 |
| |
| |
| | I came across this on a mailing list archive recently and thought it really highlighted the current state of perl, I know a lot of OSI visitors are Perl advocates and I’m interested to see your rebuttal to this guy’s points, so, please leave a comment :) |
|
| |
|  |
 |
| |
| |
| | Since I've been writing some tutorial's about php I want all you guys to know that Perl still > PHP in every way ;p |
|
| |
|  |
 |
| |
| |
| | So you wanna learn Perl and you downloaded some source code to get yourself started, huh? Can't figure out what all the regex means? Well im here for you. :) |
|
| |
|  |
 |
| |
| |
| | If you havn't worked with regex before, I recomment you to read my pre-tutorial (you will have to search for it :), this one will contain a little more "advanced" info on Regex's. |
|
| |
|  |
 |
| |
| |
| | In this article I will show how to receive form data using the post method, and explain what the code is doing at each step. |
|
| |
|  |
 |
| |
| |
| | Sockets are very easy, like most things in perl. In this tutorial you'll learn how to create a client and a server and how to get data from it. |
|
| |
|  |
 |