I did sign the jars via reusing the existing certificate of Windows code signing several months ago. Writing it down for further reference. Whatever your purpose of reusing the existing Windows code certificate, I only document the way from technical perspective. After buying the certificate of Windows code signing …
Read MoreI met that firefox/thunderbird complained another its instance running even if no a running firefox/thunderbird process. Finally let them run again after removing the '.parentlock' file in their default profile. strace utility helps me a lot to find the solution. strace -f -e file firfox
Read MoreI implemented the replication tool at the end of 2009, then published it to Eclipse Marketplace in May 2010. However it's not pervasively used due to users have to install that plug-in firstly. I searched a similar request on bugzilla, then I initialized my contribution in the early of this year. Finally it was …
Read MoreRecently our installer met a strange bug, it didn't uninstall all legacy bundles after updating to new version. Finally I found it's due to a magic fragment is missing in the profile due to some causes. installBundle(bundle:${artifact}) uninstallBundle(bundle:${artifact}) setStartLevel(startLevel:4); It has …
Read MoreYou would see some interesting properties at the bottom of eclipse's profile. For example, It attaches a property named 'org.eclipse.equinox.p2.internal.inclusion.rules' with value 'STRICT' on the IU 'org.eclipse.sdk.ide' with version 3.6.1.M20100909-0800. It's a very important property for the p2 engine. It means the …
Read MoreLatest gcc compiler enables the stack overflow protector that is since GLIBC 2.4. So the library or executable is compiled by latest gcc could be loaded or executed in RHEL4 or Solaris 9 that only have GLIBC 2.3. Hence using option '-fno-stack-protector' to compile the library or executable to make sure it could be …
Read MoreRecently I just know such a useful syntax usage of java. aLoopName: for (;;) { // ... while (someCondition) // ... if (otherCondition) continue aLoopName;
Read MoreIt's a powerful command to rename files in a batch. Usage: rename 's/(\d+)$/$1.txt/' * rename add '.txt' extension name for all files that ends with number.
Read MoreIf you have http proxy, set it to system environment, export http_proxy=http://127.0.0.1:8000 Then start the application in that same terminal. If the proxy is socks proxy, use 'tsocks' to wrap the application in terminal.
Read More