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.
*M-UNKNOWN MEXICAN TRUCKING COMPANY | |
8CON CONTSHIP CONTAINER LINE | |
99M UNKNOWN MEXICAN OVERLAND CARRIER | |
AAAB AAA MOTORS | |
AAAC AAACTION TRANSPORTATION INC | |
AAAD A A A DELIVERY INC | |
AAAG ATC LOGISTICS INC | |
AAAO AAMODT INC | |
AAAU ASIA CONTAINER LEASING CO LTD | |
AAAW AAA WALKER TRANSPORTATION SERVICES |
class MyStreamListener(tweepy.StreamListener): | |
def __init__(self, api=None): | |
super(MyStreamListener, self).__init__() | |
self.num_tweets = 0 | |
self.file = open("tweets.txt", "w") | |
def on_status(self, status): | |
tweet = status._json | |
self.file.write( json.dumps(tweet) + '\n' ) | |
self.num_tweets += 1 |
Generally, you will add a git remote for your Heroku app during the Heroku app creation process, i.e. heroku create
. However, if you are working on an existing app and want to add git remotes to enable manual deploys, the following commands may be useful.
Note that on Heroku, you must always use master
as the destination branch on the remote. If you want to deploy a different branch, you can use the syntax local_branch:destination_branch
seen below (in this example, we push the local staging
branch to the master
branch on heroku.
$ git remote add staging https://git.heroku.com/staging-app.git
http://wla.1-s.es/ | |
http://24.22.106.166:7777/mobile | |
http://91.121.121.15/ | |
http://190.151.12.194/software/documentacion/ebooks/ | |
http://79.127.126.110/Movie/ | |
http://79.127.127.112 | |
http://32.209.140.181/sandbox/musicbox/music/ | |
http://130.185.144.63/ | |
http://103.91.144.230/ftpdata/ | |
http://77.175.148.98:8081/mobile |