ASP.NET中的cookie:创建Cookie方法 (1) Response.Cookies["userName"].Value=“admin"; Response.Cookies[“userName”].Expires=DateTime.Now.AddDays(1); //如果不设置失效时间.....
分类:
其他好文 时间:
2014-08-30 17:41:49
阅读次数:
209
var?cc=?$("#cc").layout();//获取对象
cc.layout("collapse","west");//调用对象方法 var?centerPanel?=?$("#cc").layout("panel","center");//获取中间panel对象
centerPanel.panel("option").title;...
分类:
其他好文 时间:
2014-08-30 15:14:09
阅读次数:
159
开始一个项目 第一次使用 Django,必须进行一些初始化设置工作。 新建一个工作目录,例如 D:\tool\python\Python27\workspace\djcode,然后进入该目录。 转到创建的目录,运行命令django-admin.pystartprojectmyfirstsite。.....
分类:
编程语言 时间:
2014-08-30 15:01:09
阅读次数:
178
一.连接Oracle数据库
安装客户端: oracle数据库搭建在远程服务器上,本地只需要装个客户端,然后在安装目录下(D:\app\fangs\product\12.1.0\client_3\Network\Admin ,不一定是D盘) 配置tnsnames.ora,配置可以参考同目录下的Sample 文件夹中的内容。就是指明连接名,远程ip,servicename/SID。 然后...
分类:
数据库 时间:
2014-08-30 13:54:29
阅读次数:
232
找到admin/order.php 大约491行for ($i=0, $n=sizeof($order->products); $iproducts[$i]['attributes'])之间的内容替换为echo ' ' . "\n" . ...
分类:
其他好文 时间:
2014-08-29 19:51:20
阅读次数:
192
AppController是一个已经创建好的虚拟机,我们只需要吧它导入到我们的虚拟化底层运行配置就可以了。我用的底层是vSphere5.5导入之后开机,进行初始化配置默认用户名和密码为:admin/password根据提示配置IP地址等信息,配置完了之后按5重启重启输入地址https://appcontroller:4..
分类:
移动开发 时间:
2014-08-29 18:31:28
阅读次数:
356
# -*- coding: utf-8 -*-
# mysqlTest.py
import mysql.connector
conn = mysql.connector.connect(user='root',host='127.0.0.1', port='3306', password='admin', database='test_db', use_unicode=True)
curso...
分类:
数据库 时间:
2014-08-29 13:05:07
阅读次数:
279
注:代码:所有的宽度都应该写%或em,不应该用px。效果如下图:代码如下: 建站指导.nav_bg{ width: 100%; height: 70px; background: url('images/ico2.png') no-repeat 7em center #e60012;}.nav...
分类:
其他好文 时间:
2014-08-29 12:48:57
阅读次数:
225
LeetCode: Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is...
分类:
其他好文 时间:
2014-08-28 22:41:16
阅读次数:
243
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-08-28 21:01:06
阅读次数:
179