Archive
Command line clipboard copy from file in Mac OS X
cat ~/.ssh/id_rsa.pub | pbcopy
Nginx on Mac OS X
Modified from Nginx on Mac OS X Snow Leopard in 2 Minutes post.
#!/usr/bin/env bash PCRE_DIR="pcre-8.12" PCRE_LINK="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$PCRE_DIR.tar.gz" NGNIX_DIR="nginx-0.8.54" NGNIX_LINK="http://nginx.org/download/$NGNIX_DIR.tar.gz" ## DOWNLOADS curl -OL h $PCRE_LINK > $PCRE_DIR.tar.gz curl -OL h http://nginx.org/download/$NGNIX_DIR.tar.gz > $NGNIX_DIR.tar.gz ## Install PCRE tar xvzf $PCRE_DIR.tar.gz cd $PCRE_DIR ./configure --prefix=/usr/local make sudo make install cd .. ## Install Nginx tar xvzf $NGNIX_DIR.tar.gz cd $NGNIX_DIR ./configure --prefix=/usr/local --with-http_ssl_module make sudo make install
To run:
sudo /usr/local/sbin/nginx -p /usr/local/
To stop
sudo /usr/local/sbin/nginx -s stop
SSL connect from RubyMine (win32)
SSL connection is used when using, for example, RubyMine integration with bugtrackers or Task servers, like Redmine
or Jira.
If certificate is not installed to RubyMine’s keystore within jre,
it fails with an error:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
To avoid this:
1. Export certificate *.cer
2.
cd c:\Program Files (x86)\JetBrains\RubyMine 3.0.1\jre\jre\lib\security\
3.
keytool -import -alias myAlias -keystore cacerts -file c:\myCertificate.cer
Internet from HOT/013 — tryout
Installing mysql gem on Leopard
- Get MySQL from http://dev.mysql.com/downloads/mysql/. (Get 64-bit dmg)
- Install it
- Command for gem install:
sudo env ARCHFLAGS="-arch x86_64" \ gem install mysql -- \ --with-mysql-config=/usr/local/mysql/bin/mysql_config
Zend Server CE on Ubuntu 9.10
Here: https://bugs.launchpad.net/ubuntu/+source/openwsman/+bug/462059
Evan Broder wrote on 2009-10-30: #6
The transition wasn’t actually libkrb53 -> libkrb5-3. The old libkrb53 package was split up into several other packages (libkrb5-3 for libkrb5 itself, but also libgssapi-krb5-2, libk5crypto3, and libkrb5support0).As a temporary fix, you can use equivs to generate a fake transitional libkrb53 package. Run equivs on a file with these contents:
Package: libkrb53
Version: 1.6.dfsg.2+fake1
Depends: libkrb5-3, libgssapi-krb5-2, libk5crypto3, libkrb5support0then install the resulting .deb.
In the longer term, the libkrb53 dependency in the affected packages was automatically generated at build-time based on what libraries the binaries in the packages linked against. To fix the bug, it should be sufficient to just rebuild the packages with no changes.
The libkrb53 package was intentionally removed fairly early in the Karmic development process, and there was a fairly lengthy process to make sure all the affected packages were rebuilt; I’m not sure why this one got overlooked.
In any case, here’s a patch that will trigger that rebuild. I’ve uploaded a test build to my PPA (https://launchpad.net/~broder/+archive/ubuntu-tests), but it’s pretty backed up right now so it might take a while to finish.






