20096 total geeks with 3178 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
Domuk
No, not an issue with the PHP - I was responding to "AJAX not being cross site is annoying"
MaxMouse
Really? i thought that would only be important if the user had some kind of control over where the XML came from, if you hard code it (As in a PHP file) wouldn't that eliminate XSS attacks?
Domuk
Yes, but very, very necessary. AJAX requests run in the context of the browser, there'd be no security if it was cross-domain .
MaxMouse
AJAX not being cross site is annoying, all other scripts can be used in that way, having to resort to PHP to patch it is a shame.
SAJChurchey
thx MaxMouse

Donate
Donate and help us fund new challenges
Donate!
Due Date: Nov 30
November Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
MySpace makes peace
with Indies
Nvidia previews
next-gen Fermi GPUs
Potty-mouths
charged for Comcast
hijack
Microsoft
Silverlight - now
with hidden Windows
bias
Apple cult leader
emails outside
world
Sony demos monster
3D TV
Wrecking CRU:
hackers cause
massive climate
data breach
Skinny Acer
notebook delivers
six-day battery
life
VTOL gyro-copter
flying car mates
with killer robot
Oracle begs EC for
more time
Slashdot
iPhone Owners
Demand To See Apple
Source Code
Proton Beams Sent
Around the LHC
Microsoft"s Lack of
Nightly Builds For
IE
Some Claim Android
App Store Worse
Than iPhone"s
Climatic Research
Unit Hacked, Files
Leaked
Aging Nuclear
Stockpile Good For
Decades To Come
Netbooks Have
Higher Failure Rate
Than Laptops
Xbox Live Class
Action Being
Investigated
Patent Issued For
Podcasting
Linus Torvalds For
Nobel Peace Prize?
Articles in topic

Perl

Perl: Batch-download YouTube videos to MP3s with ID3 Tags
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!
5454 bytes more - viewed 386 times - comments - zero rated
Perl: An IRC Bot in Perl
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.
15525 bytes more - viewed 1448 times - comments - rated
Perl: Cute DBI
by: thinkt4nk - 2008-08-15 19:32:15
Simple DBI interface for perl's DBI::CSV that I hacked up.
1467 bytes more - viewed 1452 times - comments - zero rated
Perl: Socket programming in Perl: Part II
by: thinkt4nk - 2008-06-29 20:13:59
In this second part of the two part series, we discuss socket programming using the IO::Socket subclass.
7607 bytes more - viewed 3029 times - comments - rated
Perl: Diving into the Perl Regular Expression Engine
by: thinkt4nk - 2008-06-05 04:38:32
Basic regex functionality and syntax using Perl
14459 bytes more - viewed 2974 times - comments - rated
Perl: Socket programming in Perl: Part I
by: thinkt4nk - 2008-05-20 00:13:46
In this first part of the two part series, we discuss socket programming using the Socket.pm module
8996 bytes more - viewed 2982 times - comments - rated
Perl: Bitwise Operators in Perl
by: trapt - 2008-05-16 22:13:22
How to Use Bitwise Operators in Perl
9655 bytes more - viewed 6432 times - comments - rated
Perl: Perlfect for Intranet
by: ketan404 - 2006-11-13 08:42:35
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.
2397 bytes more - viewed 3162 times - comments - rated
Perl: Command Line TV Recording
by: ateam - 2005-10-09 13:55:37
Recording shows off of your Linux-supported TV tuner card has never been easier!
6206 bytes more - viewed 9511 times - comments - zero rated
Perl: ACPI Battery stats for the command line
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...
4260 bytes more - viewed 4994 times - comments - zero rated
Perl: ACPI Battery Check
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.
5114 bytes more - viewed 10409 times - comments - rated
Perl: Automating Downloads
by: telekinetic - 2005-03-29 17:11:01
How to automate the download of similar looking files with the help of PERL.
3637 bytes more - viewed 14091 times - comments - rated
Perl: Interaction Flash/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.
5362 bytes more - viewed 15524 times - comments - rated
Perl: RFC: Use of hashes
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.
1252 bytes more - viewed 9791 times - comments - rated
Perl: Perl crypt() function
by: Phishy - 2004-08-05 05:46:01
An introduction to the Perl crypt() function and some example uses.
2728 bytes more - viewed 68169 times - comments - rated
Perl: Using Digest::MD5 to create hashes
by: Codecfault - 2004-01-22 00:37:36
Shows how to create encrypt using the Digest::MD5 module
2112 bytes more - viewed 7338 times - comments - rated
Perl: How to make code do your work for you
by: dimport - 2003-07-06 20:11:51
A small and lazy aproach to a bit of perl using system commands ;]
3267 bytes more - viewed 4742 times - comments - zero rated
Perl: Perl Bot
by: dimport - 2003-06-21 07:19:46

This is a stripped down perl bot with only the very basic commands.
2342 bytes more - viewed 9521 times - comments - zero rated
Perl: News syndication (RSS) with Perl
by: dimport - 2003-06-21 07:19:46
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...
10276 bytes more - viewed 6652 times - comments - rated
Perl: Googling with SOAP::Lite
by: dimport - 2003-06-21 07:19:46
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 :)
2730 bytes more - viewed 6655 times - comments - rated
Perl: A simple perl poll survey
by: dimport - 2003-06-21 07:19:46
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..
4416 bytes more - viewed 7698 times - comments - rated
Perl: Simple perl web-counter
by: dimport - 2003-06-21 07:19:46
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.
2166 bytes more - viewed 8470 times - comments - rated
Perl: Base64 Encoder/Decoder in Perl
by: dimport - 2003-06-21 07:19:46
This is basically a simple usage of the MIME::Base64 module.
1056 bytes more - viewed 14340 times - comments - zero rated
Perl: Win32 API in Perl
by: dimport - 2003-06-21 07:19:46
This is a simple example of how to work with Win32 API in perl.
2007 bytes more - viewed 16909 times - comments - rated
Perl: Simple Perl Cryptography Script
by: dimport - 2003-06-21 07:19:46
This is a simple perl script to encrypt text, you can find a cgi version of this code online at The Red Network
1292 bytes more - viewed 6545 times - comments - rated
Perl: Line Breaks Converter
by: dimport - 2003-06-21 07:19:46
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.
4127 bytes more - viewed 10784 times - comments - rated
Perl: simple perl server
by: dimport - 2003-06-21 07:19:46
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))
2081 bytes more - viewed 12860 times - comments - rated
Perl: Simple Encryption Using XOR in Perl
by: dimport - 2003-06-21 07:19:46
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


