The author of this code does not tell where put it in the file... i suppose the good place is between <head> tags.
You just have to build your cssheets as you want and you're done! :D
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCSS()
{
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
if (thehour > 20)
display = "tree_twilight.css";
else if (thehour > 17)
display = "tree_sunset.css";
else if (thehour > 14)
display = "tree_afternoon.css";
else if (thehour > 11)
display = "tree_noon.css";
else if (thehour > 7)
display = "tree_morning.css";
else if (thehour > 4)
display = "tree_sunrise.css";
else if (thehour > 1)
display = "tree_twilight.css";
else
display = "tree_sunset.css";
var css = '<'; css+='link rel="stylesheet" href=' + display + ' \/'; css+='>';
document.write(css);
// End -->
}
</script>
<script language="javascript">getCSS();</script>
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1398"></script>
# [Default] All domains have the same time synchronized from ntp-client in dom0.
echo 0 > /proc/sys/xen/independent_wallclock
# If, however, this is not the case, you will have to run ntp-client on all guests. For this to work, you will need to set to 1, i.e.
echo 1 > /proc/sys/xen/independent_wallclock
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1336"></script>
// Code PHP à bencher
for ($i = 0; $i < 10000; $i++)
{
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1310"></script>
time command > timelog doesn't work, because time outputs to stderr
time command 2> timelog doesn't work either, because time actually is a bash keyword, and it's always run in a subshell
Redirecting the output of time can be achieved by executing the whole command in a block, then redirecting its output:
{ time command; } 2> timelog
Note: Linux also provides a time binary (/usr/bin/time), but with a different output (and might be less efficient ?)
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/803"></script>