01-13-2013
This Week In Applied Mathematics
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello guys!
Can say me anybody about operatios with unix, I don't to make operations, only inside in a variable, like this
#y=4
#x=2
#let z=$y-$x
#echo $z
# 2
but I can't to make mathematical operations with decimal like this
#y=3.2
#x=1.5
#let z=$y-$x
#echo $z
# 3
this... (2 Replies)
Discussion started by: cesar720213
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
I am new to shell scripting and a trying to work this out.
I have a variable called $number.
The value in this variable is 10
I want to display $number - 2 in a mail. The result would be 8
eg.
mail -s 'subject' user <<eof
the result of your calculation is $number - 2... (2 Replies)
Discussion started by: sureshy
2 Replies
3. UNIX and Linux Applications
Can any one of you post the applications of UNIX? (6 Replies)
Discussion started by: chinni1888
6 Replies
4. Shell Programming and Scripting
I've been able to generate output based on the code scarfake provided me (thanks again man).
A little background so everyone more or less knows whats going on:
I needed code that would propagate a database with 100,000 entries, for capacity testing purposes, something like a stress test.
... (5 Replies)
Discussion started by: ogoy
5 Replies
5. Shell Programming and Scripting
Hello all!
I used to use expr for doing simple mathematics, but has a main advantage and a main disadvantage:
The advantage is that it can take variables for numbers
(e.g.{1}: echo "Give me first"
read lol
echo "Give other"
read lil
sum=`expr $lol + $lil`
echo "The sum of $lol and $lil =... (5 Replies)
Discussion started by: hakermania
5 Replies
6. SuSE
I have set up my hostname in dhcp and my dns server, but I cannot get the client to pick up the hostname that is listed for the ip.
IE. 10.32.23.4 hostname should be client4
Anyone know why?
It was working before and just stopped working (1 Reply)
Discussion started by: 3junior
1 Replies
7. What is on Your Mind?
I have added a new experimental "Computer Science and Mathematics Trivia - True or False" section in the discussions, currently under the tags box.
In the future, I plan to
Expand this feature to add more trivia categories from math, science and technology.
Keep track of correct and... (20 Replies)
Discussion started by: Neo
20 Replies
LEARN ABOUT DEBIAN
vitacilina
Vitacilina(3pm) User Contributed Perl Documentation Vitacilina(3pm)
NAME
Vitacilina - AXAh, quA~X buena medicina!
DESCRIPTION
A simple feeds engine exporter that uses YAML to get list of feeds and TT as templating system. Some people would call it an aggregator. It
was intended to be a reliable Planet (<http://planetplanet.org>) alternative, then some development ideas evolved into rFeed
(http://github.com/damog/rfeed). Vitacilina runs on production services on a couple of systems.
SYNOPSIS
use Vitacilina;
my $v = Vitacilina->new(
config => 'config.yaml',
template => 'template.tt',
output => 'output.html',
limit => '20',
);
$v->render;
FILES
config
The "config" parameter specifies the path to a YAML file specifying a list of feeds. Use this format:
http://myserver.com/myfeed:
name: Some Cool Feed
http://feeds.feedburner.com/InfinitePigTheorem:
name: InfinitePigTheorem
...
template
A "Template::Toolkit" file which will be taken as the template for output. Format:
[% FOREACH p IN data %]
<a href="[% p.permalink %]">[% p.title %]</a>
by <a href="[% p.channelUrl %]">[% p.author %]</a>
<br />
[% END %]
The "data" is an ordered array with a bunch of hashes with the simple data such as "permalink", "title", "channelUrl", "author", etc.
output
File path where the output will be written.
EXAMPLES
Take a look at the "examples/" directory for fully working example.
SEE ALSO
Git repository is located at <http://github.com/damog/vitacilina>. Also take a look at the Stereonaut! blog where similar developments
from the author are announced and sampled, <http://log.damog.net/>.
AUTHOR
David Moreno, david@axiombox.com. Alexandr Ciornii contributed with patches.
COPYRIGHT
Copyright (C) 2009 by David Moreno.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-11-29 Vitacilina(3pm)