iTerm2 slide down over full screen app

Attention! See Update3 for new iTerm versions (works for 2.1.5) Original Answer This command allows iTerm to work over fullscreen apps defaults write ~/Applications/iTerm.app/Contents/Info LSUIElement true But it hides iTerm’s context menu. To access iTerm’s preferences, right-click on the tabs bar and select the proper menu item; or focus on any iTerm’s window and press … Read more

Error installing nokogiri: Failed to build gem native extension & libiconv is missing (OSX)

Run these commands: gem uninstall nokogiri xcode-select –install gem install nokogiri source: http://www.nokogiri.org/tutorials/installing_nokogiri.html#mac_os_x sometimes mac updates can break xcode CLI so reinstalling can fix the issue: https://github.com/sparklemotion/nokogiri/issues/1445

MySQL does not start when upgrading OSX to Yosemite or El Capitan

Open a terminal: Check MySQL system pref panel, if it says something along the line “Warning, /usr/local/mysql/data is not owned by ‘mysql’ or ‘_mysql’ If yes, go to the mysql folder cd /usr/local/mysql do a sudo chown -R _mysql data/ This will change ownership of the /usr/local/mysql/data and all of its content to own by … Read more

Cocoapods with Xcode 6 and 10.10 Yosemite

Open Xcode 6 Open Preferences Click the Locations tab Change the Command Line Tools version to Xcode 6.0 Uninstall cocoapods $ sudo gem uninstall cocoapods Uninstall xcodeproj $ sudo gem uninstall xcodeproj Install xcodeproj $ sudo gem install xcodeproj Install cocoapods $ sudo gem install cocoapods Run pod –version to verify that it worked

Anaconda Python: where are the virtual environments stored?

If you activate the environment you’re interested in, you can find that answer in the environment variables. on MacOS/Linux: source activate python35 echo $CONDA_PREFIX on Windows: conda activate python35 echo %CONDA_PREFIX% You can also run conda info –envs, and that will show the paths to all your environments. To get the path to the instance … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)