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
| #图片透射变换 | |
| import numpy as np | |
| import cv2 | |
| import math | |
| import sys | |
| global pt | |
| global src, img | |
| global t | |
| global fname |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>flv流播放</title> | |
| </head> | |
| <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> | |
| <script src="https://cdn.bootcss.com/flv.js/1.5.0/flv.min.js"></script> | |
| <body> | |
| <div style="margin: auto;text-align: center;"> |
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
| @echo off | |
| :start | |
| cls | |
| echo 请确保电脑与安卓设备可以正常进行ADB调试 | |
| echo 启用/禁用 包: adb shell pm enable/disable [package name] | |
| echo 禁用某用户 包: adb shell pm disable-user --user x [package name] | |
| echo 卸载 包: adb shell pm uninstall (--user x) [package name] | |
| echo 1. 查看所有包 | |
| echo 2. 查看已禁用包 | |
| echo 3. 查看当前获取焦点的包 |
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
| import numpy as np | |
| import struct | |
| import cv2 | |
| # 输入的训练数据数量 | |
| n_Trained = 100 | |
| # 训练数据向量集 | |
| trained = [] | |
| # 训练数据标签集 | |
| label = [] |
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
| var list_link = []; | |
| var npage = document.getElementsByClassName('num-all')[0].innerText; | |
| for (var i_page = 1; i_page <= npage; i_page++) | |
| { | |
| var rdm = Math.random(); | |
| var obj = JSON.stringify({"channelCode":["fixed_disc"],"pageSize":30,"pageNum":i_page,"stock":[]}); | |
| var ret = $.ajax | |
| ( | |
| { | |
| url : 'http://www.szse.cn/api/disc/announcement/annList?random=' + rdm, |
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
| var xmlhttp = new XMLHttpRequest(); | |
| var obj_list = document.getElementsByName('main')[0].contentDocument.getElementsByTagName('tr'); | |
| var len_list = obj_list.length; | |
| var list_todo = []; | |
| var num_list = 0; | |
| for (var i = 2; i < len_list; i++) | |
| { | |
| if (obj_list[i].cells[4].innerText != '查看') | |
| { | |
| list_todo.push(obj_list[i].cells[4].firstChild.href); |
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
| import numpy as np | |
| import pandas as pd | |
| import os | |
| def CalcCovList(code_stock, tbl_IH, tbl_stock, W = 20, n = 1, Unit = 1): | |
| ''' | |
| W: 窗口大小(每个窗口包含的分钟数) | |
| n: 期货行情比成分股行情延后的分钟数 | |
| Unit: 窗口每次滑动的行数 | |
| Return: 时间-协方差数据框 |
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
| <?php | |
| require_once 'ExcelFuncs.php'; | |
| $testconn = mysqli_connect('127.0.0.1', 'root', '123', 'db_office'); | |
| $testconn->set_charset('utf8'); | |
| /* | |
| // 测试导出 | |
| $test = new ExportTable($testconn); | |
| $test->AddExportTbl('lunwen', 'lwid', array(1, 2, 3), array('lwid', 'lwpublish')); | |
| $test->AddExportTbl('lunwen_member', 'lm_lwid', array(1, 2, 3), array('lm_id', 'lm_lwid', 'lm_wid', 'lm_member', 'lm_sequence', 'lm_name', 'tongxun')); | |
| $test->Download('测试导出'); |
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
| <html> | |
| <head> | |
| <title>篮哩篮哩-RIP</title> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| </head> | |
| <style> | |
| @media not screen and (min-width : 768px) { | |
| #video{width: 100%;object-fit: fill;} | |
| } |
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
| <?php | |
| error_reporting(E_ALL || ~E_NOTICE); | |
| include "../conn/conn.php"; | |
| if (isset($_REQUEST['lwtype'])) | |
| { | |
| $Herb_ID = $_REQUEST['lwtype']; | |
| } | |
| if (isset($_REQUEST['OB'])) | |
| { | |
| $OB = $_REQUEST['OB']; |