自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

化繁为简

把复杂的事情简单做,把简单的事情认真做

  • 博客(36)
  • 资源 (22)
  • 收藏
  • 关注

原创 照片服务器压力测试

需求: 1. 头像上传、下载的功能测试 2. 头像上传、下载的压力测试 3. 墙纸图片上传、下载、删除的功能测试 4. 墙纸图片上传、下载、删除的压力测试测试环境和步骤:1.Linux服务器1台:avatar-ios-2.ddianle.com(运维提供正式服务器)2.在linux服务器上部署好照片服务器(平台部署)...

2019-03-25 16:27:12 1524

原创 django 学习笔记 part3

文章目录建立数据库polls/models.py:mysite/settings.py:polls/models.py:建立一个admin用户polls/admin.py:建立数据库打开mysite/settings.py. 默认情况下,配置里使用SQLite现在我们修改使用mysql数据库:1.使用pip安装pymysql包:pip install pymysql2.在Applicat...

2019-03-13 15:30:14 217

原创 django学习笔记 part2

django 学习笔记 part1文章目录django 学习笔记 part11、建立项目2、创建appmysite/urls.pypolls/views.py1、建立项目django-admin startproject mysite让我们看看文件夹的框架:mysite/ manage.py mysite/ __init__.py settings.py urls.p...

2019-03-13 15:14:23 243

原创 通过powershell-批量卸载安装的系统补丁

针对incredibuild 在win7上更新补丁后编译报错的问题,解决方案是卸载掉安装的系统补丁(备注:以后大家的测试环境最好不要自动更新系统补丁)通过powershell-批量卸载补丁操作步骤:1、以管理员身份运行powershell2、执行:Set-ExecutionPolicy RemoteSigned3、输入Y后回车4、Remove-Update.ps1脚本拷贝...

2019-03-13 15:04:51 3519 1

原创 checkio练习题:second-index

You are given two strings and you have to find an index of the second occurrence of the second string in the first one.Let's go through the first example where you need to find the second occurrence...

2019-03-13 15:02:16 268

原创 checkio练习题:secret-message

Ever tried to send a secret message to someone without using the postal service?You could use newspapers to tell your secret.Even if someone finds your message, it's easy to brush them off and tha...

2019-03-11 14:05:34 693

原创 checkio练习题:stressful-subject

Sofia has had a very stressful month and decided to take a vacation for a week.To avoid any stress during her vacation she wants to forward emails with a stressful subject line to Stephen.The func...

2019-03-11 14:05:27 521

原创 checkio练习题:the-most-frequent

你有一系列字符串,你要从中找出出现频率最高的字符串。输入: 一个字符串组成的列表输出: 一个字符串.举个栗子:most_frequent([ 'a', 'b', 'c', 'a', 'b', 'a' ]) == 'a'most_frequent(['a', 'a', 'bi', 'bi', 'bi']) == 'bi'...

2019-03-11 14:04:57 506

原创 checkio练习题:three-words

Let's teach the Robots to distinguish words and numbers.You are given a string with words and numbers separated by whitespaces (one space).The words contains only letters. You should check if the ...

2019-03-11 14:04:48 543

原创 checkio练习题:right-to-left

One of the robots is charged with a simple task:to join a sequence of strings into one sentence to produce instructions on how to get around the ship.But this robot is left-handed and has a tenden...

2019-03-11 14:04:38 446

原创 checkio练习题:popular-words

In this mission your task is to determine the popularity of certain words in the text.At the input of your function are given 2 arguments: the text and the array of words the popularity of which you...

2019-03-11 14:04:31 485

原创 checkio练习题:number-radix

你是否还记得数学课上学过的底数(对数)和 计数系统(进制)? 让我们来重温练习一下吧。给你一个字符串格式的正数和一个小于37大于1的整数型底数,用你写出来的方法来把他们转换为底数为10(十进制)的形式。任务使用数字和‘A-Z’来作为字符串格式的正数。注意数字无法转换的情况。 例如:“1A”不能用基数9进行转换。对于这些情况,你的函数应该返回-1。输入: 两个参数,一个字符串参数的正...

2019-03-11 14:04:21 249

原创 checkio练习题:most-numbers

