Monday, September 21, 2009

install firefox plugin

Whether you need install a firefox plugin without internet connection, use this tip:

1. Type about:config into Firefox’s address bar
2. Right-click on the Firefox window. Select New > Boolean.
3. Set preference name to type extensions.checkCompatibility.
4. Set value to False

Then, restart firefox and install plugin with open file

Thursday, September 10, 2009

makefile condition

If you need conditionl instruction in Makefile this is a example

KNL_VER:= $(shell uname -r)
KNL_MAJOR:= $(shell echo $(KNL_VER) | cut -c -3)

LDFLAGS = -p
RV = 2.6



ifeq ($(KNL_MAJOR), $(RV))
LDFLAGS = -lm
else
LDFLAGS = -lc
endif