osx-yosemite

yosemite svn 1.6.6 segmentation fault

﹥>﹥吖頭↗ 提交于 2019-12-18 06:19:06
问题 svn stopped working in my Mac after upgrade to Yosemite. I know there is a very similar question with no answer, Segmentation fault: 11 in SVN checkout, however I've spent pretty much the whole day with this and I'm adding more information on the issue. I'm hoping somebody maybe somebody can help... I'm really stuck. I cannot upgrade svn and I'm planning to go back to Mavericks. The error I get: svn update Segmentation fault: 11 I was already working with svn from a binary I compiled myself

How to get POSIX path of the current script's folder in JavaScript for Automation?

心不动则不痛 提交于 2019-12-18 05:05:16
问题 In AppleScript it’s possible to get the the POSIX path of the folder the current script is located in using this line: POSIX path of ((path to me as text) & "::") Example result: /Users/aaron/Git/test/ What’s the JavaScript equivalent? 回答1: Here's a way [NOTE: I NO LONGER RECOMMEND THIS METHOD. SEE EDIT, BELOW] : app = Application.currentApplication(); app.includeStandardAdditions = true; path = app.pathTo(this); app.doShellScript('dirname \'' + path + '\'') + '/'; note the single quotes

Rcmdr launch error in Yosemite (OS X 10.10)

半世苍凉 提交于 2019-12-18 03:39:36
问题 After upgrading to OS X 10.10 Yosemite I started to receive the following error log when running my Rcmdr package in R using library(Rcmdr) : Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /usr/X11

How can I install an older version of Jekyll?

你。 提交于 2019-12-18 02:43:56
问题 I'd like to install Jekyll version 1.5.1 (on a Mac). Is it possible to do this? I found something about being able to downgrade, but I find it hard to believe there is no way just to install an older version. Thanks! 回答1: You can specify the exact version in your Gemfile like this: gem 'jekyll', '1.5.1' Or install a specific version from the command line: gem install jekyll -v 1.5.1 回答2: You can mention the version you want to run. jekyll _2.4_ serve --watch 来源: https://stackoverflow.com

How can I install an older version of Jekyll?

好久不见. 提交于 2019-12-18 02:43:36
问题 I'd like to install Jekyll version 1.5.1 (on a Mac). Is it possible to do this? I found something about being able to downgrade, but I find it hard to believe there is no way just to install an older version. Thanks! 回答1: You can specify the exact version in your Gemfile like this: gem 'jekyll', '1.5.1' Or install a specific version from the command line: gem install jekyll -v 1.5.1 回答2: You can mention the version you want to run. jekyll _2.4_ serve --watch 来源: https://stackoverflow.com

Trouble matching the vibrant background of a Yosemite NSMenuItem containing a custom view

浪子不回头ぞ 提交于 2019-12-17 22:58:20
问题 I am attempting to add a custom view to an NSMenuItem in the OS X 10.10 Yosemite menu bar. The custom view is simply an NSView background with an NSTextField “label”. The problem is that the background NSView is given Yosemite-style vibrancy/transparency when added to the menu. The NSTextfield label is not. Through the use of NSRectFillUsingOperation I've gotten this to look good for some background colors in Yosemite. But others continue to not match. When it is working, after manually

How do I set up a mirroring session between iOS 8 and Yosemite?

有些话、适合烂在心里 提交于 2019-12-17 19:27:28
问题 On OS X Yosemite, the screen of an iOS 8 device can be mirrored to the OS X machine and saved as a media file. This can be done manually using QuickTime Player, but I want to do the same programatically. Reading the docs, the iOS 8 device should be exposed as a webcam. Calling [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo] on my Mac returns an NSArray with no elements. How can I setup a mirroring session using iOS 8 and Yosemite? How can I detect the capture device for the mirroring

Git Clone Fails with sslRead() error on OS X Yosemite

血红的双手。 提交于 2019-12-17 18:36:29
问题 I'm currently on OS X Yosemite 10.10.3, and trying to git clone an existing repo which works fine on Windows. I've tried a combo of installing git through homebrew with curl/openssl with no luck. When i run the git clone, i get the following ssl read error: GIT_CURL_VERBOSE=1 git clone http://myURL/gitlab/project/project.git > remote: Counting objects: 1641, done. remote: Compressing objects: > 100% (1588/1588), done. > * SSLRead() return error -98061641), 136.73 MiB | 1.71 MiB/s > * Closing

How can I create Yosemite-style view with translucent/blurry background?

空扰寡人 提交于 2019-12-17 17:27:10
问题 In Yosemite sidebars have a semitransparent "vibrant" background. How can I create a view like that in 10.10/Xcode 6? Can I give any view such background? I've found that NSOutlineView will default to such background when you give it "Source list" highlight style, but the sidebar in the Calendar.app doesn't appear to be an NSOutlineView, so I wonder if there's a generic solution for this. 回答1: With the introduction of the Yosemite version of the OSX operating system, Apple introduced a new

Type 'Boolean' does not conform to protocol 'BooleanType'

僤鯓⒐⒋嵵緔 提交于 2019-12-17 16:58:13
问题 In attempting to create a Launch Helper as per the Apple docs (and tutorial-ized), I seem to be hitting a hiccup caused by porting the Objective-C code into Swift... who's compiler couldn't be any more redundant in this case. import ServiceManagement let launchDaemon: CFStringRef = "com.example.ApplicationLauncher" if SMLoginItemSetEnabled(launchDaemon, true) // Error appears here { // ... } The error seems to consistently be: Type 'Boolean' does not conform to protocol 'BooleanType' I have