Turns out this is a Mac specific issue. Or, at least what works for me now is a Mac specific answer. Here's what I did to make this all work: First run this in terminal (replacing "variablename" and "value" with your own whatever: launchctl setenv variablename value This sets a...

You can't start the Server on Yosemite, because you need to grant access to the process (Synergy) to control your computer: http://mizage.com/help/accessibility.html doing that with Synergy should work. ...

In short, you're running out of ports. The default ephemeral port range on osx is 49152-65535, which is only 16,383 ports. Since each ab request is http/1.0 (without keepalive in your first examples), each new request takes another port. As each port is used, it get's put into a queue...

You were almost there. You should not push the text, but push a paragraph object of the text. Here is a complete example (text only). It uses the currently open Keynote and TextEdit documents. var Keynote = Application("Keynote"); var presentation = Keynote.documents[0]; var TextEdit = Application("TextEdit"); var document = TextEdit.documents[0];...

For this purpose I use NSEvent's addLocalMonitorForEventsMatchingMask:handler:-static method. It works while the app is active. Use addGlobalMonitor... for handling global events but be aware your app may be rejected from the AppStore. Here some code sample. id monitor=[NSEvent addLocalMonitorForEventsMatchingMask:NSKeyDownMask handler:(NSEvent *)^(NSEvent *theEvent){ if (theEvent.keyCode==/*your key code*/) // you should check...

I suggest you don't recompile OS X native php. Instead build and install new thread-safe version to different location. If you use homebrew you should install it with -with-thread-safety option. If you prefer to build it manually add --enable-maintainer-zts option to configure script....

The traceback (and your reported history) suggests that the problem is your modification to key preferences. User modifications are stored in $HOME/.idlerc/, where $HOME is the user-specific home directory. I am not familiar with Mac but I am sure that $HOME is not in Library/, so you likely did not...

You should be able to install pymmsql on your Mac for Azure SQL DB by following these three steps. Step 1: Install Homebrew Go to your terminal and run the following command : ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Step 2 : Install FreeTDS. From the terminal run the following command...

If you have the entries like libPoco*.30.dylib (dynamic library binary) and libPoco*.dylib (link to the library), that's it. If you are looking for the static libraries, they are not built by default. To build static libraries, do configure --static and, after make install, in /usr/local/lib you will find libPoco*.a etc....

You're talking about avoiding implementation details, so whatever you come up with might become obsolete, but there's two things I can think of that are very unlikely to change. First, you can go full-on wacko and re-build the string: @interface NSString (WSSUncached) + (instancetype)WSSUncachedStringWithString:(NSString *)s; @end @implementation NSString (WSSUncached) +...

OK discovered the answer. The \* wildcard is not a zero or more characters match. It is apparently a one or more characters match. The following does work $find . -name \*assembl\*.jar ./mllib-tests/target/mllib-perf-tests-assembly.jar ./spark-tests/target/spark-perf-tests-assembly.jar ...

The regex \b[[:alpha:]]*[[:digit:]]{3}[[:alpha:]]*\b should do your task. Trying it out by entering echo 123 | egrep '\b[[:alpha:]]*[[:digit:]]{3}[[:alpha:]]*\b' works for 123, whereas 1234, a1323 are not accepted. If you want to use sed ({3} seemingly did not work here), you can try sed -e 's/\(\b[[:alpha:]]*\)\([[:digit:]][[:digit:]][[:digit:]]\)\(\b[[:alpha:]]*\)/\2/' The regex matches only three-digit-numbers and...

I have done it using NSLock to lock the outer loop of the start and the drawInContext methods. I am still not sure if this is the best approach and will not accept this answer for a few days in case there is a better answer out there. - (void)start...

The website you mentioned is a very good approach. It seemes over-engineered, but it is quite simple to implement. I used this idea myself and it is ok for the Mac App Store. You should give it a try, if you don't like it, you can still look for something...

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/detail?id=514#c2...

