Being developer for iOS/macOS platforms sometime can be a tricky task, and engineer has to remember a lot of different commands and keep in mind how to use some tools. Here comes the short-list. As an example:sudo xcode-select -r This command resets your Xcode to the default version. This might…
Restore git commits history
When you occasionally have truncated in your local copy of the repository the history of the commits to no depth, with something similar to the command,git clone git://…./… –depth 1there’s no needs to re-checkout complete repository from scratch. Just perform the following command:git pull –unshallowand the complete history will be…
Midnight Commander for Mac OS X
1. Install MacPorts http://www.macports.org/ 2. Install Midnight Commander port via one of the variants: sudo su – port install mc +ncurses 3. Set proper location export LC_ALL=ru_RU.UTF-8 Do not forget to add this line to .profile 4. Set up terminal application’s preferences in order to get following terminal type: TERM=xterm-256color
How to enable FTP server under MacOS X Lion
Apple has removed FTP-server from System Preferences, but it still exists in the system. To enable it in your MacOS X Lion, just type in terminal: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist Then you should start it: sudo launchctl start com.apple.ftpd To stop the server, just type: sudo launchctl stop…