码迷,mamicode.com
首页 >  
搜索关键字:basic    ( 4666个结果)
Oracle
# Oracle 客户端免安装配置 1、 oracle11g http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=1511607 ?解压instantclient-basic-win32-11.2.0.1.0.zip得到文件夹instantcl ...
分类:数据库   时间:2016-12-03 20:55:27    阅读次数:272
Nginx配置文件详细说明
以上是一些基本的配置,使用Nginx最大的好处就是负载均衡 如果要使用负载均衡的话,可以修改配置http节点如下: #设定http服务器,利用它的反向代理功能提供负载均衡支持http {#设定mime类型,类型由mime.type文件定义include /etc/nginx/mime.types;d ...
分类:其他好文   时间:2016-12-03 18:02:35    阅读次数:134
Nginx 访问控制&屏蔽指定 user_agent
禁止非法恶意访问的IP[root@LNMP~]#vim/usr/local/nginx/conf/vhosts/linux.conflocation~.*admin\.php${allow127.0.0.1;denyall;#auth_basic"auth";#auth_basic_user_file/usr/local/nginx/conf/.htpasswd;includefastcgi_params;fastcgi_passunix:/tmp/dis.sock;fastcgi_inde..
分类:其他好文   时间:2016-12-03 02:42:31    阅读次数:191
224. Basic Calculator
Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or ...
分类:其他好文   时间:2016-12-01 07:44:10    阅读次数:118
JAVA基础知识之IO-File类
File类介绍 File是java.io包下面的一个类,代表与平台无关的文件或者目录。JAVA中,无论文件还是目录,都可以看作File类的一个对象。File类能对文件或目录新建,删除,获取属性等操作,但是不能直接操作文件内容(文件内容需要用数据流访问)。 JVM默认会将workspace作为相对路径 ...
分类:编程语言   时间:2016-12-01 03:57:58    阅读次数:259
Selenium + Chrome Diver使用带用户名密码认证的HTTP代理的方法
默认情况下,Chrome的--proxy-server="http://ip:port"参数不支持设置用户名和密码认证。这样就使得"Selenium + Chrome Driver"无法使用HTTP Basic Authentication的HTTP代理。一种变通的方式就是采用IP地址认证,但在国内 ...
分类:Web程序   时间:2016-11-30 23:09:45    阅读次数:778
HttpClient处理Basic认证CODE
packagecom.favccxx.favsoft.main; importjava.net.URI; importorg.apache.http.auth.AuthScope; importorg.apache.http.auth.UsernamePasswordCredentials; importorg.apache.http.client.CredentialsProvider; importorg.apache.http.client.methods.CloseableHttpResponse;..
分类:Web程序   时间:2016-11-30 17:34:57    阅读次数:202
QQ空间/朋友圈类界面的搭建
类似于QQ空间的布局主要是在说说信息、点赞、回复三大部分的自适应布局上。 当我们需要搭建类似QQ空间、微信朋友圈的界面的时候,可做如下操作: 我在这里写了一些测试的代码,大家可以参考一下。 如下是model的实现 (BasicModel 为我定义的basic类,内有归档持久化操作) 1 #impor ...
分类:其他好文   时间:2016-11-29 22:48:37    阅读次数:142
Tomcat使用JDBC Realm配置Basic认证
1.下载MySQLJDBC驱动(mysql-connector-java-x.x.x-bin.jar)放到TOMCAT_HOME/lib目录下。2.配置TOMCAT_HOME/server.xml,添加JDBCRealm,注释掉原来的LockOutRealm。<RealmclassName="org.apache.catalina.realm.JDBCRealm" driverName="org.gjt.mm.mysql.Driver" connecti..
分类:数据库   时间:2016-11-29 15:13:56    阅读次数:277
Leetcode: Lexicographical Numbers
Solution 1: Solution 2: O(N) time, O(1) space The basic idea is to find the next number to add.Take 45 for example: if the current number is 45, the n ...
分类:其他好文   时间:2016-11-29 14:10:56    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!