Tag Info

Hot answers tagged

3

The answer to this is surprisingly simple: $ osacompile -o output.app input.applescript This works for both plaintext .applescript files and the .scpt files that Script Editor makes. You can use a pipe too, e.g. if you have the script on your clipboard: $ pbpaste | osacompile -o output.app Or -e, like the osascript command can use: $ osacompile -o ...


2

Why don't you do what it says? rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" The first line is going to delete homebrew completely and then you should be able to reinstall it. NOTE: If you do this you'll have to reinstall all the things you ...


2

I have an early 2013 MacBook Pro with Retina Display running OS X 10.8.5 and I've tested cscreen command line utility and it works to change resolution via the command line. You can download the cscreenIntel.dmg from the link provided. In a terminal use cscreen -h to output the internal help information. An example of use: cscreen -d 32 -x 1680 -y 1050 BTW ...


2

Here's the script to find and remove trailing space from files and dirs: #!/bin/bash IFS=$'\n' for file in $(find -d . -name "* ") do target_name=$(echo ...


2

I am not directly answering your question, but you may want to consider another approach. Most cameras record creation date within the file in Exif data. There are many ways of accessing this, but there is a command line tool jhead http://www.sentex.net/~mwandel/jhead/ This works on many platforms, and has the option to extract Exif times and perform ...


1

Based on the information Alistair and Matthew already provided, I was able to install wordgrinder under both Mavericks and Yosemite through a combination of the two methods he described. In fact, I was able to run wordgrinder, not just wordgrinder-static. Steps to reproduce: brew install lua brew install Homebrew/dupes/ncurses brew install luarocks brew ...


1

I think the use of __DARWIN_VERS_1050 in the tmux Portfile may be causing this. If you are able, try a clean compile from source (i.e. without that CPPFLAGS addition). Be sure to completely restart your tmux server using your fresh-built binary (the difference happens in the daemon(3) call made when the server first starts up—so using a “clean” binary to ...


1

You need to put this line inside ~/.inputrc file: set show-all-if-ambiguous on After this You'll get all posssibilities after first ⇥ TAB.


1

No, ncdu is not available in OSX. But, if you want it, you can install it via homebrew. You just need to type the following to install it: brew install ncdu This is the version availabe: $ brew info ncdu ncdu: stable 1.10, HEAD http://dev.yorhel.nl/ncdu Not installed From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ncdu.rb



Only top voted, non community-wiki answers of a minimum length are eligible