Bachelor Electronics/ICT

System Programming Final assignment 2018 - 2019 Bachelor Electronics/ICT Last update: November 20, 2018 Academic Integrity This is an individual assignment! It is only allowed to submit your own work. You may discuss the assignment with others but y
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

【Python pymysql】 -- 2019-08-11 19:26:12

原文: http://106.13.73.98/__/31/ 目录 关于sql注入 用户存在,绕过密码 用户不存在,绕过用户与密码 解决sql注入问题 commit() 增 改 删 查询数据库 fetchone() fetchall() fetchmany() > 补充: > > > 建立链接时间过长后会自动断开链接,可像下面这样解决: > ```python > conn.ping(reconnect=True) > ``` > 检查链接是否还存在,参数`reconnect=True` 表示
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

Are the density graphs shown about the log returns

1. Are the density graphs shown about the log returns? If so, can you test if it's a normal distribution test or not? You can use the Jacque-Bera test. Based on your plot of the histogram/distributions of returns. Do you observed Heavy-tailedness in
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

Graph Theory: Representation and Algorithms

Summer Project - 2019 Graph Theory: Representation and Algorithms 1 Introduction In order to complete this project successfully, the student should be familiar with many basic notions of graph theory. The questions below whose answers should be incl
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

【Python数据库连接池基本用法】 -- 2019-08-11 19:27:14

目录 基本用法 自制sqlhelper 原文: http://106.13.73.98/__/121/ @(Python数据库连接池) 确保已安装:pip install DBUtils *** 基本用法 先准备些数据 # 建了个表 create table userinfo( id int, name varchar(32), age int(3) ); # 插入记录 insert into userinfo values (1, 'user01
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

TweenJS----前端常用的js动画库,缓动画和复制动画的制作,效果非常好。

TweenJS类库主要用来调整和动画HTML5和Javascript属性,提供了简单并且强大的tweening接口。 http://www.createjs.cc/tweenjs/ http://www.createjs.cc/ CreateJS是基于HTML5开发的一套模块化的库和工具。 基于这些库,可以非常快捷地开发出基于HTML5的游戏、动画和交互应用。 快速入门
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

COMP9319 2019T2 Assignment 2

2019/8/4 COMP9319 2019T2 Assignment 2 COMP9319 2019T2 Assignment 2: RLFM Index (Run-Length Encoded BWT) Your task in this assignment is to create a search program that implements BWT backward search, which can efficiently search a RLFM encoded recor
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

COMPSCI 340 Assignment

COMPSCI 340 Assignment 1 10% of your grade Due date: 9:30 pm Monday 19th August Introduction We no longer live in a world where computing speeds increase along with Moore's Law. Instead we maintain increased throughput in our computers by running mo
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

【MySQL】数据类型之字符相关 -- 2019-08-11 19:28:15

原文: http://106.13.73.98/__/22/ 目录 字符类型 char类型 varchar类型 实测 总结 枚举类型与集合类型 字符类型 官网:https://dev.mysql.com/doc/refman/5.7/en/char.html 注意:char与varchar括号内的参数指的是字符的固定长度 char类型 定长,简单粗暴,浪费空间,存取速度快 字符长度:0 ~ 255(一个中文是一个字符,是utf8编码的3个字节) 例如:指定长度为10,存>10个字符则报错,存<
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

C++--第22课 - 类模板 - 下

第22课 - 类模板 - 下 1. 类模板的局部特化 类模板可以定义多个类型参数 #include <cstdlib> #include <iostream> using namespace std; template<typename T1, typename T2> class Test { public: void add(T1 a, T2 b) { cout<<(a + b)<<endl; } }; int main(int argc, char *argv[]) { Test<dou
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

hash小结