Switching to a different Solarized theme by Tayler Mulligan worked great. Now I do get proper colors, both in shell and Vim. I compared sRGB colour values against MacVim using OS X's Digital Color Meter, all values are identical. This solves the issue.

Not sure exactly what, but something got out of whack during the upgrade. Uninstall CommandLineTools by typing sudo rm -r /Library/Developer/CommandLineTools then reinstall. I just typed some git command like: git status and let the OS prompt me to install the CommandLineTools. Everything is happy now.

You need to remove the dot from the first character class. Because there is a dot exists between the semicolon and the sub-string PEG which causes the regex to fail. Note that dot present inside a character class matches only a literal dot. >>> re.search(r';[^;]+PEG[^.;]+;','string1; 1.8w/v PEG_8000; string2; ;;').group() ';...

To use the first result, store the height and width in variables, and then do something, you can use head like so: $ system_profiler SPDisplaysDataType | grep Resolution | head -1 Then you can chop off the resolution with awk and assign it to a bash variable: $ resolution=$(system_profiler SPDisplaysDataType...

You can make it happen afterwards you are done processing it with System Events, by Finder, (set name extension of file "Hfs:path:to:file:with:name.ext" to "new-ext"). But I am not sure if you can expect System Events to regard the file as a property list file, containing property list items afterwards. It...

I believe that the suggestion is correct, but looking at the ROBOSPECT tarball, and configure.ac in it, there already is AC_PROG_CC directive present. Therefore, I recommend you to try autoreconf -if instead of automake --add-missing. That command should try to rebuild everything from scratch. However, users (and even package maintainers)...

The preferred way of doing this on OS X is through the NSWorkspace class, which provides a couple of methods to launch applications. One of them, launchApplicationAtURL:options:configuration:error: allows you to specify a file URL to the application to launch. In addition of not having sandbox problems like the system() and...

python usually looks for Pillow under normal site package installs. Here's what I would do to get a minimal Pillow setup where python should be guaranteed to see it: sudo easy_install pip pip install Pillow I think it may also be possible to just do: sudo easy_install Pillow but pip...

I solved this problem, I had to manually install Skobbler SDK then I tested the installation with cocoapods. This works perfectly! If you work with Swift don't forget to add #import "SKMaps/SKMaps.h" in your Bridging-Header.h Ysee...

The system ruby is at /usr/bin/ruby The one you are using was probably installed by Homebrew. Check that you have the system ruby in /usr/bin/ and delete the one at /usr/local/bin. You probably have /usr/local/bin in your path before /usr/bin. ...

In the error message it says it can't retrieve the cinder:cinder-nrepl (should be cider:cider-nrepl) dependency. This is most likely due to a typo in one of your profiles.clj files (or project.clj file if you're running the lein command in a project directory.) Also, profiles.clj files can be found in many...

the first error message says: warning: attempting to insert document with size 124.6 MB (exceeds 16.0 MB limit) This implies you are trying to insert a document that is 124.6MB in size. A json document starts with an open brace character "{" and ends with a closed brace character "}"....

Page isn't defunct, though for some reason I couldn't get it to load in Safari at all, and it was screwed up using https in Firefox. However, http in Firefox did work: http://support.apple.com/kb/DL1572 There's your Java 6. In some cases you can (and should) use Oracle Java 7 or 8...

Ok. It seems the pkg-config installed on my machine was not brew installed pkg-config. So, uninstalled and installed pkg-config using brew. This resolved the above issue. After that, I also found that automake installed on my machine was 1.15 and I need automake 1.12 to install thrift 0.9.0.

You have to open that file with a text editor and then save it. touch ~/.bash_profile; open ~/.bash_profile It will open the file with TextEdit, paste your things and then save it. If you open it again you'll find your edits. You can use other editors: nano ~/.bash_profile mate ~/.bash_profile...

Boot2docker runs in a small linux VM. By default, syslog isn't running in the VM. You can turn it on by running syslogd in the VM e.g: $ boot2docker ssh ... [email protected]:~$ syslogd If you then try running your container again it should work. You can make this change permanent...