Let's work with numbers.You are given an array of numbers (floats). You should find the difference between the maximum and minimum element.Your function should be able to handle an undefined amoun...

2019-03-11 14:04:14 297

原创 checkio练习题:index-power

You are given an array with positive numbers and a number N.You should find the N-th power of the element in the array with the index N.If N is outside of the array, then return -1.Don't forget ...

2019-03-11 14:04:07 401

原创 checkio练习题:fizz-buzz

"Fizz buzz" is a word game we will use to teach the robots about division. Let's learn computers.You should write a function that will receive a positive integer and return:"Fizz Buzz" if the numb...

2019-03-11 14:03:59 611

原创 checkio练习题:first-word

You are given a string where you have to find its first word.When solving a task pay attention to the following points:There can be dots and commas in a string.A string can start with a letter or...

2019-03-08 11:22:11 1008

原创 checkio练习题:even-last

给你一个整数数组,需要你把具有偶数索引的元素相加(0,2,4 ...),然后把相加后得到的数与最后一个元素相乘。不要忘记,第一个元素的索引是0。如果传入的是一个空数组,则应该返回0。输入: 一个整数列表输出: 你得出的答案(整数值类型)举个栗子:checkio([0, 1, 2, 3, 4, 5]) == 30checkio([1, 3, 5]) == 30checkio...

2019-03-08 11:22:04 406

原创 checkio练习题:easy-unpack