hash int hash(ll x) { ll t = x % N; while (h[t] && h[t] != x) t = (t + 1) % N; return t; } int main() { fo(i, 1, n) x = (x * 26 + s[i] - 97) % mo; t = hash(x); h[t] = x; } double hash int hash(ll x, ll y) { ll t
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

Psy148a Homework

Psy148a Homework #9 your name due by 23:50 Sunday, 8/4/2019 Note (HW#9 total points 137 points): Make sure to update homework #9 .Rmd file name with ‘yourInitials’ replaced by your own initials. Remember to change author ‘your name’ in this file (se
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

nginx代理(正向代理和反向代理)

正向代理      是一个位于客户端和原始服务器(origin server)之间的服务器,为了从原始服务器取得内容,客户端向代理发送一个请求并指定目标(原始服务器),然后代理向原始服务器转交请求并将获得的内容返回给客户端(目的是为了保护客户端用户)   配置文件:    server { # 配置DNS解析IP地址,比如 Google Public DNS,以及超时时间(5秒) resolver 8.8.8.8; # 必需 resolver_timeout
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

PAT 甲级 1021 Deepest Root (25 分)(bfs求树高,又可能存在part数part>2的情况)

1021 Deepest Root (25 分) A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree. Such a root is called the deepest ro
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

【Django】安装及配置 -- 2019-08-11 19:29:16

目录 MVC框架与MTV框架 Django的MTV模式 Django框架图示 安装及配置 创建一个Django项目 目录介绍 运行Django项目 启动Django报错 模版文件配置 静态文件配置 APP的创建 创建超级用户 Djange基础必备三剑客 HttpResponse render redirect 重定向是什么? 原文: http://106.13.73.98/__/33/ @ Django官网下载 *** MVC框架与MTV框架 MVC,全名Model View Controll
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

C++--第23课 - STL简介

第23课 - STL简介 1. 标准模板SLT C++的作用就是提高程序书写的效率,那么就得代码复用。 STL,即:Standard Template(样板) Library,是C++的一部分(常用的数据结构)。STL是常用数据结构和算法的集合。STL的目标是标准化组件,提高开发效率和程序可靠性。 STL库作为为C++的一部分与编译器一同被发布。STL主要由以下3个部分组成: 容器(Container):管理数据的集合 算法(Algorithm):处理集合内的元素 迭代器(Iterator):
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

挑战程序设计——迷宫的最短路径

题目详情 Description 给定一个大小为 N * M 的迷宫。迷宫由通道和墙壁组成,每一步可以向邻接的上下左右四格的通道移动。请求出从起点到终点所需的最小步数 限制条件: N,M <= 100 Input 输入两个数字 N 和 M,分别表示迷宫的长和宽,用空格隔开 输入代表迷宫的字符串,N 行 M 列,由 '#','~','S','G' 组成,分别表示墙壁,通道,起点,终点 Output 从起点到终点所需的最小步数 Sample Input 10 10 #S######.# .....
分类: 其他 发布时间: 08-11 19:51 阅读次数: 0

Windows Defender在Win10上可能会被改名

导读 微软正在将其防病毒软件推向更多平台,将其称为Windows Defender已经不再有意义了,看起来微软还会在Windows 10上的Windows Defender重命名为Microsoft Defender,这些更改可能是Windows 10的Spring 2020更新的一部分。 Windows Defender品牌变化反映了微软最新的跨平台安全性,最初始于2019年3月,当时该公司以自己的名义推出了针对macOS的防病毒软件。 在Windows 10 20H1更新的Build 18
分类: 其他 发布时间: 08-11 19:34 阅读次数: 0

【常见浏览器的UA】 -- 2019-08-11 19:21:02

原文: http://106.13.73.98/__/82/ 所谓 UA(User Agent / 用户代理),最初是指浏览器告知网站管理员,本浏览器支持的类型和框架,让网站管理员以支持的模式结构向浏览器发送页面,呈现给用户浏览。演变到今天,网站管理员为了给用户带呈现最佳的页面效果,为了使不同浏览器展现同样的网站页面,通过浏览器获取用户的系统信息,包括硬件平台、系统软件、应用软件和用户个人偏好,然后通过服务器解析后以适合用户的页面类型发送到浏览器。 Python UA库 # 安装 pip in
分类: 其他 发布时间: 08-11 19:34 阅读次数: 0

Luogu P1462 && P1951

首先有两个最短路,可以考虑把一个东西拿出来二分,也就是可以二分最小值,但是注意不要用SPFA他死了,可以用Dij跑最短路,再二分,效率会大大提高 1.SPFA #include<bits/stdc++.h> using namespace std; const int N=1e4+5; const int M=1e5+5; int n,m,tot,head[M]; long long f[N],d[N],b,a[N]; bool vis[N]; struct node{int t
分类: 其他 发布时间: 08-11 19:34 阅读次数: 0