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
import 'dart:async'; | |
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/widgets.dart'; | |
class Progress extends StatefulWidget { | |
Progress({Key key, this.durationInMs = 5000}) : super(key: key); |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
) | |
type MyError struct { | |
error | |
} |
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
import numpy as np | |
a = 1 | |
b = 2 | |
h = 0.001 | |
x0 = 1 | |
y0 = 2 | |
def dif_function(x, y): |
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
# coding=utf-8 | |
from selenium.webdriver.common.keys import Keys | |
from time import sleep | |
def run(driver, goto): | |
goto(driver) | |
elem = driver.find_element_by_name('user') | |
elem.clear() | |
elem.send_keys('login') | |
elem = driver.find_element_by_name('passwd') |