//login.php <html><head></head><body><form action="insert.php" method="POST"><b>用户名:</b><input type="text" name="sname"> <br><br><b>密码:</b><input type ...
分类:
数据库 时间:
2017-02-24 19:10:24
阅读次数:
279
redis服务器部署:讲的很明白😂 代码使用部分 需要引用的程序集:StackExchange.Redis.StrongName.dll redis连接的接口 public interface ICacheManager:IDisposable { /// <summary> /// 根据键获取值 ...
在一台繁忙的服务器上,建议关闭ip_conntrack模块的加载; 当我们开启iptables后,会有这么个现象发生,丢包。ping的话会断断续续的丢包,ifconfig 会看到网卡dropped:XXX一直在增加,messages日志有以下内容: ip_conntrack表满导致的,iptable ...
分类:
其他好文 时间:
2017-02-24 14:24:55
阅读次数:
197
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby org.apache.ha ...
分类:
其他好文 时间:
2017-02-24 14:19:06
阅读次数:
259
1 %% Perceptron Regression 2 close all 3 clear 4 5 %%load data 6 x = load('ex4x.dat'); 7 y = load('ex4y.dat'); 8 9 x=ones(80,2); 10 for i=1:80 11 x(i,... ...
分类:
其他好文 时间:
2017-02-23 21:17:51
阅读次数:
231
需要导入Zxing.jar包 import android.graphics.Bitmap; import com.google.zxing.BarcodeFormat; import com.google.zxing.MultiFormatWriter; import com.google.zxi... ...
分类:
其他好文 时间:
2017-02-23 20:42:40
阅读次数:
516
在spring mvc中,拦截器其实比较简单了,下面简单小结并demo下。 preHandle:预处理回调方法,实现处理器的预处理(如登录检查),第三个参数为响应的处理器(如我们上一章的Controller实现); 返回值:true表示继续流程(如调用下一个拦截器或处理器); false表示流程中断 ...
分类:
编程语言 时间:
2017-02-23 18:44:16
阅读次数:
214
vue-resource是Vue.js的一款插件,它可以通过XMLHttpRequest或JSONP发起请求并处理响应。也就是说,$.ajax能做的事情,vue-resource插件一样也能做到,而且vue-resource的API更为简洁。另外,vue-resource还提供了非常有用的intec ...
分类:
其他好文 时间:
2017-02-23 10:48:24
阅读次数:
164
第四天 将大的程序逻辑化成自己一小步 数组是多个相同类型数据的结合,实现对这些数据的统一管理。 数组中的元素可以是任何数据类型,包括基本类型和应用类型。 声明数组的格式 声明数组的格式 1,数据类型[]数组名 2,数据类型 数组名[] 注意:下标的取值范围:0 数组长度-1 //静态初始化 /初始化 ...
分类:
编程语言 时间:
2017-02-23 00:25:58
阅读次数:
224
1》public class MyIntercepter implements HandlerInterceptor{ 2》 <!-- 拦截器 --> <mvc:interceptors> <mvc:interceptor> <mvc:mapping path="/**"/> <bean class ...
分类:
其他好文 时间:
2017-02-22 22:26:38
阅读次数:
278