I saw a few posts close to what i want to do, but they didn't look like they would work exactly.. or I need to think out of the box on this.
I have a file that I keep server stats in for my own performance analysis. this file has the output from many commands in it (uptime, vmstats, ps, swap... (2 Replies)
Hi,
I have gps receiver, by using gpsd data i can read gps log data to my database(my sql).
Steps:
1. telenet localhost 2947 > gps.txt (press enter)
2. r (press enter) //then i will get the data like below in gps.txt file
Trying 127.0.0.1...
Connected to localhost.... (1 Reply)
Hi,
I would like to write a program to receive the GPS data and then send the data via network to other program.
All of the program is not write yet(include host and sender)
All of the server OS is unix or linux
Could you mind to give me some idea to do this?
Thanks so much!
Ken
... (2 Replies)
Hi all,
I have the following script, but are not too sure about the syntax to complete the script.
In essence, the script must connect to a SFTP server at a client site with username and password located in a file on my server.
Then change to the appropriate directory.
Pull the data to the... (1 Reply)
Hi there, Please could anyone help with this.
I have an xml file that contains repeating values eg
<Rule name> AAAAA
<Action> BBBBB
</Action>
<Data> CCCCC
</Data>
<Type> DDDDD
</Type>
</Rule name>
<Rule name> A1A1A1A1
<Action> B1B1B1B1
</Action>
<Data> C1C1C1C
</Data>
<Type>... (4 Replies)
Hello, fellow computer junkies. First time poster! My boss wrote an application (Mavericks 10.9, Mountain Lion 10.8) that checks a user's security settings. The user runs the application, then it spits out an email that is sent back to our inbox showing the results. On our end, we have a mail rule... (5 Replies)
I have a file full of coordinates of the form:
37.68899917602539 58.07500076293945 57.79100036621094
The numbers don't always have the same number of decimal points. I need to reduce the decimal points of all the numbers (there are 128 rows of 3 numbers) to 2.
I have tried to do this... (2 Replies)
I'm scanning a list of emails- I need to pull 2 pieces of data, then move to the next file:
Sender's Email Address
Email Date
I need these to be outputted into a single column- separated by a ",". Like this:
Email1's Address, Email1's Date Stamp
Email2's Address, Email2's Date Stamp... (4 Replies)
awk -v now="$(date +%s)" -v tDiff="${USERMINUTES}" '
BEGIN {
FS="="
if (!now) now=systime()
if (!tDiff) tDiff=60*60
p=1
}
/{/ {rec=$0;p=1;next}
/}/ && rec && p {print rec ORS $0;next}
$1=="entry_time" { if (now-$2>tDiff)p=0 }
{rec=rec ORS $0}'... (6 Replies)
Discussion started by: SkySmart
6 Replies
LEARN ABOUT DEBIAN
cam::pdf::gs
CAM::PDF::GS(3pm) User Contributed Perl Documentation CAM::PDF::GS(3pm)NAME
CAM::PDF::GS - PDF graphic state
LICENSE
See CAM::PDF.
SYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
DESCRIPTION
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually
based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override the renderText() method.
CONVERSION FUNCTIONS
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles text-printing nodes, and hands all other types to the
superclass.
$self->textToUser($x, $y)
Convert text coordinates ("Tm") to user coordinates. Returns the converted X and Y.
$self->textToDevice($x, $y)
Convert text coordinates ("Tm") to device coordinates. Returns the converted X and Y.
$self->textLineToUser($x, $y)
Convert text coordinates ("Tlm") to user coordinates. Returns the converted X and Y.
$self->textLineToDevice($x, $y)
Convert text coordinates ("Tlm") to device coordinates. Returns the converted X and Y.
$self->renderText($string, $width)
A general method for rendering strings, from "Tj" or "TJ". This is a no-op, but subclasses may override.
$self->Tadvance($width)
Move the text cursor.
DATA FUNCTIONS
$self->BT()
$self->Tf($fontname, $fontsize)
$self->Tstar()
$self->Tz($scale)
$self->Td($x, $y)
$self->TD($x, $y)
$self->Tj($string)
$self->TJ($arrayref)
$self->quote($string)
$self->doublequote($tw, $tc, $string)
$self->Tm($m1, $m2, $m3, $m4, $m5, $m6)
AUTHOR
See CAM::PDF
perl v5.14.2 2012-07-08 CAM::PDF::GS(3pm)