封装类如下:$host,'port'=>5672,'username'=>$username,'password'=>$password,'vhost'=>'/') */ public function __construct($configs = array(), $exchange...
分类:
Web程序 时间:
2014-07-22 00:33:35
阅读次数:
384
Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;或者Server=myServerAddress;Database=myDataBase;User Id=myU...
分类:
数据库 时间:
2014-07-22 00:17:33
阅读次数:
219
??
----查看缺省profile 中 密码相关的参数配置信息
SQL> SELECT profile,resource_type,resource_name,limit FROM dba_profiles WHERE resource_type='PASSWORD' AND profile='DEFAULT';
PROFILE RES...
分类:
数据库 时间:
2014-07-22 00:11:33
阅读次数:
299
如何生成加密的密码 grub-md5-crypt [root@?~]#?grub-md5-crypt?
Password:?
Retype?password:?
$1$zUV8p1$pWr5yZnJ1ndOBuTfL8Q6b/
or
echo?"xansun"?|?openssl?passwd?-1?-salt?$(<?/dev/uran...
分类:
其他好文 时间:
2014-07-21 23:28:10
阅读次数:
344
varmysql=require(‘mysql‘);varclient=mysql.createConnection({host:‘112.124.54.74‘,port:3306,user:‘yin‘,password:‘691331‘,database:‘hu‘});client.connect(function(error,results){if(error){console.log(‘ConnectionError:‘+error.message);return;}console.log(‘Conne..
分类:
数据库 时间:
2014-07-21 19:48:22
阅读次数:
263
【现象】 系统运行的时候突然无法进入系统了,通过FF浏览器调试,发现错误原因是"ORA-28001: the password has expired"是oracle 账户密码过期。【原因/触发因素】 通过百度查询是由于Oracle11G的新特性所致, Oracle11G创建用户时缺省密码过期限制是...
分类:
数据库 时间:
2014-07-21 14:14:36
阅读次数:
437
在html5中,文本框,也就是input, type为text,或者password,新增了一个属性placeholder,也就是占位符,以下是firefox浏览器下的表现形式,当输入的时候,占位符就会消失。这个属性非常好用,因为有这个必要h...
分类:
其他好文 时间:
2014-07-21 13:19:16
阅读次数:
483
1-->在DOS窗口下输入net stop mysql572-->切换到mysql的bin目录,运行mysqld --skip-grant-tables3-->新开DOS,切换到bin目录,运行mysql -u root4-->use mysqlupdate user set password=pa...
常常在做webqq机器人,可是最头痛的问题就是腾讯常常加一些验证串来防止robot,如今共享出最新的腾讯password加密算法和hash算法hash算法def webqq_hash(i, a): if isinstance(i, (str, unicode)): i = int...
分类:
Web程序 时间:
2014-07-20 22:28:19
阅读次数:
264
error1:ERROR 1045 (28000): Access denied for user 'root'@'xyt.local' (using password: YES)grant all on mysql.* to 'root'@'192.168.11.172' identified b...
分类:
其他好文 时间:
2014-07-19 22:38:47
阅读次数:
258