Shared library in containers

Actually, processes A & B that use a shared library libc.so can share the same memory. Somewhat un-intuitively it depends on which docker storage driver you’re using. If you use a storage driver that can expose the shared library files as originating from the same device/inode when they reside in the same docker layer then … Read more

How to start Solr automatically?

As you’re on a shared Linux box, you’ll have to ask the system administrator to do the following, probably. Create a startup script in /etc/init.d/solr. Copy this code, my Solr startup script, into that file: #!/bin/sh # Prerequisites: # 1. Solr needs to be installed at /usr/local/solr/example # 2. daemon needs to be installed # … Read more

How to share keychain data between iOS applications

After some (a lot of) digging throughout the web, I found the answer. The access Group that you use when constructing your KeychainItemWrapper class must ALSO be specified in each of your application’s Entitlements.plist file in the “keychain-access-groups” section. It seems almost obvious now that I see “keychain-access-groups“. However, I had no idea to even … Read more

Push git changes to a shared network drive

Not sure if you found something that works for you or not, but I have a writeup on how to do that very thing on a windows network drive: http://tony.halcyonlane.com/blog/2011/09/22/Using-git-at-work-on-a-Windows-network-drive/ From a cmd prompt change to your mapped drive. $ cd g: Then cd into your soon to be git repository. $ cd scripts Then … Read more