macos-sierra

Why can't I find my settings.xml under ~/.m2?

不想你离开。 提交于 2019-12-21 21:10:45
问题 Why can't I find my settings.xml under ~/.m2 ? Note: I'm currently running Apache Maven 3.3.9 on my machine. 回答1: There are two locations where a settings.xml file may live: The Maven install: ${maven.home}/conf/settings.xml The user’s install: ${user.home}/.m2/settings.xml The former settings.xml are also called global settings, the latter settings.xml are referred to as user settings. If both files exists, their contents gets merged, with the user-specific settings.xml being dominant. Tip:

Are specific PNG compression types incompatible with macOS Cocoa apps?

南笙酒味 提交于 2019-12-21 17:44:10
问题 We’ve had a recent issue with some asset images, where the Retina @2x version was being used on non-Retina devices. The Retina and non-Retina versions of the assets exist. We’ve tracked the problem down to compression, so we’re able avoid it for now, but if anyone has additional insights, I’d love to hear them. The icons on the left show how they’re rendering inside the running app. The Retina assets are being used on a non-Retina screen, so they’re being scaled down to 50%, which is causing

Unable to find htdocs on xampp

蓝咒 提交于 2019-12-21 07:19:08
问题 I have installed XAMPP for macOS Sierra. I have one icon in application for XAMPP. I am able to run the server & it's services but I am not able to find the htdocs folder. I have not found it under \Library\Webserver 回答1: I was able to find the htdocs directory. On mac,Under volume tab there is button called 'explore' from there there is the directory. 回答2: Just found out that XAMPP nfs mounts on MacOS are located in following path: /Users/my_name/.bitnami/stackman/machines/xampp/volumes/root

Gitx on mac os Sierra: Objective-C garbage collection is no longer supported

送分小仙女□ 提交于 2019-12-21 07:02:24
问题 After upgrading to Sierra(10.12) I have an issue with garbage collection within GitX. objc[2253]: Objective-C garbage collection is no longer supported. 回答1: I dug around and found this gix fork that appears to be working https://rowanj.github.io/gitx/ 来源: https://stackoverflow.com/questions/39914454/gitx-on-mac-os-sierra-objective-c-garbage-collection-is-no-longer-supported

install opencv3 on mac for python 3.6

一个人想着一个人 提交于 2019-12-20 18:30:10
问题 I want to install opencv3 for python 3.6 on macOS Sierra. I have tried to use it through homebrew using this link http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/ but I am getting this error Error: opencv3: Does not support building both Python 2 and 3 wrappers How to resolve this?? 回答1: brew install opencv3 --with-contrib --with-python3 --without-python 回答2: this error is caused by this commit. With brew edit opencv3 you have to comment the four

Upgrading IntelliJ IDEA after Sierra Upgrade: does not have write access to /private/var

空扰寡人 提交于 2019-12-20 09:48:47
问题 Trying to upgrade Intellij IDEA from 2016.2 to 2016.2.5 and I am getting this error: IDEA does not have write access to /private/var/folders/_q/7md3pcy10x9cxjdt9nzxjvdr0000gn/T/AppTranslocation/97E0DA6A-73B2-4439-91AE-F7DD0353F063/d/IntelliJ IDEA.app/Contents I can't modify the permissions of that folder because it is read-only. I've tried chown and chmod as root, neither of which work. 回答1: sudo xattr -dr com.apple.quarantine IntelliJ\ IDEA.app/ sudo chmod -R 777 IntelliJ\ IDEA.app/ these

Maven with Surefire (TestNG) is slow after update to MacOS Sierra

喜夏-厌秋 提交于 2019-12-20 09:45:00
问题 Before the update my MacBook Pro to MacOs Sierra, the command: mvn clean install -U took about 40 sec to run, with several hundreds of tests in several maven sub-modules. After the update to MacOS Sierra, with no changes to the code, the same command takes over 12 minutes. It looks to me that the when the Surefire plugin is going to print the result of the current module, it hangs for 2-3 minutes before continuing. The speed of the test-execution up to this point is as fast as before the

PDFView setNeedsDisplay:YES doesn't work on MacOS Sierra 10.12

不问归期 提交于 2019-12-19 03:36:15
问题 I have use [PDFView setNeedsDisplay:YES] to let the PDF view redraw, and it worked great on OSX 10.9-10.11. However it doesn't work unless I zoom in or zoom out the PDF page... Is there any other way to redraw immediately? Code below: NSRect newBounds; NSRect currentBounds; NSRect dirtyRect; NSPoint mouseLoc; NSPoint endPt; // Where is annotation now? currentBounds = [_activeAnnotation bounds]; // Mouse in display view coordinates. mouseLoc = [self convertPoint: [theEvent locationInWindow]

Is there programable access to the Control Strip of the macOS Touch Bar?

二次信任 提交于 2019-12-18 14:54:39
问题 The Control Strip is the static and global part of the macOS Touch Bar which is always visible in every context and app. While Apple provides full documentation about how to use the API to provide a contextual App Region in your macOS app, I couldn't find any notice about how to add stuff to the Control Strip . I could think of a lot of nice tools and actions which would be nice to have it always just a finger tip away, so I was wondering if we (the developers) are able to advance the Control

Where are ini files on MacOsX Sierra?

扶醉桌前 提交于 2019-12-18 14:23:08
问题 I've just bought new MacBook Pro. Take a look on what php -i | grep ini returns: prompt> php -i | grep ini Configuration File (php.ini) Path => /etc Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) user_ini.cache_ttl => 300 => 300 user_ini.filename => .user.ini => .user.ini Supported handlers => ndbm cdb cdb_make inifile flatfile init_command_executed_count => 0 init_command_failed_count => 0 com_init_db => 0 Classes => AppendIterator, ArrayIterator,