Sponsored Content
The Lounge What is on Your Mind? Daemon Media YouTube Channel - Please Subscribe Post 303035173 by Neo on Wednesday 15th of May 2019 11:00:23 PM
Old 05-16-2019
Check out this new intro video for the site, paid for, in part, by our generous Patreon supporters.

Thanks to our Patreon supporters for this video intro:

Code:
https://www.youtube.com/watch?v=w_LijUZtUZA

We need more YT subscribers for our new channel! Subscribe Now!
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Subscribe to a forum

Hi, Can any one tell me how to subscribe to the available forum on this website? I am registered user. Thanks, Yeheya (5 Replies)
Discussion started by: yeheyaansari
5 Replies

2. Red Hat

Spacewalk. Problem with adding the channel

OS: Fedora Linux 11 Spacewalk: 0.6 Installed by manual: https://fedorahosted.org/spacewalk/wiki/HowToInstall I download special script (create_channel.py) for registarion client from CLI and added 3 channel with 32-Bit architecture and all OK: Fedora 11 32-Bit RHEL 4.7 32-bit RHEL 5.3... (2 Replies)
Discussion started by: jess_t03
2 Replies

3. AIX

Setting up a secure channel with AIX

hi i have two aix servers and I was asked to setup a secure shell between the two servers using the sybase user. Can any one let me know how to do this (2 Replies)
Discussion started by: newtoaixos
2 Replies

4. Red Hat

Not able to subscribe any subscription

Hi Team I have installed RHEL Server V6.3 successfully and also register on REDHAT network "http://www.redhat.com/about/subscription/#" but not able to subscribe any subscription. It throws me : NO Subscription available. Anybody faced this issue ? Please help me due to this, I am not able to... (1 Reply)
Discussion started by: atul9806
1 Replies

5. AIX

[ASK] - AIX Fibre Channel behavior

Hello all, Let me introduce about the context and my environment. We have an AIX 6.1 system, it has 4 FC channels / > lsdev -Cc adapter | grep fcs fcs0 Available 23-T1 Virtual Fibre Channel Client Adapter fcs1 Available 23-T1 Virtual Fibre Channel Client Adapter fcs2 Available 23-T1... (14 Replies)
Discussion started by: Phat
14 Replies

6. What is on Your Mind?

Daemon Media YT Channel - Now with Official URL

Good news. Google has awarded us our own URL for our own YT Channel URL for Daemon Media. I guess we reached some YT criteria like number of subscribers or hours viewed: https://www.youtube.com/c/daemonmedia Our new channel is doing well, we are getting close to 1000 subscribers and our... (0 Replies)
Discussion started by: Neo
0 Replies

7. Programming

Publish and Subscribe to AES-256 Encrypted MQTT Messages to Node-RED from PHP Scripts

Various Node-Red crypto modules do not work with PHP, so to send an encrypted message from a PHP script (in this case from a Ubuntu server) to Node-RED we need our own code. After a few hours of searching, testing various libs, more testing and debugging, I got this PHP to Node-RED code... (0 Replies)
Discussion started by: Neo
0 Replies
WebService::CIA::Parser(3pm)				User Contributed Perl Documentation			      WebService::CIA::Parser(3pm)

NAME
WebService::CIA::Parser - Parse pages from the CIA World Factbook SYNOPSIS
use WebService::CIA::Parser; my $parser = WebService::CIA::Parser->new; my $data = $parser->parse($string); DESCRIPTION
WebService::CIA::Parser takes a string of HTML and parses it. It will only give sensible output if the string is the HTML for a page whose URL matches "https://www.cia.gov/library/publications/the-world-factbook/print/[a-z]{2}.html" This parsing is somewhat fragile, since it assumes a certain page structure. It'll work just as long as the CIA don't choose to alter their pages. METHODS
"new" Creates a new WebService::CIA::Parser object. It takes no arguments. "parse($html)" Parses a string of HTML take from the CIA World Factbook. It takes a single string as its argument and returns a hashref of fields and values. The values are stripped of all HTML. "<br>" tags are replaced by newlines. It also creates four extra fields: "URL", "URL - Print", "URL - Flag", and "URL - Map" which are the URLs of the country's Factbook page, the printable version of that page, a GIF map of the country, and a GIF flag of the country respectively. EXAMPLE
use WebService::CIA::Parser; use LWP::Simple qw(get); $html = get( "https://www.cia.gov/library/publications/the-world-factbook/print/uk.html" ); $parser = WebService::CIA::Parser->new; $data = $parser->parse($html); print $data->{"Population"}; AUTHOR
Ian Malpass (ian-cpan@indecorous.com) COPYRIGHT
Copyright 2003-2007, Ian Malpass This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The CIA World Factbook's copyright information page (<https://www.cia.gov/library/publications/the-world-factbook/docs/contributor_copy- right.html>) states: The Factbook is in the public domain. Accordingly, it may be copied freely without permission of the Central Intelligence Agency (CIA). SEE ALSO
WebService::CIA perl v5.8.8 2008-02-04 WebService::CIA::Parser(3pm)
All times are GMT -4. The time now is 03:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy