- 军军小站|张军博客
搜索到与相关的文章
数据库相关

备份还原mbr

E:\>;debug-a1371:0100movax,2011371:0103movbx,2001371:0106movcx,11371:0109movdx,801371:010Cint131371:010Emovax,3011371:0111movcx,3f1371:0114int131371:0116int201371:0118-rcxCX0000:18-nmbr_back.com-w100Writing00018bytes-qE:\>;debug-a

系统 2019-08-12 01:55:36 2415

数据库相关

The Decoder - UVa458

欢迎访问我的新博客:http://www.milkcu.com/blog/原文地址:http://www.milkcu.com/blog/archives/uva458.html题目描述TheDecoderWriteacompleteprogramthatwillcorrectlydecodeasetofcharactersintoavalidmessage.Yourprogramshouldreadagivenfileofasimplecodedseto

系统 2019-08-12 01:55:17 2415

数据库相关

使用AlarmManager进行定时任务处理

1:UploadingService.javapackagecom.example.service;importcom.example.broadcast.AlarmReceiver;importcom.example.utils.DateUtil;importandroid.app.Activity;importandroid.app.AlarmManager;importandroid.app.PendingIntent;importandroid.a

系统 2019-08-12 01:53:42 2415

Oracle

oracle中的常用字符串函数

oracle中的常用字符串函数如下:concat(string1,string2)instr(string1,string2)lpad(string1,x[,string2])ltrim(string1,[string2])nls_initcap(string[,nlsparams])nlslower(string[,nlparams])nls_upper(string[,nlsparams])nlssort(string[,nlsparas])repla

系统 2019-08-12 01:53:08 2415

数据库相关

poj 1699 Best Sequence

http://poj.org/problem?id=1699题目大意:给你n个字符串可以让他们任意首尾合并相连求包含所以字符串的最短总字符串长度注意:只能首尾合并相连像ACTG和CT是不可以的思路:求出所以成对字符串合并会增加多少长度并记录在表中然后Dfs搜索就可以啦剪枝效果更好代码及其注释:#include#include#include#include#include#

系统 2019-08-12 01:52:44 2415

数据库相关

存储过程调试

SQLSERVER2008存储过程调试昨天被问到sqlserver中存储过程怎么调试,我曾经写存储过程,调试方法非常笨拙,就是逐条运行语句,然后查看结果是不是预期的,这样的调试方法,实在是无奈之举,极大程度地限制了开发速度和准确性。今天在他的提点下,研究了下SQLSERVER2008的存储过程调试。1.在SQLSERVER2008中调试存储过程下面内容引自MSDNSQLSERVER2008的SSMS是支持单步debug的,可是在调试之前必须配置权限。假设S

系统 2019-08-12 01:33:51 2415

编程技术

iis处理请求随记回顾

----http是无状态的,每次http请求户不影响,都是独立的;不会记的上次请求;-------iis原理:输入地址--socket封装请求体报文--发送---iis解析封装响应体---返回;----httpcontext-两个对象:httprequest(封装http请求)和httpResponse(封装相应响应);---请求的报文httprequest解析请求报文,分割请求体的各个部分;---请求原理总结:发送一个请求----有httpApplica

系统 2019-08-12 01:33:18 2415

Python

Python 梯度下降法

接上篇博客题目描述:自定义一个可微并且存在最小值的一元函数,用梯度下降法求其最小值。并绘制出学习率从0.1到0.9(步长0.1)时,达到最小值时所迭代的次数的关系曲线,根据该曲线给出简单的分析。代码:#-*-coding:utf-8-*-"""CreatedonTueJun410:19:032019@author:Administrator"""importnumpyasnpimportmatplotlib.pyplotaspltplot_x=np.lin

系统 2019-09-27 17:55:44 2414

Python

Appium+python自动化(三十七)- 士兵突击许三多 - 多个

简介接着上一篇继续看一下如何并发测试以及并发测试的过程中,可能遇到的问题,在这里宏哥把宏哥遇到的和小伙伴或者童鞋们,一起分享一下。Appium端口检测问题思考经过前面学习,我们已经能够使用python启动appium服务,但是启动Appium服务之前必须保证对应的端口没有被占用,否则会出现如下报错:error:Couldn'tstartAppiumRESThttpinterfacelistener.Requestedportisalreadyinuse.P

系统 2019-09-27 17:54:09 2414

Python

Python模拟登录12306的方法

本文实例讲述了Python模拟登录12306的方法。分享给大家供大家参考。具体实现方法如下:复制代码代码如下:#!/usr/bin/python#-*-coding:utf-8-*-importre;importsys;importcookielib;importurllib;importurllib2;importoptparse;importjson;importhttplib2;reload(sys)sys.setdefaultencoding('u

系统 2019-09-27 17:53:24 2414