06-05-2011
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
For a multi-boot setup (win2K, XP & SuSE) over 3 drives, where should Boot Magic be installed to? And does it matter which o/s installs it? (3 Replies)
Discussion started by: onestepto
3 Replies
2. UNIX for Advanced & Expert Users
i am working under this sysytem SunOS sparc SUNW,UltraAX-i2
Some system on this server creates a file named like this.
Elem_ee.xml.gz
Elem_ee.xml.gz.magic
In order to look into Elem_ee.xml.gz.magic, i first renamed Elem_ee.xml.gz.magic
to Elem_ee.xml.gz and tried to unzip it. but returns... (3 Replies)
Discussion started by: oppai
3 Replies
3. Filesystems, Disks and Memory
Dear All,
i have a SCSI hard disk drive i'm installing on it solaris 5 and the workstation is sun sparc, i made an image of this H.D using Norton Ghost 6, so i took off the SCSI H.D from the sun workstation and put it on a Compaq server then i booted the server from the Norton Ghost floppy disk... (0 Replies)
Discussion started by: wesweshahaha
0 Replies
4. UNIX for Dummies Questions & Answers
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance. (0 Replies)
Discussion started by: vijlak
0 Replies
5. UNIX for Advanced & Expert Users
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance. (1 Reply)
Discussion started by: vijlak
1 Replies
6. Shell Programming and Scripting
Hi,
I have this line in my script, and works perfect!
tran= "$(sed = "$fname" | sed "/./N; s/\n/: /" | sed -n "${beg},${end}p")"
$fname its a file, and gets multilines between beg and end.:
Something like this:
1: line a
2: line b
3: line c
But now, I want insert in the end of each... (9 Replies)
Discussion started by: vibra
9 Replies
7. UNIX for Dummies Questions & Answers
when i use this code for the script of the magic 8ball, i get an error message and it always displays the sam answer. What am i doing wrong or what am i missing thanks
#!/bin/sh
#< Magic eight ball!
# KW 26/11/04
# Requires "rand"
echo "Enter \"q\" followed by return to quit"
function... (6 Replies)
Discussion started by: JamieMurry
6 Replies
8. Shell Programming and Scripting
I want to become an expert @ using sed, but i do not have enough time...
Atm I have a repository in my apt/sources.list but it is commented out since i do not want to install packages from it (backtrack repository) except the exploitdb package.
I would like make a command, lets say... (5 Replies)
Discussion started by: redsolja
5 Replies
9. Shell Programming and Scripting
Hello all,
I have an inherited an old ugly script I'm trying to clean up a bit.
What I am currently working on is a line like the following:
Complication=" and ta.secID = 011222 and upper(ta.proc_ctrl_no) != 'IMPACT'";;
I just want to combine a search for lines that begin with... (5 Replies)
Discussion started by: blip42
5 Replies
LEARN ABOUT DEBIAN
webservice::youtube::util
WebService::YouTube::Util(3pm) User Contributed Perl Documentation WebService::YouTube::Util(3pm)
NAME
WebService::YouTube::Util - Utility for WebService::YouTube
VERSION
This document describes WebService::YouTube::Util version 1.0.3
SYNOPSIS
use WebService::YouTube::Util;
# Get an URI of RSS
my $uri = WebService::YouTube::Util->rss_uri( 'global', 'recently_added' );
# Get an URI of REST API
my $uri = WebService::YouTube::Util->rest_uri( $dev_id,
'youtube.videos.list_by_tag',
{ tag => 'monkey' }
);
# Get a downloadable URI
my $uri = WebService::YouTube::Util->get_video_uri('rdwz7QiG0lk');
# Get a video which type is .flv
my $content = WebService::YouTube::Util->get_video('rdwz7QiG0lk');
DESCRIPTION
This is an utility for WebService::YouTube.
SUBROUTINES
/METHODS
rss_uri( $type, $arg )
Returns a URI of RSS. $type should be 'global' or 'tag' or 'user'. $arg is required when $type is 'tag' or 'user'.
rest_uri( $dev_id, $method, \%fields )
Returns a URI of REST API. $dev_id is your developer ID of YouTube. $method is a method name like a 'youtube.*.*'. %fields can contain
optional parameter.
get_video_uri( $video, \%args )
Returns a downloadable URI of $video. $video should be a video ID or a WebService::YouTube::Video object. %args can contain some optional
arguments.
ua LWP::UserAgent object
get_video( $video, \%args )
Returns a downloaded content of $video. $video should be a video ID or a WebService::YouTube::Video object. %args can contain some
optional arguments.
ua LWP::UserAgent object
DIAGNOSTICS
type of ... is not supported
No such RSS. The type should be 'global' or 'tag' or 'user'.
got a page but it is invalid page
Maybe, YouTube is being maintained. :-)
CONFIGURATION AND ENVIRONMENT
WebService::YouTube::Util requires no configuration files or environment variables.
DEPENDENCIES
WebService::YouTube, LWP::UserAgent, URI::Escape
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
AUTHOR
Hironori Yoshida <yoshida@cpan.org>
LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
perl v5.10.1 2009-01-20 WebService::YouTube::Util(3pm)