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 python | |
# -*- coding: utf-8 -*- | |
# Created by aneasystone on 2018/3/13 | |
import pylab as pl | |
# https://github.com/gdsmith/jquery.easing/blob/master/jquery.easing.js | |
def ease_in_quad(x): | |
return x * x |
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 pylab | |
import bs4 | |
def get_mcd_content(): | |
path = 'C:/Users/aneasystone/Desktop/11.mcd' | |
mcd = '' | |
with open(path, 'rb') as file: | |
mcd = file.read() | |
return str(mcd) |
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 net.lightbody.bmp.BrowserMobProxy; | |
import net.lightbody.bmp.BrowserMobProxyServer; | |
import net.lightbody.bmp.client.ClientUtil; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.openqa.selenium.chrome.ChromeOptions; | |
import org.openqa.selenium.remote.CapabilityType; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
public class Test { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<style> | |
.container { | |
width: 340px; | |
background: #fff; | |
border: 1px solid #37c249; | |
} |