Edit: found the problem in the central code of our application... sorry for posting here. The LaunchDaemon might be an example for those still looking for a solution on Yosemite, however. Problem is solved....

Mac computers are always using last hardware and, accordingly, OSX versions do same in order to have best skills and features each year. Thats great if you can afford a new machine each 2 years (I recommend Xmas time in order to catch new versions of the OSX and fixes...

Finally my issue got resolved. Along with modifying the Build version and keeping the Bundle version as it is, we need to check for few build settings whether they are set properly. I was missing them and that is why I was not able to upload updated version of my...

It depends on your makefile. If it uses a variable to hold the name of the makeinfo program, something like this: MAKEINFO = /usr/bin/makeinfo foo.info: foo.texi $(MAKEINFO) ... then you can simply run make MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo. Alternatively, if it uses just the name of the program without a path, like makeinfo,...

I'm not sure how you prepared the USB drive, but it looks like it doesn't include dscl. You can use the copy of dscl from the regular startup volume, but it'd still be trying to create a user on the USB disk. To fix that, you'd need to use dscl's...

The problem is, that Unity on Windows is using DirectX and not OpenGL, so it's working there (as already mentioned in the comments of your question). Just start Unity with -force-opengl on Windows and you'll notice, it will stop working there either. See http://answers.unity3d.com/questions/447206/forcing-opengl-in-windows-editor.html Further investigation showed, that your shader...

Read here that when you add a new DocumentRoot you lose the older one used by localhost. So I added <VirtualHost *:80> ServerName localhost DocumentRoot /Library/WebServer/Documents/ </VirtualHost> to show it the way. Now localhost works again. For sites served under .dev 127.0.0.1 is still needed though....

I did the following on the terminal to allow me to run the commands without using sudo (this might help someone) sudo chown -R $(whoami) ~/Documents/mobileapps This meant the cordova emulate ios command now runs! finally!...

Don't do it that way. Instead, edit /etc/sudoers to add the following lines (or, on a default config of MacOS, you can create a file in /etc/sudoers.d with the following content): # allow use by GUI apps (AppleScript, Automator), which don't have a TTY Defaults:%staff !requiretty # on MacOS, all...

Have you seen the document titled "Water Rower S4 S5 USB Protocol Iss 1.04.doc"? Here is the link. The github project seems to be similar to what you want to do. It should help out in understanding the usb data....

Probably this is due to a Python build (Sage's Python, that is) that didn't successfully build this module; see this sage-release thread. In principle http://trac.sagemath.org/ticket/17174 should have fixed it (see http://trac.sagemath.org/ticket/17169) but perhaps you are using a non-Sage gcc, such as homebrew? In that event you'll need to either make...

I had a similar problem (OSX 10.9.5). You probably have multiple versions of libpng installed, with the one called during install of luarocks having architecture i386 (x86_64 required). To solve this: Try installing image again, and reading the log: luarocks install image Check the log to see if you get...

After all, I found the solution to my problem. As my node script file has been created on Windows, the file is DOS format (line endings in DOS format I think). So, I used a module which allow to converting a file to a unix format : brew install dos2unix...

Since you have your gcc in /usr/local, it is not part of your operating system. The cleanest - but brute force - way is to delete /usr/local completely, and then reinstall the things you want to have there. See also here. /usr/local is a directory that doesn't come from OSX,...

Here's a way [NOTE: I NO LONGER RECOMMEND THIS METHOD. SEE EDIT, BELOW]: app = Application.currentApplication(); app.includeStandardAdditions = true; path = app.pathTo(this); app.doShellScript('dirname \'' + path + '\'') + '/'; note the single quotes surrounding path to work with paths with spaces, etc., in the doShellScript EDIT After being slapped...

I guess that's the typical 'no package provided while creating a domain class' problem. By default, if you omit the package name e.g. if you just create a domain class $ grails create-app MyDomain the MyDomain.groovy file is created under the app-name package i.e. MyApplication.MyDomain. If that's the case then...

Terminal sessions use the shell. You only should modify shell environment variables, there is no need to reconfigure GUI programs. Also, I don't suppose the .plist offers a way to extend a preexisting variable. You could use ~/.profile: export PATH=$PATH:~XXXX/Qt/5.4/clang_64/bin If Qt offers a more canonical method of installation, that...

See comments above The problem appears to be connected to Apple's Timer Coalescing, a new feature in Mac OS X 10.9 Mavericks that rejigs the firing times of timers by up to a few milliseconds to merge them, thus allowing the processor to make fewer power-state transitions and to remain...

Just share/mount a folder between the Host and the VM, and then you could create a cron job on the Host to read and run the commands from the VM. First you write to a file from the VM any commands you have that need to be ran on the...

The EXT variant will only be defined in glext.h or the headers which come or are generated by the various GL extenstion loaders. The actual GL_TEXTURE_BUFFER enum is defined in OpenGL/gl3.h. On OSX, modern GL is part of the OS, and you can directly link the modern GL funtions. However,...

To ensure the notifications are always shown you'll need to set a delegate for NSUserNotificationCenter and implement userNotificationCenter(center:shouldPresentNotification:) -> Bool. The documentation says this message is Sent to the delegate when the user notification center has decided not to present your notification. You can implement the delegate in any class...

As it turned out, the problem was in font files generated by font generators. The fonts generated from: https://www.web-font-generator.com/ , http://www.fontsquirrel.com/tools/webfont-generator ,.... don't work properly in Chrome old versions. Finally, I've found another one: https://fontie.flowyapps.com/home , by which generated font types work fine in all browser versions. Thanks all for...

The permissions/ownership on the directories between / and defaultdb likely need to be fixed. I think PostgreSQL can be sensitive to ownership of these, though it seems that in your case PostgreSQL simply doesn't have access to those. This is what I have for each directory. $ ls -hlt /opt/local/var/db/...

Assuming you're using YouTrack 6, you can archive it without a proxy with the following start command: sudo -u youtrack java -jar youtrack.jar local-ip:8080/youtrack Full syntax is described here: https://confluence.jetbrains.com/display/YTD6/Installing+YouTrack+with+JAR+Distribution...

I started with a simple answer and it grew into more details on how to add subdirectories of your project to python path. Maybe a bit off-topic, but it could be useful to you so I'm pushing the post button anyway. I usually have a bunch of small re-usable apps...

No, that driver is still there on Yosemite. Running sudo kextunload -b com.apple.driver.AppleUSBFTDI still removes the relevant kext and frees the device for access via the D2XX library on this Yosemite system I just tested. The kext may be missing if you haven't yet connected your FTDI device to the...

That's just a bug. Given it affects both gdb & lldb it is probably in CoreOS not the debuggers (though the same folks did the Mach specific layer of both debuggers so that's not a guarantee...) Anyway, please file a bug report with http://bugreporter.apple.com....

Telnet is not supported on Genymotion. To access the Genymotion Shell you need to open the Genyshell app or run it in command line. It will open a terminal where you will be able to do all the commands you used to do. The commands are different than telnet, so...

I've faced the same issue yesterday ð. Unfortunately, the documentation is lacking the information about where to put this constraint. The new Xcode 'Capture View Hierarchy' feature to the rescue! When you constrain some properties of a two views you have to place your resulting constraint on the first common...

This depends on your shell. In case you are using bash you need the correct bash completion scripts. See the Bash completion homepage, and especially this script: https://anonscm.debian.org/cgit/bash-completion/bash-completion.git/tree/completions/ssh Default location where those have to be put is /etc/bash_completion and then you can load tham from your .bashrcor .profilefile by adding...

Static libraries (i.e. the object files within them) compiled for Linux cannot be used on OSX. The only thing you can do is: Get access to the source and create OSX versions of the libraries. Use a virtual machine to build the code. ...