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 More about Using the certificate of Windows code signing to sign jarsI 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 More about Unlock the locked profile if firefox/thunderbird crashI 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 More about Eclipse P2's import/export capabilityRecently 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 More about Inside P2's profile (2) - the fragment matches all osgi bundlesYou 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 More about Inside P2's profile (1) - inclusion rulesLatest 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 More about stack overflow protectorRecently I just know such a useful syntax usage of java. aLoopName: for (;;) { // ... while (someCondition) // ... if (otherCondition) continue aLoopName;
Read More about the loop name for 'for' clause in javaIt'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 More about rename commandIf 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 about applying proxy for the softwares without proxy support in linux