Skip to content

Instantly share code, notes, and snippets.

ps x -o pid,cmd| perl -anle 'BEGIN{chomp($i=`date --date "5 hour ago" +%Y%m%d%H%M%S`)} $_=$F[3]; print $F[0] if defined and /\d{14}/ and $_ lt $i'
#include <iostream>
template<typename D>
struct Hige
{
void hige() { static_cast<D*>(this)->doit(); } // <- **
};
class Hoge
: Hige<Hoge>
=== modified file 'Makefile.PL'
--- Makefile.PL 2010-08-24 05:03:18 +0000
+++ Makefile.PL 2010-08-24 06:21:15 +0000
@@ -20,6 +20,7 @@
test_requires 'Test::More' => 0.88; # done_testing()
test_requires 'Test::Requires';
+test_requires 'IPC::Run';
#test_requires 'Test::LeakTrace';
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/199/xhtml">
<body>
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3.1");
</script>
<script type="text/javascript">
$(function() {
var t1 = $("#test1");
<html>
<head>
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3.1");
</script>
</head>
<body>
<div class="test">
<script type="text/javascript">