osx-yosemite

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

核能气质少年 提交于 2019-12-21 13:07:55
问题 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?

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

你。 提交于 2019-12-21 12:56:03
问题 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

MacVim in Yosemite can't fullscreen

荒凉一梦 提交于 2019-12-21 09:05:20
问题 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. 回答1: 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

Homebrew on Mac Os 10.10 or 10.11 is not working

别等时光非礼了梦想. 提交于 2019-12-21 07:08:06
问题 After installed Homebrew, when I run any brew *** , I keep getting this error: Homebrew requires Leopard or higher. For Tiger support, see: https://github.com/mistydemeo/tigerbrew My Env: Mac OS 10.10(Yosemite) I checked the brew.rb source, it has: if MACOS and MACOS_VERSION < 10.5 abort <<-EOABORT.undent Homebrew requires Leopard or higher. For Tiger support, see: http://github.com/sceaga/homebrew/tree/tiger EOABORT end I have no idea why the Yosemite will trigger this version check. 回答1:

Delaying Code Execution on OSX 10.10

馋奶兔 提交于 2019-12-21 06:16:13
问题 I've encountered a very strange issue that affects my code running only on OSX 10.10 systems. I've seen this anomaly occur on over 25 OSX 10.10 systems running my code, whereas the exact same code did not exhibit this behavior before upgrading (10.7). Furthermore, this issue is not 100% reproducible in that it occurs randomly ~0-5% of the time. While testing the code, nothing else critical or CPU exhaustive is occurring on the machine. Even if something else was happening, the very fact that

What's the fastest way to migrate from boot2docker to Vagrant+NFS on Mac OS X?

寵の児 提交于 2019-12-21 04:39:20
问题 I have a database container built from the official mysql docker pull mysql . I have a front-end app app built with Cake. I have a back-end app cms built with Symfony. I have container linking set up for both app and cms to start and connect automatically to db . Everything works great but it's super slow with boot2docker. I've been trying to understand how to use Vagrant with NFS. There's a few different tutorials and examples online, but so far I've been unable to get going. I have

NSOpenPanel in Swift . How to open?

痞子三分冷 提交于 2019-12-20 17:28:39
问题 I have this Objective-C Code : - (IBAction)selectFileButtonAction:(id)sender { //create open panel... NSOpenPanel* openPanel = [NSOpenPanel openPanel]; // NSLog(@"Open Panel"); //set restrictions / allowances... [openPanel setAllowsMultipleSelection: NO]; [openPanel setCanChooseDirectories:NO]; [openPanel setCanCreateDirectories:NO]; [openPanel setCanChooseFiles:YES]; //only allow images... [openPanel setAllowedFileTypes:[NSImage imageFileTypes]]; //open panel as sheet on main window...

Attempt to install Qt on OS X gives 'You need to install Xcode 5.0.0', but this version is so old it's not available

强颜欢笑 提交于 2019-12-20 15:57:53
问题 I am a Windows/Linux developer who occasionally builds for OS X - particularly in Qt. I have a simple Qt project that I have been developing on Windows. I now wish to build it on OS X. I am running Yosemite. I have installed Xcode 7 and am attempting to install Qt 5.5. When I run the Qt installer, immediately after the prompt to log in to Qt (which is successful), I receive the following error: You need to install Xcode version 5.0.0. I have attempted to locate Xcode 5.0.0 on the Apple

In OS X 10.10, can I implement an NSControl without an NSCell?

社会主义新天地 提交于 2019-12-20 12:41:14
问题 I am learning about NSControl . I am aware that NSCell has begun its road to deprecation in OS X 10.10 Yosemite, and so I'd rather not use an API that is going away. Also, the NSControl Class Reference shows all cell accessors have been deprecated. I understand all this, but what is not as clear is what the recommended course is for people writing NSControl subclasses on 10.10. All of the Apple guides on the subject make no mention of the deprecation of NSCell . I suppose I could just do

Crash Jetbrains ide with Yosemite Mac osX (Webstorm, intellij)

寵の児 提交于 2019-12-20 12:32:08
问题 This is a tip in reference to Yosemite ´s users (10.10). Yosemite erase 1.6 apple jdk and install 1.7, but JAVA´s IDE for example Intellij or Eclipse needs 1.6, if you haven´t reinstalled this version, your ide will crash at the beginning... after this process you can configure your ide with 1.7 version. Here the link : Apple JDK 1.6 回答1: Please do not edit your Info.plist file as it will break the application digital signature and prevent the patch updates. I was able to get phpStorm working