码迷,mamicode.com
首页 >  
搜索关键字:pass    ( 8592个结果
Unity cg vertex and fragment shaders(一)
cg片段Cg程序片段写CGPROGRAM和ENDCG之间开始时的片段可以作为#pragma语句编译指令 Pass { // ... the usual pass state setup ... CGPROGRAM // compilation direct...
分类:编程语言   时间:2015-11-30 19:59:31    阅读次数:289
用wget实现cookie欺骗
用wget实现cookie欺骗1. 分析登录界面的html代码页面在 http://bbs.linuxeden.com/ 登录2. 获得cookie$ wget --post-data="username=c-aries&pass...
分类:其他好文   时间:2015-11-29 18:05:10    阅读次数:266
php数据库操作封装类
_host = $conf['host']; $this->_port = $conf['port']; $this->_user = $conf['user']; $this->_pass = $conf['passwd']; $this->...
分类:数据库   时间:2015-11-28 23:03:21    阅读次数:405
公主选驸马问题
原始问题:波斯公主到了适婚年龄,要选驸马。候选男子100名,都是公主没有见过的。百人以随机顺序,从公主面前逐一经过。每当一位男子在公主面前经过时,公主要么选他为驸马,要么不选。如果选他,其余那些还没有登场的男子就都遣散回家,选驸马的活动也over了。如果不选,当下这名男子就离开,也就是pass掉此人...
分类:其他好文   时间:2015-11-27 12:37:28    阅读次数:161
nginx中location中关于proxy_pass和rewrite的应用
1,问题描述 upstream datacollectbackend{ #ip_hash; server 10.234.1.211:6100 max_fails=5 fail_timeout=30s; server 10.234.1.26:7100 max_fails=5 fail_timeout=30s; } location ~* ^/...
分类:其他好文   时间:2015-11-26 15:24:42    阅读次数:199
nginx.conf减肥记
问题,nginx.conf文件过长,过大,不方便维护,所以想拆分出来,这样好阅读也好维护。1,将nginx里面关于weixin的配置全部剥离出来 如下,这是nginx.conf配置文件中的微信配置记录 ,以后会越来越多的。 location ~* ^/weixin_g1.*$ { include deny.conf; proxy_pass http://we...
分类:其他好文   时间:2015-11-25 00:27:44    阅读次数:201
MySQL修改root密码的多种方法
注意命令行操作:方法1: 用SET PASSWORD命令 mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');方法2:用mysqladmin mysqladmin -u root pass...
分类:数据库   时间:2015-11-24 20:21:51    阅读次数:171
利用shell实现批量添加用户
批量添加用户并设置随机密码,把添加的用户的名字和密码保存到文件中。[root@lamp scripts]# cat user.sh #!/bin/shfor i in `seq -w 10`do pass=$(echo "`date`$RANDOM"|md5sum|cut -c 1-8) ...
分类:系统相关   时间:2015-11-24 00:51:24    阅读次数:213
nginx
1、配置负载均衡 使用默认的配置不变,只需使用下面的配置即可: 下面的配置:'/'匹配了所有的请求,将所有的请求都转发给本地的8080端口的web服务器 location / { proxy_pass http://127.0.0.1:8080; ...
分类:其他好文   时间:2015-11-22 23:15:24    阅读次数:187
mark- PHP_CURL1之模拟POST登陆
版权声明:本文为博主原创文章,未经博主允许不得转载。<?phpheader('Content-type:text/html;Charset=utf-8');$user='lee';//登陆用户名$pass='123456';//登陆密码$va_url='http://localhost/valida...
分类:Web程序   时间:2015-11-22 23:10:43    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!