Hello all,
I'm having trouble getting the following code to work and at a point where I am stuck. I am trying to perform client side authentication using a certificate during a POST request. I'm only interested in sending the client cert to the server and don't really need to check the server...
Hello all,
Pretty new to PowerShell and hoping someone can point me in the right direction.
I need to perform a POST request and have to pass it a locally stored cert (x509) during the POST request, for authentication.
What is the best way or way to accomplish this? I've found plenty of...
Hello all,
I'm pretty new to both Ubuntu and Ubuntu in a mix Windows environment. I have my Ubuntu boxes all authenticating successfully using my AD. What I am now trying to do and having problem with is the following: Trying to setup a local non AD user on the Ubuntu box and it's still trying...
Not sure what it is you are trying to actually do.
If all you are trying to do is get a result or content, try this.
#!/usr/bin/perl
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Request::Common;
my $proxy = 'http://proxyIP:Port/';
my $contentget = 'http://www.google.com';
my $ua...
Hello all,
I am kinda stuck with what I am trying to do. Here is my code. I am creating a subroutine, which will be going into a larger script. Where I am stuck is trying to figure out the best to tackle to following problem.
#!/usr/bin/perl
use strict;
use Tie::File;
my $line;
my $i=0;
my...
Hello,
New to C#, I have been trying to figure out why the keyUP event I coded continues to trigger and how to suppress it.
KeyUp code that I am using is shown below. I have tried handled, suppressKeyPress, but neither keep it from firing once it performs the performClick action.
What I am...
Hello,
I am pretty new to C#. I am trying to figure out a few things.
I dragged a binary (which is console application) to my project. This cosole APP will be required to be installed/be part of the project when I do a build. Is this the right to do this, I want it to be copied when the user...
...them to the line after the To: section.
example:
MAIL FROM:<Megan@bankofdeerfield.com> SIZE=1016 BODY=7BIT
RCPT TO:<testuser36@testdomain.com> ******Grab this line *****
RCPT TO:<testuser22@testdomain.com> ******Grab this line *****
RCPT TO:<testuser99@testdomain.com> ******Grab this line...
...Sun, 9 Jan 2011 23:07:59 +0100
From: "outsideuser01" <outsideuser01@outdomain.com>
To: <testuser01@testdomain.com>
To: <testuser01@testdomain.com> *********-----APPENDED RCPT LINE HERE------**********
To: <testuser02@testdomain.com> *********-----APPENDED RCPT LINE HERE------**********...
Hello everyone,
I am pretty new to Perl and hoping someone can please point me in the right direction. I am trying to do stuff based on timestamp from the hour field.
I am doing something like this:
if ( $hour = 2..9 )
{
DOING STUFF HERE
}
If there anyway to either only show single...
Hello I am new to C# and I am going through some examples.
I ran across this example for passing data between forms and I am not quite sure with the extra stuff after the return (memberVariable)
Specifically the == 0 ? 0 : totalHoursDecimal / numOfChargeInteger; part? Is there another way to...
Hello,
trying to figure out how to timeout/wait xx seconds for a command to run/return before it dying out and just printing command took to long etc. Not an external command in this case I am running a simple -w to check if two different directories are writeable. The problem is that...
Hello everyone,
I am trying to normalize some data files that we generate which have a mix of ascii and hex chars in the header lines. I am new to Perl and having problems figuring out why 1) I am only able to grab the first hex match in each line instead of all/every occurrence of a hex value...
Hello Perl experts,
I am with no luck been trying to print all lines between two keywords that I have defined.
Not sure what the heck I am doing wrong.
I have a variable "$linesFromFile" which contains all data from a file. If I print the $linesFromFile I get correct results. Now what I am...
Hello Perl experts,
I am pretty new to Perl and trying to figure out how to do the following.
I have a script which I've added a subroutine that intercepts $SIG{INT} (control -c) key combination.
Now is there anyway/how can I tell my subroutine to get to a certain point in the script...
...Any help would be greatly appreciated.
my $dir = "$ARGV[0]";
find(\&matchingFiles, $dir);
sub matchingFiles {
if ( (-f) && /^strrd-.*\.txt$/ ) {
my $filename = "$File::Find::name";
open(RDSFILE, "< $filename") or return(0);
print "$filename\n";
my...
...way when/if new lines gets added I am sure that I am reading from an updated file.
So once again in simpler terms this is what I am trying to do.
*read files with paths
*remove the /local/ from the path in the .txt file.
*copy or move from the entry in the .txt file to new location without...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.