在这里你的任务是创建得到一个元组,并返回一个包含三个元素(第一,第三和倒数第二的给定元组)的元组与的功能。输入: 一个不少于三个元素的元组输出: 一个元组.举个栗子:easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)) == (1, 3, 7)easy_unpack((1, 1, 1, 1)) == (1, 1, 1)easy_unpack((6, 3, ...

2019-03-08 11:21:57 448

原创 checkio练习题:digits-multiplication

给你一个正整数,请你写一个函数来实现:传入正整数的每一位(不包括00)的乘积例如:给你 123405, 你应该这样处理 1*2*3*4*5=120(别忘了把0丢掉)输入: 一个正整数.输出: 正整数的每一位的乘积举个栗子:checkio(123405) == 120checkio(999) == 729checkio(1000) == 1checkio(1111) == ...

2019-03-08 11:21:48 387

原创 checkio练习题:correct-sentence

For the input of your function will be given one sentence. You have to return its fixed copy in a way so it’s always starts with a capital letter and ends with a dot.Pay attention to the fact that n...

2019-03-08 11:20:22 852

原创 checkio练习题:bigger-price

You have a table with all available goods in the store. The data is represented as a list of dictsYour mission here is to find the TOP most expensive goods. The amount we are looking for will be giv...

2019-03-08 11:20:15 402

原创 checkio练习题:between-markers

You are given a string and two markers (the initial and final). You have to find a substring enclosed between these two markers.But there are a few important conditions:The initial and final marke...

2019-03-08 11:20:04 424

原创 checkio练习题:best-stock

You are given the current stock prices. You have to find out which stocks cost more.Input: The dictionary where the market identifier code is a key and the value is a stock price.Output: A string ...

2019-03-08 11:13:50 275

原创 checkio练习题:011-the-warriors

Example:chuck = Warrior()bruce = Warrior()carl = Knight()dave = Warrior()fight(chuck, bruce) == Truefight(dave, carl) == Falsechuck.is_alive == Truebruce.is_alive == Falsecarl.is_alive ==...

2019-03-08 11:13:36 365

原创 checkio练习题:absolute-sorting

Let's try some sorting. Here is an array with the specific rules.The array (a tuple) has various numbers. You should sort it, but sort it by absolute value in ascending order.For example, the sequ...

2019-03-08 11:13:22 323

原创 checkio练习题:010-x-o-referee

井字游戏,有时也被称为“进攻和防守”,是一个两人玩家(X和O)轮流标志着3×3的网格的空间的连珠游戏。最先在任意一条直线(水平线,垂直线或对角线)上成功连接三个标记的一方获胜。但我们不去玩这个游戏。你将是这个游戏的裁判。你被赋予游戏的结果,以及你必须判断游戏是平局还是有人胜出,以及谁将会成为最后的赢家。如果X玩家获胜,返回“X”。如果O玩家获胜,返回“O”。如果比赛是平局,返回“D”。...

2019-03-07 10:28:27 468

原创 checkio练习题:009-pawn-brotherhood

给定一个8*8的棋盘,同时给定8个棋子的位置。如果某一个棋子的位置可以由其他棋子一步到达,则认为该棋子安全。一个棋子可以通过移动到那个方格,在相邻文件上的对角线前方对角线上捕捉对手的棋子。 判断8个棋子中安全的棋子的个数。 如图所示,左边的安全棋子个数为6,右边的位1。safe_pawns({"b4", "d4", "f4", "c3", "e3", "g5", &quot

2019-03-07 10:27:39 241

原创 checkio练习题:008-sun-angle

Every true traveler must know how to do 3 things: fix the fire, find the water and extract useful information from the nature around him. Programming won't help you with the fire and water, but when i...

2019-03-07 10:26:30 361

原创 checkio练习题:007-caesar-cipher-encryptor

This mission is the part of the set. Another one - Caesar cipher decriptor.Your mission is to encrypt a secret message (text only, without special chars like "!", "&", "?" etc.) using Caesar cip...

2019-03-07 10:25:12 263

原创 checkio练习题:006-all-the-same

你本关的任务是检查给定的列表,判断是否其中所有的元素都相等。输入: 列表输出: 布尔值范例:all_the_same([1, 1, 1]) == Trueall_the_same([1, 2, 1]) == Falseall_the_same(['a', 'a', 'a']) == Trueall_the_same([]) == True前提: 输入的列表中的所有元素均是...

2019-03-07 10:20:32 778

原创 checkio练习题:005-long-repeat

这个任务是这个系列中的第一个。在这里你应该找到字符串中最长的相同字符重复出现的次数,并返回它的重复次数。例如:字符串“aaabbcaaaa”包含具有相同字母“aaa”,“bb”,“c”和“aaaa”的四个子字符串。 最后一个子字符串是最长的一个字符串,你应该返回 4 。输入: 一个字符串.输出: 一个整数.例子:long_repeat('sdsffffse') == 4long...

2019-03-07 10:19:48 248

原创 checkio练习题:004-monkey-typing

……如果让我的指头漫无目的地在打字机的按键上面移动,那么我的长篇大论就可能变成一段明白易懂的话语。如果一队猿猴在许多打字机上乱按一气,它们也有可能写出大英博物馆里所有的书籍,它们这样做的机会肯定地比分子恢复到容器一半的机会要更多。A. S. 爱丁顿,《物理世界的本质》,1927。“福特!”他说,“外面有无数只猴子想要进来和咱们讨论他们创作的剧本《哈姆雷特》。”无限猴子定理是指让一只猴...

2019-03-07 10:19:03 478

原创 checkio练习题:003-non-unique-elements

你将得到一个含有整数(X)的非空列表。在这个任务里,你应该返回在此列表中的非唯一元素的列表。要做到这一点,你需要删除所有独特的元素(这是包含在一个给定的列表只有一次的元素)。解决这个任务时,不能改变列表的顺序。例如:[1,2,3,1,3] 1和3是非唯一元素,结果将是 [1, 3, 1, 3]。输入: 一个含有整数的列表。输出: 一个含有不唯一元素的整数列表。范例:checki...

2019-03-07 10:03:48 156

原创 checkio练习题:002-most-wanted-letter

给你一段文本,其中包含不同的英文字母和标点符号。你要找到其中那个出现最多的 字母,返回的字母必须是 小写形式。找这个“头号通缉字母”时,大小写不重要,所以对于你的搜索而言 "A" == "a"。 注意不要管标点符号、数字和空格,我们只要 字母!如果你找到 两个或两个以上出现频率相同的字母, 那么返回字母表中靠前的那个。例如“one”包含“o”、“n”、“e”每个字母一次,因此我们选...

2019-03-07 10:00:35 265

原创 checkio练习题:001-house-password

斯蒂芬和索菲亚对于一切都使用简单的密码,忘记了安全性。请你帮助尼古拉开发一个密码安全检查模块。如果密码的长度大于或等于10个字符,且其中至少有一个数字、一个大写字母和一个小写字母,该密码将被视为足够强大。密码只包含ASCII拉丁字母或数字。输入: 密码。输出: 密码的安全与否,作为布尔值(bool),或者任何可以转换和处理为布尔值的数据类型。你会在结果看到转换后的结果(True 或 ...

2019-03-07 09:55:35 603

原创 如何检测crash并在测试报告中体现(airtest)

拆解: 1.检测crash 在脚本遇到异常时检查app进程是否活动 2.保存log 如果进程不是活跃状态保存系统logcat日志文件(也可以游戏自身的日志文件) 3.报告处理 修改Airtext.report...

2019-03-01 13:58:28 3789 1

Meslo LG M Regular for Powerline.ttf

iterm2 主题agnoster中使用字体 经典主题 配合oh-my-zsh一起使用效果更佳

2019-06-06

zsh-syntax-highlighting.zip

语法高亮插件 https://github.com/zsh-users/zsh-syntax-highlighting

2019-06-06

zsh-autosuggestions.zip

zsh-autosuggestions 自动提示命令插件 https://github.com/zsh-users/zsh-autosuggestions

2019-06-06

oh-my-zsh.zip

oh-my-zsh 原代码包 https://github.com/robbyrussell/oh-my-zsh

2019-06-06

DSP的特点 DSP的选型 DSP的典型应用

DSP的特点 虽然应用于不同领域的DSP有不同的型号,但其内部结构大同小异,都具有哈佛(Harvard)结构的特征。DSP含有处理器内核、指令缓冲器、数据存储器和程 序存储器、I/O接口控制器、程序地址总线和程序数据总线、直接读取的地址总线和数据总线等单元,其中最核心的是处理器内核。概括起来DSP有如下特点:

2009-07-14

JTAG的一些说明和应用功能说明

JTAG   JTAG是英文“Joint Test Action Group(联合测试行为组织)”的词头字母的简写,该组织成立于1985 年,是由几家主要的电子制造商发起制订的PCB 和IC 测试标准。

2009-07-14

SST39VF400A

SST39VF400A芯片的管脚及内部结构图及其管脚功能的一些说明。属于flash芯片一类。

2009-07-14

TMS320VC5416

TMS320VC5416芯片的管脚说明及其功能说明 英文版本的pdf文件

2009-07-14

信号与线性系统模拟卷

信号与线性系统模拟卷, 管制中版信号与线性系统的

2009-06-06

浅谈基于DSP的音频处理及语音识别系统的设计

浅谈基于DSP的音频处理及语音识别系统的设计

2009-06-06

电子信息专业毕业论文写作研究

电子信息专业毕业论文写作研究 有关电子信息专业的毕业论文的写作与研究

2009-06-06

乒乓球游戏电路设计 vhdl,quartus2

乒乓球游戏电路设计 ,vhdl,quartus2

2009-04-28

乐曲硬件演奏电路设计 vhdl,quartus 2

乐曲硬件演奏电路设计 ,vhdl ,quartus 2

2009-04-28

串行口源码.在单片机下的

串行口源码.rar串行口源码.rar串行口源码.rar串行口源码.rar

2009-04-28

Protel元件库大全(PCB与SCH元件)

Protel元件库大全(PCB与SCH元件) protel的广泛应用

2009-04-28

清华大学-微机原理.zip

清华大学-微机原理.zip 课件 习题 习题答案…… word,ppt格式

2009-04-22

ARM系列处理器应用技术完全手册

ARM系列处理器应用技术完全手册 第01 02 03…………10 章 pdf格式

2009-04-22

ARM在UCOS-II的移植源程序

ARM在UCOS-II的移植源程序 比较多的

2009-04-22

图形图像编程技术篇.chm

图形图像编程技术篇.chm WINDOWS图像编程 图形图像 ……

2009-04-22

《visual c++ 数字图像处理》源代码.rar

《visual c++ 数字图像处理》源代码

2009-04-22

《数字图象处理入门》在线中文教程

《数字图象处理入门》在线中文教程 第1章 Windows位图和调色板 1.1 位图和调色板的概念 …………

2009-04-22

MATLAB6x图像处理命令

MATLAB6x图像处理命令 MATLAB 图像处理命令

2009-04-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除