A Pen by Rohit Singh Rathaur on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright (c) 2017-2021 The Bitcoin Core developers | |
# Distributed under the MIT software license, see the accompanying | |
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | |
"""An example functional test | |
The module-level docstring should include a high-level description of | |
what the test is doing. It's the first thing people see when they open | |
the file and should give the reader information about *what* the test | |
is testing and *how* it's being tested | |
""" |
A Pen by Rohit Singh Rathaur on CodePen.
A Pen by Rohit Singh Rathaur on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Plots # hide | |
default(c=:matter, legend=false, xlabel="x", ylabel="y") # hide | |
using Surrogates # hide | |
function leon(x) | |
x1 = x[1] | |
x2 = x[2] | |
term1 = 100*(x2 - x1^3)^2 | |
term2 = (1 - x1)^2 | |
y = term1 + term2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you have messed in your fork repository after doing some changes then to avoid this problem follow these steps: | |
## Clean up a fork and restart it from a upstream | |
The simplest solution would be (using `upstream` as the remote name referencing the original repo forked): | |
``` | |
git remote add upstream /url/to/original/repo | |
git fetch upstream | |
git checkout master |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.