Skip to content

Instantly share code, notes, and snippets.

View ibmibmibm's full-sized avatar

Shen-Ta Hsieh(BestSteve) ibmibmibm

View GitHub Profile
diff --git a/configure.ac b/configure.ac
index c003d51..dcee18d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,9 @@ AS_IF([test "x$enable_dl" != "xno"], [
dnl include support for libkrun (EXPERIMENTAL)
AC_ARG_WITH([libkrun], AS_HELP_STRING([--with-libkrun], [build with libkrun support]))
AS_IF([test "x$with_libkrun" = "xyes"], AC_CHECK_HEADERS([libkrun.h], AC_DEFINE([HAVE_LIBKRUN], 1, [Define if libkrun is available]), [AC_MSG_ERROR([*** Missing libkrun headers])]))
+dnl include support for libssvm (EXPERIMENTAL)
+AC_ARG_WITH([libssvm], AS_HELP_STRING([--with-libssvm], [build with libssvm support]))
@ibmibmibm
ibmibmibm / fixed.conf
Last active December 14, 2017 08:14
memory leak with multiple call on FilterCall's init
@version: 3.13
@define allow-config-dups 1
source s1 { file("/tmp/test.in1"); };
# source s2 { file("/tmp/test.in2"); };
destination d1 { file("/tmp/test.out1"); };
# destination d2 { file("/tmp/test.out2"); };
filter f_double_init {
program("pattern");
#include <vector>
#include <deque>
#include <list>
#if __cplusplus >= 201103L
#include <forward_list>
#endif
#include <iostream>
#include <iterator>

Keybase proof

I hereby claim:

  • I am ibmibmibm on github.
  • I am beststeve (https://keybase.io/beststeve) on keybase.
  • I have a public key whose fingerprint is 47D8 E767 5D2E ED05 AAE3 93BD F4A6 CC83 76AF 45BB

To claim this, I am signing this object:

@ibmibmibm
ibmibmibm / gist:9737519
Created March 24, 2014 10:03
Auto play 9007199254740992.
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys
from PySide.QtCore import *
from PySide.QtGui import *
from PySide.QtWebKit import *
import random
app = QApplication(sys.argv)