macos-sierra

after XAMPP install on Mac Sierra - it works, but there is no XAMPP folder. Where is everything?

馋奶兔 提交于 2021-02-10 07:46:05
问题 I have installed XAMPP. It works. I'm trying to figure out the following: 1/ it appears there are now TWO apache servers on my mac. XAMPP just installed an additional server. One is already installed on the default Sierra OS. Is that correct? 2/ I can't find where XAMPP is reading files (document root). in the newly created directory: XAMPP.APP, the file structure is not as indicated in the FAQ's. For example, there is no xamppfiles or logs directory in the XAMPP.app directory. Many thanks in

Compound mdfind search

戏子无情 提交于 2021-02-08 07:56:41
问题 The goal is to find all images that are in a certain state or country. mdfind kind:image will find all images mdfind "kMDItemCountry == 'United States'" will find all files what have this property. mdfind kind:image "kMDItemCountry == 'United States'" fails. I've tried using && and various groupings of () but can't make it work. How can I successfully combine 'kind:image' with attribute searches like kMDIxxx? 回答1: I have had a chance to do some experiments as to how mdfind really works, as

Compound mdfind search

[亡魂溺海] 提交于 2021-02-08 07:56:27
问题 The goal is to find all images that are in a certain state or country. mdfind kind:image will find all images mdfind "kMDItemCountry == 'United States'" will find all files what have this property. mdfind kind:image "kMDItemCountry == 'United States'" fails. I've tried using && and various groupings of () but can't make it work. How can I successfully combine 'kind:image' with attribute searches like kMDIxxx? 回答1: I have had a chance to do some experiments as to how mdfind really works, as

Can't run Apache james on mac Sierra

狂风中的少年 提交于 2021-02-05 10:41:30
问题 I'm using Apache James as email server for development purpose on mac Sierra - v 10.12.3 When I try to start/run it as super user sudo ./run.sh it I get the following error: ERROR: JAVA_HOME not found in your environment. Please, set the JAVA_HOME variable in your environment to match the location of the Java Virtual Machine you want to use. When I try to run it without sudo, I get the following: Using PHOENIX_HOME: /Users/myUserName/Dev/james-2.3.2.1 Using PHOENIX_TMPDIR: /Users/myUserName

zsh compinit: insecure directories error message on Mac, after installing Homebrew

随声附和 提交于 2021-01-27 04:42:18
问题 After installing Homebrew and Homebrew-Cask on my Mac (as administrator with user-id 'admin', running MacOS 10.12.6), I get the error message zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? every time I start zsh. Investing the issue with compaudit, I found mentioned several insecure directories, most related to Homebrew - for example /usr/local/share/zsh/site-functions . This directory and its entries have access

How to find source file and line number from os_log()

Deadly 提交于 2021-01-27 03:55:31
问题 The Logging Apple reference for the new logging system in iOS 10 and macOS Sierra explicitly say not to include line number and source file info, because it is automatically captured. Don’t include symbolication information or source file line numbers in messages. The system automatically captures this information. But I have yet to be able to find any way of viewing these supposedly captured values. In the Console app I can see subsystem, category, process ID, etc, but nothing about file and

How to find source file and line number from os_log()

℡╲_俬逩灬. 提交于 2021-01-27 03:54:10
问题 The Logging Apple reference for the new logging system in iOS 10 and macOS Sierra explicitly say not to include line number and source file info, because it is automatically captured. Don’t include symbolication information or source file line numbers in messages. The system automatically captures this information. But I have yet to be able to find any way of viewing these supposedly captured values. In the Console app I can see subsystem, category, process ID, etc, but nothing about file and

How can I uninstall dotnet core from macOS Sierra

99封情书 提交于 2020-12-01 09:17:19
问题 I have tried to install dotnet core, but it does not worked. So, I would like to uninstall it and start refresh. How can I uninstall dotnet core from macOS Sierra(10.12.3). you can find below, existing dotnet core info on the system /usr/local/share/dotnet/sdk$ ls -la total 0 drwxr-xr-x 4 root wheel 136 May 20 18:28 . drwxr-xr-x 10 root wheel 340 May 20 20:44 .. drwxr-xr-x 142 root wheel 4828 May 20 20:44 1.0.4 drwxr-xr-x 121 root wheel 4114 May 9 23:04 2.0.0-preview1-005977 /usr/local/share

How can I uninstall dotnet core from macOS Sierra

痞子三分冷 提交于 2020-12-01 09:17:00
问题 I have tried to install dotnet core, but it does not worked. So, I would like to uninstall it and start refresh. How can I uninstall dotnet core from macOS Sierra(10.12.3). you can find below, existing dotnet core info on the system /usr/local/share/dotnet/sdk$ ls -la total 0 drwxr-xr-x 4 root wheel 136 May 20 18:28 . drwxr-xr-x 10 root wheel 340 May 20 20:44 .. drwxr-xr-x 142 root wheel 4828 May 20 20:44 1.0.4 drwxr-xr-x 121 root wheel 4114 May 9 23:04 2.0.0-preview1-005977 /usr/local/share