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 usecases of submodules:
- Separate big codebases into multiple repositories.
// mynamespace is an object to use as a namespace | |
mynamespace = (function() { | |
// Variables in the namespace | |
var mynamespace = { | |
foo: "Yes, this is foo." | |
}; | |
// "Public" methods for the namespace | |
mynamespace.fooTwo = function() { |
#!/usr/bin/env bash | |
# Convenience wrapper around VBoxManage for controlling VirtualBox virtual machines. | |
# | |
# Headless Ubuntu server gets stuck at boot menu on unsuccessful boots: | |
# http://serverfault.com/questions/243343/headless-ubuntu-server-machine-sometimes-stuck-at-grub-menu | |
function print_help { | |
echo "Usage: $(basename $0) [options] name" | |
echo "Easy control of VirtualBox virtual machines." | |
echo " -h Show this usage guide." |
Use it with KindleGen
kindlegen dic.opf