Skip to content

Instantly share code, notes, and snippets.

View poelzi's full-sized avatar

Daniel Poelzleithner poelzi

View GitHub Profile
@poelzi
poelzi / gist:835537
Created February 20, 2011 00:11
getstat(.................) omg
#ifndef PROC_SYSINFO_H
#define PROC_SYSINFO_H
#include <sys/types.h>
#include <sys/dir.h>
#include "procps.h"
EXTERN_C_BEGIN
extern unsigned long long Hertz; /* clock tick frequency */
extern long smp_num_cpus; /* number of CPUs */
Traceback (most recent call last):
File "/home/poelzi/Projects/pida/pida-main/externals/pygtkhelpers/ui/objectlist.py", line 103, in cell_data_func
self.render(obj, cell)
File "/home/poelzi/Projects/pida/pida-main/externals/pygtkhelpers/ui/objectlist.py", line 99, in render
mapper(self, object, cell)
File "/home/poelzi/Projects/pida/pida-main/externals/pygtkhelpers/ui/objectlist.py", line 46, in __call__
mapper(cell, obj, renderer)
File "/home/poelzi/Projects/pida/pida-main/externals/pygtkhelpers/ui/objectlist.py", line 30, in __call__
value = obj if attr is None else getattr(obj, attr)
AttributeError: 'CtagItem' object has no attribute 'markup'
diff --git a/libs/liboping/Makefile b/libs/liboping/Makefile
index a9ee375..3520567 100644
--- a/libs/liboping/Makefile
+++ b/libs/liboping/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=liboping
-PKG_VERSION:=1.5.1
+PKG_VERSION:=1.6.0
@poelzi
poelzi / gist:798446
Created January 27, 2011 12:30
fix liboping
diff --git a/libs/liboping/Makefile b/libs/liboping/Makefile
index a9ee375..22f57a4 100644
--- a/libs/liboping/Makefile
+++ b/libs/liboping/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=liboping
-PKG_VERSION:=1.5.1
+PKG_VERSION:=1.6.0
@poelzi
poelzi / gist:794593
Created January 25, 2011 06:59
openwrt config file
#
# Automatically generated make config: don't edit
# OpenWrt version: Kamikaze (r25078)
# Mon Jan 24 07:39:22 2011
#
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_ppc40x is not set
# CONFIG_TARGET_ppc44x is not set
# CONFIG_TARGET_realview is not set
# CONFIG_TARGET_atheros is not set