Such as, (gdb) handle SIGPIPE nostop noprint pass
Read More about [Debug][tip]How to ignore specified signal when debugging program via gdbClose Notes Double click c:\notes\notes.ini to open it. Add one new line "Display_font_adjustment=n" after the third line in notes.ini file. "n" is the number.It can be 1or 2 or 3....and the font will be larger with the number increasing. Launch note
Read More about [HowTo][tip]How to adjust the font size of Notes editorSet vm arguments 'osgi.framework.extensions' and 'osgi.frameworkClassPath' when vm starts. If those value are set, those jar or path would be added into the classloader when starting EclipseStarter. See org.eclipse.equinox.launcher.Main for more details in the source code of Eclipse 3.4. Best Regards Kane
Read More about [OSGi][Eclipse]Add custom jar or path into Equinox FrameworkThe answer is very simple, using the service 'org.eclipse.service.PackageAdmin'.
Read More about [OSGi]How to acquire the fragments of specified bundleEquinox uses the adaptor hooks to implement the class loader. See http://wiki.eclipse.org/Adaptor_Hooks for more detail BaseClassLoadingHook would search the native code on itself. If it find the file in that jar file, it would extract the native library into its storage folder. EclipseClassLoadingHook defines some …
Read More about [Eclipse]Equinox's classloader and its URL schema1. 将要排版的文字贴到vim了 2. set textwidth=70 3. visual模式下选择要排版的文字,按gq, 就变成70字母1行的格式了
Read More about [tip][vim]排版小技巧In vi/vim, set file format=unix or dos2unix, unix2dos
Read More about [tip]convert dos format to unixBuild c/c++ project always need third party library on linux, such as gtk+, glib. Writing their absolute path in Makefile is not flexible way. You can use pkg-config instead of the absolute path. Below is code snippet: GTK_LIB=$(shell pkg-config --libs gtk+-2.0) GTK_INC=$(shell pkg-config --cflags gtk+-2.0) gcc -o …
Read More about [tip]MakefileOSGi provides a mechanism to let user contribute custom schemes automatically. It avoid some restriction with Java facilities for extending the handlers. The more detail could be found from OSGi specification R4, which has description how OSGi implements URL Handler Service. Use a sample to illustrate how to contribute …
Read More about [OSGi][Equinox]URL Handlers ServiceOSGi Spec defines Bundle-NativeCode header to contain a specification of native code libraries contained in that bundle. All magic things are initialized by org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLibrary(String) and org.eclipse.osgi.framework.internal.core.BundleLoader.findLibrary(String). Then …
Read More about [OSGi][Equinox]the Bundle-NativeCode implementation in Equinox