# mount -t nfs -o nolock 192.168.1.84:/home/jason/filesys /mnt/nfsmount: wrong fs type, bad option, bad superblock on 192.168.1.84:/home/jason/filesys, missing codepage or helper program, or oth...
分类:
其他好文 时间:
2015-07-14 15:44:54
阅读次数:
244
首先需要在入口文件的同级目录文件夹用于保存验证码图片,比如新建captcha目录 加载captcha辅助类 $this->load->helper('captcha'); 调用create_captcha函数生成验证码图片 $this->load->helper('url'); $vals = ar...
分类:
其他好文 时间:
2015-07-11 16:37:33
阅读次数:
116
首先通过控制器的方法跳转至视图 public function file() { $this->load->helper('url'); $this->load->view('file'); } 在视图中创建一个表单用于选择并上传文件 Document " method="post" enctype...
分类:
Web程序 时间:
2015-07-11 13:29:06
阅读次数:
155
修饰符private提供了最高的保护和最低的可见度:private修饰的域、方法和嵌套类型,只能在它的定义类中访问。
6.3.1 private
各类书籍中会有一些程序设计上的清规戒律,如:
★以private修饰所有的成员变量(Make all Member Variables private.)。
★以private修饰任一助手方法。(Make any helper methods p...
分类:
编程语言 时间:
2015-07-08 21:02:42
阅读次数:
159
控制器代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;using System.I...
分类:
Web程序 时间:
2015-07-08 14:14:29
阅读次数:
161
项目地址:https://github.com/JoanZapata/base-adapter-helper
1. 功能介绍
1.1. base-adapter-helper
base-adapter-helper 是对传统的 BaseAdapter ViewHolder 模式的一个封装。主要功能就是简化我们书写 AbsListView 的 Adapter 的代码,如 ListV...
分类:
移动开发 时间:
2015-07-07 09:29:19
阅读次数:
209
创建自定义的Middleware中间件阅读目录何为Middleware中间件使用Inline方式注册Middleware使用Inline+ AppFunc方式注册Middleware定义原生Middleware类的形式来注册Middleware使用Katana Helper来注册Middleware...
分类:
其他好文 时间:
2015-07-07 08:12:25
阅读次数:
114
文章摘自:http://www.cnblogs.com/zhangziqiu/archive/2009/03/18/1415005.htmlMVC在view页面,经常需要用到很多封装好的HTML控件,这篇文章主要讲述,怎么自己扩展和定制自己需要的控件。------------------------...
分类:
Web程序 时间:
2015-07-06 19:22:08
阅读次数:
141
#include "scripting/js-bindings/manual/ScriptingCore.h"
#include
#include
/// args push helper
template inline
void jsx_unpack_arg(std::stringstream& ss, int& carg, const _Ty& arg)
{ // template ...
分类:
编程语言 时间:
2015-07-06 01:28:35
阅读次数:
212
from:http://www.cnblogs.com/jiagoushi/p/3904995.htmlasp.net Razor 视图具有.cshtml后缀,可以轻松的实现c#代码和html标签的切换,大大提升了我们的开发效率。但是Razor语法还是有一些棉花糖值得我们了解一下,可以更加强劲的提升...
分类:
其他好文 时间:
2015-07-03 18:58:37
阅读次数:
1866