wordpress的.htaccess很容易就被挂马啊修改成这样吧:# BEGIN WordPressRewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d...
分类:
数据库 时间:
2014-07-16 22:53:54
阅读次数:
289
Linux的关机与重启命令重启命令:1、reboot2、shutdown -r now立刻重启(root用户使用)3、shutdown -r 10过10分钟自动重启(root用户使用)4、shutdown -r 20:35在时间为20:35时候重启(root用户使用)如果是通过shutdown命令设...
分类:
系统相关 时间:
2014-07-16 21:53:28
阅读次数:
235
The .Net framework has a number of technologies that allow you to create HTTP services such as Web Service, WCF and now Web API. There are a lot of ar...
时间戳转换为日期:/// /// 将时间戳转换为datetime类型 /// /// /// public DateTime GetTime(int now) { string time...
分类:
其他好文 时间:
2014-07-16 20:47:34
阅读次数:
149
备注:唯一从容器中除去一个元素的方法是在那个容器上调用一个成员函数。 以下介绍删除不同类型的容器中满足某种条件的值的方法,某种条件指的是bool badValue(int value)返回true的情况。1、序列容器for(SeqContainer::iterator i = c.begin();....
分类:
其他好文 时间:
2014-07-16 20:25:12
阅读次数:
150
Create PROC [ChangeDept](@FromUserID varchar(25), @ToDeptID int )AsBegin BEGIN TRANSACTION --开始事务 DECLARE @errorSun INT --定义错误计数器 ...
分类:
其他好文 时间:
2014-07-16 20:10:03
阅读次数:
220
用于打印杨辉三角的程序,有多种算法仅提供一种PRogram yh (input,ouput);var m,n,c:integer;BeginFor m:=0 TO 10 Do Begin c:=1; write(c:40-3*m); For n:=1 To m Do begin c:=c+(m-n+...
分类:
其他好文 时间:
2014-07-16 19:38:04
阅读次数:
148
一个被人写滥了的小程序,新手学习,Pascal By Chaobs初学者可以用它来学习随机函数的运用,当然你完全可以自己写一个随机函数。var player1,player2:longint; a,b,l,o,i,v:longint; w:boolean;begin randomize; write...
分类:
其他好文 时间:
2014-07-16 19:36:43
阅读次数:
139
基本算法 这些都是非常基本的的算法,希望所有学习的人都能理解! 1.数论算法 求两数的最大公约数 function gcd(a,b:integer):integer; begin if b=0 then gcd:=a else gcd:=gcd (b,a mod b); end ; 求两数的最小公倍...
分类:
其他好文 时间:
2014-07-16 19:35:42
阅读次数:
665
# -*- coding: utf-8 -*-from datetime import datetimeimport time# 取当前时间,返回string类型now_str = time.strftime("%Y-%m-%d %H:%M:%S") print (type(now_str)) .....
分类:
编程语言 时间:
2014-07-12 13:49:30
阅读次数:
325