git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
import betamax | |
from betamax.fixtures import unittest | |
import requests | |
def function(): | |
response = requests.get('https://httpbin.org/get') | |
return response.json().get('url') | |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
def _send_post(self, url, params, headers): | |
req = urllib2.Request(url, json.dumps(params), headers) | |
response = urllib2.urlopen(req) | |
result = response.read() |
{-- | |
You *can* load an external CSS file in Elm, but currently, | |
in Pure Elm that means adding a style element to the body instead of the head. | |
It does cause a flash of unstyled content, so I think it's only useful | |
for testing in Reactor. | |
--} | |
import Html exposing (..) |
<button class="button button-balanced" id="tap1" on-tap="execute()">Tap</button> |
class NB: | |
def __init__(self,Lista): | |
self.ListaDeCaminho = Lista | |
self.Direcao = None | |
self.Custo = 0 | |
def addUmaListaDeCaminho(self,Lista): | |
for e in Lista: | |
self.ListaDeCaminho.append(e) | |
def addUmPasso(self,Passo): |