In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
# coding: utf-8 | |
import sys | |
import keychain | |
import clipboard | |
import webbrowser | |
key = sys.argv[1] | |
value = keychain.get_password("workflow", key) | |
if value != None: |
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service
$.fn.parsley.defaults = | |
# basic data-api overridable properties here.. | |
inputs: "input, textarea, select" # Default supported inputs. | |
excluded: "input[type=hidden], :disabled" # Do not validate input[type=hidden] & :disabled. | |
trigger: false # $.Event() that will trigger validation. eg: keyup, change.. | |
animate: true # fade in / fade out error messages | |
animateDuration: 300 # fadein/fadout ms time | |
focus: "first" # 'fist'|'last'|'none' error field to focus after validation | |
validationMinlength: 3 # Min Length for triggered validation | |
successClass: "has-success" # Class name on each valid input |