osx-leopard

where is ant installed on Mac OS X snow leopard by default?

我的未来我决定 提交于 2019-12-03 04:23:13
问题 I don't have ANT_HOME set, so i want to find where the home directory of ant is. I'm using the version of ant that was installed by default on my OSX install. 回答1: Follow these instructions to find the location of any package: whereis ant (replace 'ant' with whatever you're looking for) On my machine, this reports: /usr/bin/ant so, I do: ls -l /usr/bin/ant on my machine this reports: lrwxr-xr-x 1 root wheel 22 Nov 30 17:09 /usr/bin/ant -> /usr/share/ant/bin/ant so, I do : ls -l /usr/share/ant

Mac OS X doesn't allow to name files starting with a dot. How do I name the .htaccess file?

本小妞迷上赌 提交于 2019-12-03 01:23:31
问题 As mentioned in the title, Mac OS X doesn't allow me to name files starting with a dot ( . ). But, I need an .htaccess file. Or, better, how do I use an htaccess file in Mac OS X without giving it a name starting with a dot? I am running Mac OS 10.5.8 and XAMPP 1.7.3. 回答1: You can't do this with the Finder. Open Terminal.app ( Applications -> Utilities -> Terminal ), and type: > cd /path/to/directory/containing/htaccess > mv current_file_name .htaccess Example (do not take directory names or

How to setup kdiff3 in Mac OS?

只愿长相守 提交于 2019-12-02 19:15:45
In .gitconfig file I setup up the git diff as follows: [diff] tool = kdiff3 [difftool "kdiff3"] path = path_directory/kdiff3.app In this setting kdiff is not accessible and I get the following error when I run in terminal >> git difftool The diff tool kdiff3 is not available as 'Kdiff_local_software_path/kdiff3.app' fatal: external diff died, stopping at modified_file Do you have any suggestion I can fix this issue ? In my current setup Mac OS 10.10.5 git diff tool is git merge tool that I want to replace with kdiff. hjpotter92 kdiff3 is generally located at the following location:

where is ant installed on Mac OS X snow leopard by default?

强颜欢笑 提交于 2019-12-02 17:39:16
I don't have ANT_HOME set, so i want to find where the home directory of ant is. I'm using the version of ant that was installed by default on my OSX install. Follow these instructions to find the location of any package: whereis ant (replace 'ant' with whatever you're looking for) On my machine, this reports: /usr/bin/ant so, I do: ls -l /usr/bin/ant on my machine this reports: lrwxr-xr-x 1 root wheel 22 Nov 30 17:09 /usr/bin/ant -> /usr/share/ant/bin/ant so, I do : ls -l /usr/share/ant and get: lrwxr-xr-x 1 root wheel 14 Nov 30 17:09 /usr/share/ant -> java/ant-1.8.1 from this I can surmise

SSH Public Key for user without home directory

戏子无情 提交于 2019-12-02 00:34:23
问题 I'm running a Mac OS X Leopard Server and I created a new user without designating a home directory for that user. Is it possible to have that user authenticate using a Public Key? I know that when a user does have a home directory it goes in to ~/.ssh/authorized_keys I don't want to create a home directory for this user because my understanding is it would then allow them to login if given physical access. UPDATE: I need to allow this user to do a Secure FTP connection only. Setting the

Right programing language for developing application for Mac

℡╲_俬逩灬. 提交于 2019-12-01 23:26:11
问题 I'm planing to buy a Mac. I would like to be able to develop GUI applications for Mac as well. Currently I develop in C# using VisualStudio as IDE. I also know Java and I'm familiar with NetBeans IDE. Application created in both of this languages can run on Mac (as can NetBeans IDE) but I was told that neither C# nor Java is recomended for MacOS X development. So what language is recomended for MacOS X development ? I guess there is some recommendation from Apple for the developers ? I would

Right programing language for developing application for Mac

柔情痞子 提交于 2019-12-01 22:43:21
I'm planing to buy a Mac. I would like to be able to develop GUI applications for Mac as well. Currently I develop in C# using VisualStudio as IDE. I also know Java and I'm familiar with NetBeans IDE. Application created in both of this languages can run on Mac (as can NetBeans IDE) but I was told that neither C# nor Java is recomended for MacOS X development. So what language is recomended for MacOS X development ? I guess there is some recommendation from Apple for the developers ? I would prefer Object-oriented easy-to-use programing language (nothing like C) with good IDE that supports GUI

SSH Public Key for user without home directory

久未见 提交于 2019-12-01 21:31:54
I'm running a Mac OS X Leopard Server and I created a new user without designating a home directory for that user. Is it possible to have that user authenticate using a Public Key? I know that when a user does have a home directory it goes in to ~/.ssh/authorized_keys I don't want to create a home directory for this user because my understanding is it would then allow them to login if given physical access. UPDATE: I need to allow this user to do a Secure FTP connection only. Setting the Login Shell to /bin/false/ will prevent them from connecting remotely as well. You have to edit /etc/ssh

How to Fix the Broken BSDDB Install in the Default Python Package on Mac OS X 10.5 Leopard?

为君一笑 提交于 2019-12-01 07:38:07
Do the following on the default Python install on Mac OS X 10.5 (Leopard) w/ Developer Tools: noel ~ : python Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import bsddb Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/bsddb/__init__.py", line 51, in <module> import _bsddb ImportError: No module named _bsddb nice, huh? How do I fix this without giving up and installing

How to Fix the Broken BSDDB Install in the Default Python Package on Mac OS X 10.5 Leopard?

廉价感情. 提交于 2019-12-01 05:08:47
问题 Do the following on the default Python install on Mac OS X 10.5 (Leopard) w/ Developer Tools: noel ~ : python Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import bsddb Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/bsddb/__init__.py", line 51, in <module> import _bsddb