03-22-2017
5 More Discussions You Might Find Interesting
1. New to Unix. Which books should I read?
Yesterday I saw a closed post by xramm which gave a link to O'Reilly online books. Vino closed it because of copyright issues.
However, O'Reilly has a section on their website where you can read online copies of their own books - obviously not a copyright problem. Most are fairly old editions,... (0 Replies)
Discussion started by: rhfrommn
0 Replies
2. Shell Programming and Scripting
File_A contains Strings:
a
b
c
d
File_B contains Strings:
a
c
z
Need to have script written in either sh or ksh. Derive resultant files (File_New_A and File_New_B) from lists File_A and File_B where string elements in File_New_A and File_New_B are listed below.
Resultant... (7 Replies)
Discussion started by: mlv_99
7 Replies
3. UNIX for Advanced & Expert Users
Hi
original video clip
> ls -alh reallynotpr0n.flv
-rw-r--r-- 1 jonny staff 165M Nov 18 19:57 reallynotpr0n.flvtrying to cut only last 3 minutes of the clip out.
> ffmpeg -i reallynotpr0n.flv -vcodec copy -acodec copy -ss 00:52:00 -t 00:03:48 trimmed_video.avi
ffmpeg version 0.7.7,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies
4. IP Networking
Hi,
I am trying to establish vpn between my linux server and cisco asa at client side.
I installed openswan on my cent os.
Linux Server
eth0 - 182.2.29.10
Gateway - 182.2.29.1
eth1 - 192.9.200.75
I have simple IPtables Like
WAN="eth0"
LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies
5. IP Networking
Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? "
A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
LEARN ABOUT CENTOS
perl::critic::policy::controlstructures::prohibitdeepnests
Perl::Critic::Policy::ControlStructures::ProhibitDeepNesUser)Contributed Perl DocumenPerl::Critic::Policy::ControlStructures::ProhibitDeepNests(3)
NAME
Perl::Critic::Policy::ControlStructures::ProhibitDeepNests - Don't write deeply nested loops and conditionals.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
Deeply nested code is often hard to understand and may be a sign that it needs to be refactored. There are several good books on how to
refactor code. I like Martin Fowler's "Refactoring: Improving The Design of Existing Code".
CONFIGURATION
The maximum number of nested control structures can be configured via a value for "max_nests" in a .perlcriticrc file. Each for-loop, if-
else, while, and until block is counted as one nest. Postfix forms of these constructs are not counted. The default maximum is 5.
Customization in a .perlcriticrc file looks like this:
[ControlStructures::ProhibitDeepNests]
max_nests = 3
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::Policy::ControlStructures::ProhibitDeepNests(3)