zsh could check via
bindkey -L| Keybinding | Action |
|---|
##git mergetool
In the middle file (future merged file), you can navigate between conflicts with ]c and [c.
Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).
:diffupdate (to remove leftover spacing issues)
:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)
| // Solarized for Mosh Chrome | |
| // Mosh does not seem to save profiles, so this sets the default 'mosh' profile. | |
| // To reset, evaluate term_.prefs_.resetAll() | |
| // Run in the JavaScript console of mosh_browser.html, which can be opened | |
| // as explained here: | |
| // https://github.com/rpwoodbu/mosh-chrome/wiki/FAQ#how-can-i-change-the-way-the-terminal-looks-font-color-etc | |
| var htermProfiles = { | |
| // Solarized Dark |
| #!/bin/bash | |
| echo "This script prints the filenames of any dylibs in your /usr/local/ that depend on the System Python" | |
| for f in `find /usr/local/lib`; do | |
| otool -L "$f" 2> /dev/null| grep Python | grep System &> /dev/null | |
| status=$? | |
| if [ $status -eq 0 ]; then | |
| echo "$status: $f" | |
| fi | |
| done |
| cmake -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib ../ |
| import os | |
| def list_files(startpath): | |
| for root, dirs, files in os.walk(startpath): | |
| level = root.replace(startpath, '').count(os.sep) | |
| indent = ' ' * 4 * (level) | |
| print('{}{}/'.format(indent, os.path.basename(root))) | |
| subindent = ' ' * 4 * (level + 1) | |
| for f in files: | |
| print('{}{}'.format(subindent, f)) |
| from sys import argv | |
| from PyQt4 import QtGui, QtCore | |
| # Import the interface class | |
| import main_window | |
| #matplotlibwidget is inherit from matplotlibwidget in site-packages, which pointed by matplotlibplugin.py of Qt Desiner python plugin -- matplotplugin | |
| #several options of this matplotlibwidget implementation as matplotlibwidget_withbar.py or mplwidget.py could apply as your demands | |
| from matplotlibwidget import * |