In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
| module BootstrapLayout exposing (main) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (onClick) | |
| import Navigation exposing (Location) | |
| import UrlParser exposing ((</>)) | |
| import Bootstrap.Navbar as Navbar | |
| import Bootstrap.Grid as Grid | |
| import Bootstrap.Grid.Col as Col |
| module BootstrapLayout exposing (main) | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (onClick) | |
| import Navigation exposing (Location) | |
| import UrlParser exposing ((</>)) | |
| import Bootstrap.Navbar as Navbar | |
| import Bootstrap.Grid as Grid | |
| import Bootstrap.Grid.Col as Col |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!perl -w | |
| =head1 NAME | |
| pl2py.pl | |
| =head1 DESCRIPTION | |
| Attempts to convert perl scripts to python with the awesome power of regular expressions. |