1418 bytes more - viewed 19062 times - comments - rated
Perl: Using sendmail in Perl
by: dimport - 2003-06-21 07:19:46
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:
2453 bytes more - viewed 7101 times - comments - rated
Perl: Perl/Tk tutorial part1
by: dimport - 2003-06-21 07:19:46
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).
9505 bytes more - viewed 29359 times - comments - rated
Perl: Associative Arrays
by: dimport - 2003-06-21 07:19:46
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!
432 bytes more - viewed 5820 times - comments - zero rated
Perl: System Information in Perl
by: dimport - 2003-06-21 07:19:46
Here are some tips on how to work with system and user informations on Linux. You won't need any additional modules.
5666 bytes more - viewed 9983 times - comments - rated
Perl: Creating a Hello World program in Perl
by: dimport - 2003-06-21 07:19:46
gOtHiC_fReAk` shows us how to write hello world simply in perl, with both the perl and CGI versions. Nice little taster.
1619 bytes more - viewed 6353 times - comments - rated
Perl: Prime number finder
by: dimport - 2003-06-21 07:19:46
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!
316 bytes more - viewed 10048 times - comments - zero rated
Perl: Perl Sysadmin Shell History Script
by: dimport - 2003-06-21 07:19:46
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.
3342 bytes more - viewed 7330 times - comments - rated
Perl: Perl IP to Domain Name weblog converter
by: dimport - 2003-06-21 07:19:46
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).
2715 bytes more - viewed 12309 times - comments - zero rated
Perl: Basic Perl Tutorial for Beginners
by: dimport - 2003-06-21 07:19:46
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.....
256 bytes more - viewed 12794 times - comments - rated
Perl: Perl Kazaa User Connection Checker
by: dimport - 2003-06-21 07:19:46
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.
4175 bytes more - viewed 13077 times - comments - zero rated
Perl: The Future of Perl?
by: dimport - 2003-06-21 07:19:46
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 :)
6292 bytes more - viewed 11259 times - comments - rated
Perl: Login script w/perl
by: dimport - 2003-06-21 07:19:46
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
878 bytes more - viewed 19399 times - comments - rated
Perl: The Perl Regex
by: dimport - 2003-06-21 07:19:46
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. :)
2952 bytes more - viewed 6498 times - comments - rated
Perl: Playing with the Regex
by: dimport - 2003-06-21 07:19:46
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.
1806 bytes more - viewed 8242 times - comments - rated
Perl: Receiveing Form Data Using the Post Method
by: dimport - 2003-06-21 07:19:46
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.
2281 bytes more - viewed 9313 times - comments - rated
Perl: Perl and IO::Socket
by: dimport - 2003-06-21 07:19:46
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.
2634 bytes more - viewed 16326 times - comments - rated

Features

The Forums
Re: Maximizing
a Cone

(UnTaran/Geek Tips)
In the .bin
(UnTaran/Geek Tips)
Re: Triangle
Geometry

(CodeX/Geek Tips)
Re: Please help
with challenge
1!!!

(maxmouse/Geek Tips)
Re: Error in
PHP statement

(Domuk/Technical Questions)

Recent Blogs
Blog entry for
Mon 9th Nov 4am
feck you
all!!!!!!!!
0 comments
echmil's blog
Sat 7th Nov 11pm
IIS 6 SelfSSL
and Windows 7
0 comments
bb's blog
Tue 29th Sep 12pm
My PHP Projects
PSP

Current Poll
Given the
opportunity to
work for any game
developer, which
would you choose?
Share you're
reasoning plus
any other
developers, this
is only a tiny
list off the top
of my head so
share away!

Lionhead Studios
Konami
Pandemic Studios
Activision
Blizzard Entertainment
Capcom
Bethesda Softworks
Other (Please Comment)



View Results
(16 Comments)

Site Comments
Good tutorial.
I really loved
it

(Anonymous / Creating Custom Events in C#)
Hi
Tim, there
is one mistake
in your c...

(jirka77 / ROL/ROR in C)
i tried to use
the above code
and im getting...

(Anonymous / Sending Email in VB.Net)
upload it
again!!

(Anonymous / Tic-Tac-Toe: an unbeatable foe)
:) WINK WINK
(Anonymous / Introduction to Visual Basic Socket Programming)
your code
doesn't work
for any othe
bmp f...

(Anonymous / A 24-bit v.3 BMP Primer)
Thanks for
sharing.
Jonny cleaner
revie...

(Anonymous / A simple IRC BOT written in Python)
Ok, i writing a
similar program
but i need t...

(Anonymous / Simple C++ program to find all numbers that are divisible by a number)
Thanx a lot. A
very good
explanation.
Wik...

(Anonymous / Solving sudoku with C#)
need to install
john for my
homework, i
j...

(Anonymous / John the Ripper Tutorial)


     
Your Ad Here
 
Copyright Open Source Institute, 2006