osx-yosemite

Installing HAXM on osx Yosemite

[亡魂溺海] 提交于 2019-12-04 10:05:12
问题 I'm following the instructions to install Intel HAXM on OS X. https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x These instructions say to install the driver, and once it's done run kextstat | grep intel to see if it's installed. If not, then run sudo kextload –b com.intel.kext.intelhaxm . However, at least on OS X Yosemite, I get the following error when I run kextload: $ kextstat | grep intel $ sudo kextload

Making WKWebView not share cookies with Safari in OS X

守給你的承諾、 提交于 2019-12-04 08:50:12
How do I make WKWebView not share cookies with Safari in OSX? I have a very simple app that I made as an experiment that displays a WKWebView and as far as I can see, it's picking up cookies from Safari, because in my custom app, I'm logged in in the same websites as Safari. I am currently creating the WKWebView instance like this: override func loadView() { self.webView = WKWebView() self.view = self.webView! } in an NSViewController I created. I also tried this: override func loadView() { var processPool = WKProcessPool() var config = WKWebViewConfiguration() config.processPool = processPool

Node script executable not working on Mac : env: node\r: No such file or directory

泪湿孤枕 提交于 2019-12-04 08:06:20
问题 I have created my node script executable to execute some tasks grunt. On Windows, my node script works fine. But on Mac OS X (Yosemite), it's not working. My node script has been published on Windows. My node script is installed via npm command : npm install -g task-app My node script have this first line : #! /usr/bin/env node I tried many some solutions to solve my problem but I'm still stuck. Here's these solutions that I used : uninstall and reinstall Node.js execute this command to

Change localhost directory for Yosemite Apache 2.4

元气小坏坏 提交于 2019-12-04 07:46:29
问题 I have clean installed Mac OSX Yosemite but I cant configure the Apache 2.4 like I have always done on older OSX versions. Here is what I want to do : set the "localhost" directory to "/Users/username/Public/". But, everything I tried won't work, I always get a "Forbiden, can't access to /" or I get the default "It works!" page... How to simply reroot my localhost ? Thx EDIT (thanks to Krister Andersson for the answer) For Mac OSX 10.10 Yosemite I also post the changes I had to do to keep

can't create a Laravel project because mcrypt extension is missing

南笙酒味 提交于 2019-12-04 06:29:11
OK, I have seen many posts about this, and I have spent the entire day working through them to solve this issue, with no success. I am trying to create a Laravel project. I am using a Mac (Yosemite), which is running PHP 5.5.14. There is also an older version of PHP on the machine. When I try to create a project from the command line using "laravel new projectname ", no errors are reported, but the command just creates an empty folder named with the project name. I get the "Crafting application..." and "Application ready! Build something amazing" messages but, again, only an empty folder. If I

Arrow keys in Xcode 6 not working

风格不统一 提交于 2019-12-04 06:28:50
问题 I have the weirdest issue with Xcode 6 on OS X Yosemite. For some reason I can't use the left and right arrow keys anymore to navigate within my source code. Instead, the system beep sound would come up. Up and down arrows work fine. I'm afraid it could have something to do with my fiddling around with the key bindings. In only changed the ones for block (de)indentation though (originally CMD+[, changed to TAB), so in my understanding the arrow keys shouldn't be affected at all. 回答1: I was

MacVim on OSX / Yosemite: no editor windows visible at all

懵懂的女人 提交于 2019-12-04 05:30:52
Installed MacVim on my Yosemite 10.10.2 Macbook Pro today from http://www.macupdate.com/app/mac/25988/macvim The problem is that no editor window(s) are visible. If I open a file using the menu, there's simply no effect: no editor window appears. It's not hidden behind other windows, it's not listed in the Windows menu, it's just entirely undisplayed. Strangely, the file will appear in the MRU list, though. So this renders the entire editor completely useless. Should I just build gvim myself? Is this app actually being maintained by anyone? I'd read some answers which suggest running: brew

MacVim in Yosemite can't fullscreen

[亡魂溺海] 提交于 2019-12-04 02:49:55
I'm using Mac Yosemite 10.10.2 and newest macvim, but when I use fullscreen mode, the lines at the top of screen will be black, and if I move my mouse there, it will show the system line. . I want to get my fullscreen back. This is a known issue, happened me. A couple of work a rounds are: Uncheck "Prefer native full-screen support" in preferences. Open a second tab. This repositions the text and view correctly. There is also a .diff patch on https://code.google.com/p/macvim/issues/detail?id=514#c2 kukka A answer from apple.stackexchange.com I found this post that seems to address that problem

NSWindowController Autosave using Storyboard

别说谁变了你拦得住时间么 提交于 2019-12-04 00:14:38
I have a Swift application that is launching a simple NSWindow , like so: func applicationDidFinishLaunching(notification: NSNotification!) { let storyboard = NSStoryboard(name: "MainStoryboard", bundle: NSBundle.mainBundle()) windowController = storyboard.instantiateInitialController() as? NSWindowController windowController?.showWindow(self) } This works great, my app launches and the window appears. However : The size is always the same. In the storyboard, I have specified an Autosave name: Note also the Restorable checkbox is checked. But regardless, the window appears the same size, every

R/RStudio, Yosemite, and Java

你说的曾经没有我的故事 提交于 2019-12-03 23:58:09
I upgraded to OSX Yosemite yesterday. When I run library(xlsx) in RStudio , the program crashes and I get the message: "To open 'RStudio' you need to install the legacy Java SE 6 runtime." I get the same result and message about opening R when I run library(xlsx) in R . Here are my details: Mac Yosemite, Version 10.10.2 R version 3.1.2 (2014-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) I have Java Version 8 update 31. I ran java -version and got this message: "No Java runtime present, requesting install." So I installed Java SE Development Kit 8u31 . Now: java -version java version "1.8