Skip to content

Category Archives: Languages

Building ri with RVM

18-May-11

Installing Ruby Gems as a non-root user

31-May-10

Information from How to install gems when you’re not root as recorded in Google’s cache (site appears to be down from here, perhaps permanently). Set the GEM_PATH environment variable: When installing gems, use the “-i” flag: You may wish to add ~/gems/bin to your shell’s path.

Add a Certificate to a JDK Installation

02-Feb-10

> sudo /depot/jdk-1.6/bin/keytool -keystore /depot/jdk-1.6/jre/lib/security/cacerts -import -file example.pem -alias EXAMPLE Password: Enter keystore password: Owner: CN=dc02, DC=example, DC=com Issuer: CN=dc01, DC=example, DC=com Serial number: 70e889ad000000000009 Valid from: Mon Mar 30 15:56:24 PDT 2009 until: Wed Mar 30 16:06:24 PDT 2011 Certificate fingerprints: MD5: 5B:2E:90:C6:2D:3F:C9:9F:8D:E6:9D:15:AD:3C:0A:AD SHA1: B9:0B:62:65:72:72:80:0B:1E:8F:71:B5:87:A7:FB:6D:E8:A5:34:E5 Signature algorithm name: SHA1withRSA Version: 3 Extensions: #1: ObjectId: [...]