Mountain Lion (10.8) has three main difference compared to Lion (10.7):
- XCode 4.4 does not install Command Line Tools by default
- X11 isn't available anymore
- The installed version of OpenSSL has some bugs
| public class DeliminatorSeparatedPropertyNamesContractResolver : DefaultContractResolver | |
| { | |
| private readonly string _separator; | |
| protected DeliminatorSeparatedPropertyNamesContractResolver(char separator) : base(true) | |
| { | |
| _separator = separator.ToString(); | |
| } | |
| protected override string ResolvePropertyName(string propertyName) |
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| # | |
| # UPDATE for 10.10.4+: please consider this patch obsolete, as apple provides a tool called "trimforce" to enable trim support for 3rd party SSDs | |
| # just run "sudo trimforce enable" to activate the trim support from now on! | |
| # | |
| # Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
| # Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
| # | |
| # Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
| # | |
| # Alternative to http://www.groths.org/trim-enabler-3-0-released/ |
| #!/usr/bin/env python | |
| # | |
| # Very basic example of using Python and IMAP to iterate over emails in a | |
| # gmail folder/label. This code is released into the public domain. | |
| # | |
| # RKI July 2013 | |
| # http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/ | |
| # | |
| import sys | |
| import imaplib |
| plot.nnet<-function(mod.in,nid=T,all.out=T,all.in=T,bias=T,wts.only=F,rel.rsc=5, | |
| circle.cex=5,node.labs=T,var.labs=T,x.lab=NULL,y.lab=NULL, | |
| line.stag=NULL,struct=NULL,cex.val=1,alpha.val=1, | |
| circle.col='lightblue',pos.col='black',neg.col='grey', | |
| bord.col='lightblue', max.sp = F,...){ | |
| require(scales) | |
| #sanity checks | |
| if('mlp' %in% class(mod.in)) warning('Bias layer not applicable for rsnns object') |
Go to the folder where your "Vagrantfile" in your terminal/shell. Run the following commands:
First, install the following libraries:
$ brew install unixodbc
$ brew install freetds --with-unixodbc
FreeTDS should already work now, without configuration:
$ tsql -S [IP or hostname] -U [username] -P [password]
locale is "en_US.UTF-8"
locale charset is "UTF-8"