Apple fanboys all know about 1 Infinite Loop. Turbo Pascal adepts about the index entries “infinite loop See loop, infinite” and “loop, infinite See infinite loop”.
Google as a more direct approach: www.google.com/search?q=recursion
Posted by jpluimers on 2016/11/23
Apple fanboys all know about 1 Infinite Loop. Turbo Pascal adepts about the index entries “infinite loop See loop, infinite” and “loop, infinite See infinite loop”.
Google as a more direct approach: www.google.com/search?q=recursion
Posted in Algorithms, Apple, Borland Pascal, Design Patterns, Development, Google, Pascal, Power User, Software Development, Turbo Pascal | Leave a Comment »
Posted by jpluimers on 2016/11/18
You need this statement to unpack an rpm file on Mac OS X without having rpm installed:
rpm2cpio ##filename.rpm## | cpio -idmv
This will make rpm2cpio unpack the rpm file in the current directory using these cpio options:
stderrcpio is already part of the Mac OS X system.
You can get rpm2cpio through homebrew by typing brew install rpm2cpio which will likely also download he xz dependency.
–jeroen
via: rhel – Open a RPM on a Mac? – Unix & Linux Stack Exchange
Posted in *nix, *nix-tools, Apple, iMac, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, rpm | Leave a Comment »
Posted by jpluimers on 2016/11/16
Hopefully this was a one time oversight from Apple, but on OS X 10.9 (Mavericks) the Xcode command-line tools cannot be installed from the Xcode Preferences pane.
You have to install them from the command-line:
xcode-select --install
There is one catch though: it might fail as you first have to start Xcode once and accept the license agreement.
You need them for instance when playing with zlib-devel (for instance when creating your own openssl builds).
–jeroen
Posted in Apple, Development, Mac OS X / OS X / MacOS, OS X 10.9 Mavericks, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »
Posted by jpluimers on 2016/11/04
Skip the built-in curl and directly go to the homebrew one:
$ brew update
$ brew upgrade
$ brew install curl --with-nghttp2
Source: How to use curl command with http/2 on MacOS X [WayBack]
via: Using cURL with HTTP/2 on Mac OS X #sysadmin #unix #apple #macos – Joe C. Hecht – Google+ [WayBack]
–jeroen
Posted in Apple, Home brew / homebrew, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2016/10/21
display – How can I move spaces between external monitors in Mavericks? – Ask Different [WayBack]
You can only move spaces which are non-active.
For example, lets say you have spaces 1 and 2. If space 1 is active, you can not move it. You first have to select space 2 then you can move space 1 to a different monitor.
This helped me work around version 8.35 of Microsoft Remote Desktop for OS X breaks second monitor usage [WayBack]:
Sometimes the primary monitor doesn’t have a non-active space any more so you have to create a new one in the top right of Mission Control [WayBack].
–jeroen
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, OS X 10.9 Mavericks, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | Leave a Comment »
Posted by jpluimers on 2016/10/19
One of the nitpicks in VMware Fusion is that it has no keyboard shortcut for Resume or Suspend. I was trying to add Command-R and Command-S for those but that didn’t work out.
Since the links below seem to work for some other applications, I’ve kept them:
–jeroen
Posted in Apple, Development, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2016/10/10
Really interesting stuff: ttystudio. It allows to record an apng or gif of a terminal session (so it should work on headless systems).
Anyone knowing alternatives for OpenSuSE and Mac OS X?
(Cockos Incorporated | LICEcap might cut it on Mac OS X, but not on headless systems so GNOME/byzanz doesn’t cut it either)
Sources:
Handy as well:
–jeroen
Posted in *nix, *nix-tools, Apple, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2016/10/07
The most recent versions of Joe don’t even build from stock in OS X any more and there are no direct installers for them.
But there are two most recent older versions that have installers, and a formula recent brew based HomeBrew installation:
After experimenting for a while without brew preferring the first over second, I’ve installed the the third as:
Before making a choice, you might want to consider reading about joe versions in JOE – Joe’s own editor / … /NEWS.md.
Having a background partially in the Linux world, I tried building joe from source on my Mac following the steps at JOE – Joe’s own editor / Discussion / joe-editor-general:Mac binary for 3.3 does not run on OS/X 10.8. It failed because the Mercurial 3.8 branch required automake and autoconf which are not available on just a Mac + Xcode. So I’m happy that others have bit the bullet and make a good HomeBrew build.
What makes HomeBrew so great is that it is based on a fully versioned git/ruby combination, allows for multiple Python versions, allows for binaries through bintray served bottles and has zillions (well, thousands) of installable formulae, all versioned.
–jeroen
Posted in *nix, *nix-tools, Apple, joe, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2016/09/30
Time permitting, I will research more on this later:
Homebrew no longer needs to have ownership of /usr/local. If you wish you can return /usr/local to its default ownership with: sudo chown root:wheel /usr/local
Reason: the log does look funny, see below.
–jeroen
Posted in Apple, Home brew / homebrew, Power User | Leave a Comment »
Posted by jpluimers on 2016/09/26
Various steps showing How to Remove Duplicates & Customize the “Open With” Menu in Mac OS X « Mac Tips
–jeroen
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »