11 xylz_yang

尚未进行身份认证

暂无相关简介

等级
TA的排名 12w+

win10 pro activation

1.使用管理员运行cmd----(在任务栏左侧的搜索框中输入cmd,出现:命令提示符 这样一个桌面应用,鼠标右键选择:以管理员身份运行) -------接下来按顺序在cmd中输入一下命令并按回车(enter)键执行就可以了2.slmgr.vbs /upk //此命令卸载系统密钥 -----执行命令后稍等弹出提示窗口“已经成功卸载了产品密钥” ,接着点击确定继续~~3...

2019-07-29 10:18:34

docker root dir change

change the default docker root dir following this steps( docker version: 18.0)[I want to change its default /var/lib/docker to /data/docker]0. $> stop docker service: service docker stop1. $&...

2018-12-20 15:52:27

pfx file generate and import

tools: makecert.exe  cert2spc.exe pvk2pfx.exesteps:1. create cer and pvk filemakecert -r -n "CN=<PublisherName>" -b 01/01/2008 -e 01/01/2010 -sv <MyCertName>.pvk <MyCertName>....

2018-10-23 11:15:24

WAMP + MantisBT File upload Configruation

the file upload feature is off by default in WAMP + MantisBT. To enable this, follow these steps:1> enable fileinfo extention in php of WAMP     1) find the php.ini in WAMP php folder, and unco...

2018-10-17 13:45:47

WAMP + MantisBT Email Configruation

follow these steps:1. get the WAMP Stack installer and install it.( set the mysql settings during the installation)2. get the latest MantisBT zip, extra it into the 'apps' folder ,and copy the con...

2018-10-15 11:10:31

Difference between object and class

1. object is the instance of a class.  class defined the blueprint or template of a object, include its behavior and/or perproies.2. object is a physical entity, class is logic/abstract entity3. o...

2018-08-15 14:27:18

difference between truncate and delete

1. delete a data entry operation will be recored in the db log, and can be rollback by log. the related trigger could be triggered.    truncate a entry operation will not be writed in log, and the d...

2018-08-15 14:22:49

GFW crosser backup

1. plug-in of chrome : 离线安装包:https://www.fasterstunnel.com/download/FastStunnel_v1.31.crx2. plug-in: skyZIP™ Proxy for firefox :https://addons.mozilla.org/de/firefox/addon/skyzip-firef

2018-02-13 15:22:20

二步实现 远程连接 阿里云SqlServer 2012 数据库服务器

前言:在使用 阿里云 上的一些产品时,遇到不少坑。                  安装IIS 时,遇到 因买的配置过低,虚拟内存不足,而导致 IIS 总是安装失败;                现在 在上面安装了个 Sql Sever 2012,远程老是 不能连接,百度找半天,终于能够连接上了。      实现步骤如下:    1. 找到 安全组配置,打开 安全组配置,点击配

2017-11-13 10:25:44

sql server - Restore database backup from a different database name

situation:  DB1, DB2( not exists)1. create backup of DB1, db1.bak2. restore to DB2 with db1.bak    1) list the logic name of backup      RESTORE FILELISTONLY FROM DISK='D:\db1.bak'   

2017-03-30 16:15:13

T-SQL top 1 in group

语法:ROW_NUMBER() OVER(PARTITION BY COLUMN ORDER BY COLUMN)example:with cte AS    (       SELECT *,             ROW_NUMBER() OVER (PARTITION BY ChartKey,WorkflowKey  ORDER BY EditDate DESC

2016-10-25 17:54:14

Disable and enable Foreign Key and Check Constraints

Foreign Key and Check Constraints can be disabled or enabled when required. To disable a constraint use this code:USE Database_nameGOALTER TABLE Table_nameNOCHECK CONSTRAINT Constraint_name

2016-10-11 15:24:34

trial translation for the element

.demo-box.demo-alert .el-alert { margin: 20px 0 0; } .demo-box.demo-alert .el-alert:first-child { margin: 0; }  Alert messages show some important messages in pageUsage the unfloat elements in

2016-09-26 16:03:38

js 与或运算符 || &&

js 与或运算符 || && 妙用,可用于精简代码,降低程序的可读性。首先出个题:如图: 假设对成长速度显示规定如下: 成长速度为5显示1个箭头; 成长速度为10显示2个箭头; 成长速度为12显示3个箭头; 成长速度为15显示4个箭头; 其他都显示都显示0各箭头。 用代码怎么实现? 差一点的if,else: Js代码 复制代码 代码如

2016-07-27 10:14:28

the right pose to design a security system for sign up

引子最近有个虚拟练习项目,涉及到系统安全保障的设计,于是对安全保障这块做了一些更深入的了解。发现了很多有趣的东西,开阔了眼界。中间查了一些资料,于是我打算重新整理,用更加循序渐进,大家都能懂的方式,说一说如何设计一个安全的系统。著名的安全事件首先来看看最近几年比较著名的拖库撞库后密码泄露的事件:2011年12月,国内最大的程序员社区 CSDN 遭拖库,600万个账户信息泄露。2

2016-07-12 11:19:57

How to solve SQL Server Error 1222 i.e Unlock a SQL Server table

1. 查找活动的事务DBCC opentran()2. 根据1得到的SPID获取事务的详情sp_who2 sp_lock 如查看79: sp_who2 79sp_lock 793.  杀掉没商量 kill 79

2016-07-11 17:53:44

javascript cookbook: modulization

http://www.ruanyifeng.com/blog/2012/10/javascript_module.html

2016-01-19 17:39:28

mvc bundle

http://www.asp.net/mvc/overview/performance/bundling-and-minification

2016-01-13 11:23:39

how to cross gfs

http://www.iyaxi.com/2015-11-17/732.html

2016-01-08 10:03:16

MVC HtmlHelper guide

HtmlHelper用来在视图中呈现 HTML 控件。以下列表显示了当前可用的一些 HTML 帮助器。 本主题演示所列出的带有星号 (*) 的帮助器。 ActionLink - 链接到操作方法。BeginForm * - 标记窗体的开头并链接到呈现该窗体的操作方法。CheckBox * - 呈现复选框。DropDownList * - 呈现下拉列

2015-12-17 11:05:29

查看更多

勋章 我的勋章
    暂无奖章