IntroductionAll of the configuration files for the Laravel framework are stored in theapp/configdirectory. Each option in every file is documented, so...
分类:
其他好文 时间:
2014-10-24 20:36:15
阅读次数:
177
public class Demo{
Configuration config=new Configuration().configure();
Hibernate4之前的写法,是与应用程序的生命周期一致,并为每个应用程序服务(在多个线程之间共
享))-->
SessionFactory factory=config.buildSessio...
分类:
Web程序 时间:
2014-10-24 19:00:01
阅读次数:
256
1. 使用命令行查看类加载过程,在eclipse测试类的run configuration中配置-verbose:class或者-verbose,如下图所示:运行结果如下所示:[Opened D:\Program Files\jdk6\jre\lib\rt.jar][Loaded java.lang...
分类:
编程语言 时间:
2014-10-24 12:58:50
阅读次数:
726
1、Global中增加json输出GlobalConfiguration.Configuration.Formatters.JsonFormatter.MediaTypeMappings.Add(new QueryStringMapping("json", "true", "application/...
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using ...
Oracle安装完后,其中有一个缺省的数据库,除了这个缺省的数据库外,我们还可以创建自己的数据库。对于初学者来说,为了避免麻烦,可以用'Database Configuration Assistant'向导来创建数据库。创建完数据库后,并不能立即在数据库中建表,必须先创建该数据库的用户,并且为该用户...
分类:
数据库 时间:
2014-10-23 20:37:29
阅读次数:
191
PS:主要就是一个配置文件和一个转换函数
配置文件app.config 之前要ADD reference --> system.configuration & using.system.configuration
...
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using S...
分类:
数据库 时间:
2014-10-23 12:07:16
阅读次数:
156
有时候在安装Linux选择键盘到布局到时候,会选择错误,这个时候可以选择终端命令来进行重新选择sudo dpkg-reconfigure keyboard-configuration 之后键盘文我选择的MacBook Pro,之后选择英语(美国)即可解决问题。
分类:
系统相关 时间:
2014-10-23 09:23:26
阅读次数:
925
创建库文件工程时往往需要设置.lib文件和.dll文件的路径。假设一个solution对应了多个工程,然而他们共用一些库,就可以在solution文件夹下分别添加两个文件夹lib和bin(其实放在一起也可以,更方便)lib文件:工程属性页-Configuration Properties-Gener...
分类:
其他好文 时间:
2014-10-22 23:41:42
阅读次数:
388