This file contains hidden or 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
#!bin/bash | |
ping -c 1 192.168.0.1 > /dev/null 2>&1 | |
if [ $? -ne 0 ] | |
then | |
date | |
ifconfig wlan0 | |
sudo ip link set wlan0 down | |
sudo ip link set wlan0 up | |
ifconfig wlan0 | |
fi |
This file contains hidden or 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
# test_1.py | |
def test_w_number(): | |
""" | |
Correctly Passes | |
Examples | |
-------- | |
>>> 1. # doctest: +NUMBER | |
0. | |
""" |
This file contains hidden or 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
# running with n=1, ml=1, mu=2 | |
Solver Full/Band With/out Jac # Func. Eval # Jac. Eval | |
--------- ----------- -------------- -------------- ------------- | |
solve_ivp full no jac 1101 63 | |
solve_ivp full jac 722 48 | |
solve_ivp band no jac 1038 63 | |
solve_ivp band jac 722 48 | |
odeint full no jac 983 52 | |
odeint full jac 726 56 | |
odeint band no jac 931 52 |