osx-mavericks

Stopping in-built php server on Mac Mavericks - Livecode

若如初见. 提交于 2019-12-20 12:42:39
问题 I'm developing something in Livecode and I have been experimenting with using Mavericks own in-built php server. I started the server by sending the following command through shell... php -S localhost:8000 This enabled PHP to run successfully through localhost:8000/ However, I can not work out how to stop/disable PHP now in order to continue testing starting it - when I previously started PHP through the terminal I was able to do ctrl+c to stop php running but since I do not yet know how to

Cannot connect to MongoDB errno:61

社会主义新天地 提交于 2019-12-20 10:27:19
问题 I installed MongoDB using macports and tried running the mongo command in order to start the mongo shell. I received the following errors: warning: Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146 I then ran mongod and received the following error: $ [initandlisten] MongoDB starting : pid=11984 port=27017 dbpath=/data/db 64-bit host=Nikitas-MacBook

Using multiple keywords in xattr via _kMDItemUserTags or kMDItemOMUserTags

时间秒杀一切 提交于 2019-12-20 09:45:53
问题 While reorganizing my images, in anticipation of OSX Mavericks I am writing a script to insert tags into the xattr fields of my image files, so I can search them with Spotlight. (I am also editing the EXIF just to be safe.) My questions are: Which attribute is the best to use? _kMDItemUserTags seems to be the OSX version, but kMDItemOMUserTags is already in use by OpenMeta. I would ideally like something that will be Linux and OSX forward compatible. How do I set multiple tags? Are the comma-

cannot install R package from source In Mac OSX Maverick [duplicate]

落爺英雄遲暮 提交于 2019-12-20 09:41:05
问题 This question already has answers here : Error when with Xcode 5.0 and Rcpp (Command Line Tools ARE installed) (3 answers) Closed 6 years ago . I upgraded my Mac OS X from ML to Maverick today, and installed the preview version of RStudio. I think I also updated Xcode to 5.0.1 and installed Command Line Tools on my MacBook Pro. However, when I install my own package from source, I got the following error: * installing *source* package ‘PKG’ ... ** libs llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I

Alert“Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”

本秂侑毒 提交于 2019-12-20 08:57:29
问题 I am using OS X Mavericks with Xcode 4.6.3. I am running the app on simulator as i don't have a developer account. Whenever i run the project on simulator it keeps asking me "Developer tools access needs to take control of another process for debugging to continue. Type your password to allow this". The same issue i also experienced on OS X Mountain Lion with Xcode 4.6.2, so its definitely not related to the OS Version or Xcode Version. I have gone through Stackoverflow's issue related

Terminal commands can not be found OSX

心不动则不痛 提交于 2019-12-20 05:14:12
问题 A majority of terminal commands don't work, for example . ls sudo vi with the error -bash: ls: command not found my path is echo $PATH “/Users/username/usr/local/bin I get the feeling that “ should not be there but not sure how edit it. What should the path be and how do I get the path to stay the same? 回答1: You need to add more paths to your $PATH variable. Try running whereis ls and check where is the binary of the command. You can add more paths like this: export PATH=$PATH:NEW_PATH 来源:

SML not detecting OS on OS X Mavericks

佐手、 提交于 2019-12-20 02:58:17
问题 I could not run SMLNJ on Mavericks It shows me the error sml: unable to determine architecture/operating system I also looked in /usr/local/smlnj/config/_arch-n-opsys file and Mavericks is mentioned there. 13*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.9 Mavericks Can some one help me on this? 回答1: You can use this .pkg file to reinstall the SML and see if the problem happens again. 来源: https://stackoverflow.com/questions/20009628/sml-not-detecting-os-on-os-x-mavericks

The file couldn’t be opened because you don’t have permission to view it

ⅰ亾dé卋堺 提交于 2019-12-20 02:00:30
问题 imageData=[NSData dataWithContentsOfURL:self.pdfFileUrl options:NSDataReadingMappedAlways error:&error]; NSLog(@"%@",[error localizedDescription]); NSLog(@"%@",imageData); in above code I get the error "The file “bg.png” couldn’t be opened because you don’t have permission to view it." I can't convert bg.png file to NSData. 回答1: I encountered the same problem. What I did was to go to Build Options. Then I changed the value of the "Compiler for C/C++/Objective-C" to Default Compiler. Its work

OSX: PHP Error localhost and unable to load dynamic library

六眼飞鱼酱① 提交于 2019-12-19 17:38:56
问题 How can i fix this php error? PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pdo_mysql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pdo_mysql.dll, 9): image not found in Unknown on line 0 I am on a mac/mavericks and I have made a mistake and did a sudo cp /private/etc/php.ini.default /private/etc/php.ini so now I get the error stated above when I run php -v 回答1: Follow this as it worked for me... The error

Sublime Text 2 command line not working after Mavericks install

谁说我不能喝 提交于 2019-12-19 10:25:29
问题 I've ready through other threads on Stack Overflow and despite my efforts the issue doesn't seem to resolve. Since installing OS X Mavericks I'm not able to open Sublime Text 2 from the command line. I've tried following these guidelines: http://benkwok.wordpress.com/2013/11/17/setup-sublime-text-2-on-osx-mavericks-for-ruby-on-rails/ When I run this from the terminal Sublime pops up so that's good: http://benkwok.wordpress.com/2013/11/17/setup-sublime-text-2-on-osx-mavericks-for-ruby-on-rails