12-25-2018
LOL
False alarm!
After leaving the crazy thing unplugged for an hour and having enjoying a glass of red wine on my balcony; plugged it back in and Boom! Working again...
Maybe I will clean up some more CSSs tomorrow, moving inline styles to CSS and cleaning up my mess...
Never ending work....always more and more to do!!!!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, everyone. I tried to install red hat 8.0 on this computer ( CPU: Intel PIII 866, Memory 128 M, HD: 6.4G MATROX, Vedio card: RIVA TNT 16M), but the process always stuck. And the CD-ROM stopped and the light turned of, the HardDrive's light still on. I waited for almost one hour, but nothing... (5 Replies)
Discussion started by: HOUSCOUS
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a problem on CDE 1.4 Solaris 8.
It looks like each time I lock the screen, the dtexec that invoke
the dtscreen (that is o.k.) do not died after it done his job and it stay in the system and cause many zombie.
Any suggestions?
Thanks,
Itay. (3 Replies)
Discussion started by: itayst
3 Replies
3. UNIX and Linux Applications
Greetings all,
I'm on a solaris 9 system with vnc-4.1.2 installed. I had a connection to a vnc server that suddenly started sapping up cpu cycles - getting up around 13%. I killed the server instance, and now when I try to start a new server, i get the following message:
"vncserver: socket... (0 Replies)
Discussion started by: mike_q
0 Replies
4. HP-UX
Hello.
system fails on reboot this AM.
received message about not possible for kernel to find process that caused crash.
system does memory dump succesfully, then tries to boot again.
looking further at messages during this time, i'm getting 'init died with return value 256'...system panic... (12 Replies)
Discussion started by: mrviking
12 Replies
5. What is on Your Mind?
so my windows xp box has died. trust me, if i didnt game so much id be using solaris or linux but they dont make games for them :( anyway, i've got a really beat up old linux laptop that i'm using now. it runs well it just can't handle most of todays web pages. gmail is awful on this thing!! i wish... (4 Replies)
Discussion started by: pupp
4 Replies
6. HP-UX
Hi,
I am trying to setup subversion on hpux 11.11, the svnserve process can be started and the repos have been created, but every we connect to the svn via port 3699 the svnserver will died.
how can i troubleshoot this issue? there is not error from the syslog file. (0 Replies)
Discussion started by: robertngo
0 Replies
7. HP-UX
Hi,
I have searched the forum and found that there are many scripts that need the path i.e. /tmp, /opt, /var etc to be provided or hard coded for it to calculate the disk space free percentage.
What i need is a script that shows the free disk space for all partitions on my HPUX itanium... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT DEBIAN
html::rewriteattributes::resources
HTML::RewriteAttributes::Resources(3pm) User Contributed Perl Documentation HTML::RewriteAttributes::Resources(3pm)
NAME
HTML::RewriteAttributes::Resources - concise resource-link rewriting
SYNOPSIS
# writing some HTML email I see..
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
my $uri = shift;
my $content = render_template($uri);
my $cid = generate_cid_from($content);
$mime->attach($cid => content);
return "cid:$cid";
});
# need to inline CSS too?
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
# see above
},
inline_css => sub {
my $uri = shift;
return render_template($uri);
});
# need to inline CSS and follow @imports?
$html = HTML::RewriteAttributes::Resources->rewrite($html, sub {
# see above
},
inline_css => sub {
# see above
}, inline_imports => 1);
DESCRIPTION
"HTML::RewriteAttributes::Resources" is a special case of HTML::RewriteAttributes for rewriting links to resources. This is to facilitate
generating, for example, HTML email in an extensible way.
We don't care about how to fetch resources and attach them to the MIME object; that's your job. But you don't have to care about how to
rewrite the HTML.
METHODS
"new"
You don't need to call "new" explicitly - it's done in "rewrite". It takes no arguments.
"rewrite" HTML, callback[, args] -> HTML
See the documentation of HTML::RewriteAttributes.
The callback receives as arguments the resource URI (the attribute value), then, in a hash, "tag" and "attr".
Inlining CSS
"rewrite" can automatically inline CSS for you.
Passing "inline_css" will invoke that callback to inline "style" tags. The callback receives as its argument the URI to a CSS file, and
expects as a return value the contents of that file, so that it may be inlined. Returning "undef" prevents any sort of inlining.
Passing "inline_imports" (a boolean) will look at any inline CSS and call the "inline_css" callback to inline that import.
This keeps track of what CSS has already been inlined, and won't inline a particular CSS file more than once (to prevent import loops).
SEE ALSO
HTML::RewriteAttributes, HTML::Parser, Email::MIME::CreateHTML
AUTHOR
Shawn M Moore, "<sartak@bestpractical.com>"
LICENSE
Copyright 2008-2010 Best Practical Solutions, LLC. HTML::RewriteAttributes::Resources is distributed under the same terms as Perl itself.
perl v5.10.1 2010-11-18 HTML::RewriteAttributes::Resources(3pm)