码迷,mamicode.com
首页 > 其他好文
wamp5是什么 wamp有什么用途?
wamp就是Windows系统加上Apache,MySQL及PHP搭建的web环境,配置简单方便,简称wamp,了解amp之后,我们就简单介绍下什么的wamp5以及主要用途 要弄清楚wamp5是什么?有什么用途?我们得先弄清楚wamp网站环境了,之前我们也有过介绍lamp主机是什么?,其实wamp是 ...
分类:其他好文   时间:2016-08-20 12:59:48    阅读次数:146
计算DEM上的Profile图
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys, gdal, os from gdalconst import GA_ReadOnly from os.path import realpath from shapely.geometr... ...
分类:其他好文   时间:2016-08-20 12:58:29    阅读次数:186
转:全志A20 GPIO 总结文档
链接: http://blog.csdn.net/chwenj/article/details/42190745 ...
分类:其他好文   时间:2016-08-20 12:58:58    阅读次数:260
[leetcode] 310. Minimum Height Trees
For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible roote ...
分类:其他好文   时间:2016-08-20 12:56:03    阅读次数:99
(学习笔记)页面布局解决方案二
垂直居中解决方法: 方法1:table-cell+vertical-alignl .parent{display:table-cell;vertical-align:middle;} 方法2:absolute+transform .parent{position:relativee;} .child ...
分类:其他好文   时间:2016-08-20 12:56:05    阅读次数:124
RIPng 知识要点
RIPng UDP:521 多播地址:FF02::9 工作机制与报文处理过程与RIP一样 配置: 必须先启用 ipv6 unicast-routing 接口下运行RIPng进程 ipv6 rip ctc enable ( ipv6 rip 路由进程名称[本地有意义] enable ) ******* ...
分类:其他好文   时间:2016-08-20 12:56:29    阅读次数:561
浅谈购物车中cookie的使用
购物车对于电商网站来说是一个非常重要的模块。最近自己的项目中也用到了,所以拿出来说说事! 购物车是用户选择商品的一个缓存的地方。其中包含了商品的基本信息,例如:商品的描述,商品的价格,商品的数量等等。 对于这个缓存而言,实现的方式是有很多种的,当然也是各有优劣,简单说一下: 1.session:对话 ...
分类:其他好文   时间:2016-08-20 12:55:46    阅读次数:224
8.20 总结
1.关于Spring的理解 (1)Spring 首先是一个容器。为我们提供了一个“模板、方法、模式”; (2)目的:通过配置文件(.XML)来关联对象。实现低耦合; (3)Spring两个重要的核心组成: IoC:控制反转:控制权由对象本身转换成Spring容器;由容器根据.XML文件去动态创建某个 ...
分类:其他好文   时间:2016-08-20 12:54:37    阅读次数:93
delegate事件绑定
为了代码的健壮性,绑定事件之前先解绑再进行绑定。 ...
分类:其他好文   时间:2016-08-20 12:54:57    阅读次数:95
DataTable.select()
代码: DataTable ta = new DataTable("Suppliers"); ta.Columns.Add("ID", typeof(int)); ta.Columns.Add("UserName", typeof(string)); ta.Columns.Add("PassWord ...
分类:其他好文   时间:2016-08-20 12:56:49    阅读次数:139
lleetcode 292. Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2016-08-20 12:56:18    阅读次数:122
UVALive3261 UVA1640 POJ2282 HDU1663 ZOJ2392 The Counting Problem
Regionals 2004 >> Asia - Shanghai 问题链接:UVALive3261 UVA1640 POJ2282 HDU1663 ZOJ2392 The Counting Problem。 问题简述:输入m和n,计算m到n(包括m和n)之间各个数中包含多少个0-9数字。 问题分析:先分别计算0到m-1和0到n之间数的数字个数,结果=0到n之间数的数字个数-0到m-1之...
分类:其他好文   时间:2016-08-20 11:49:13    阅读次数:153
HDU3564 Another LIS 线段树
Another LIS Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1419    Accepted Submission(s): 521 Problem Description There is a sequence...
分类:其他好文   时间:2016-08-20 11:50:33    阅读次数:155
在服务器上重装N点主机管理系统步序有哪些
重装原因:N点无法开通空间提示错误,我们希望重装N点后可以保留已开空间的信息。 1、备份N点管理系统的数据库,具体路径是C:\Program Files\NpointSoft\npointhost1.9.6\web\host_date\下的mdb文件,把这个文件压缩后,转移到桌面上。(1.9.6换成 ...
分类:其他好文   时间:2016-08-20 11:46:50    阅读次数:125
计算高程与距离
#!/usr/bin/env python # -*- coding: utf-8 -*- import math import os from shapely.geometry import shape, Point import json def pairs(lst): """ yield it... ...
分类:其他好文   时间:2016-08-20 11:47:00    阅读次数:370
哈佛结构和冯·诺依曼结构的区别
【转】http://blog.sina.com.cn/s/blog_a44094ea01016s09.html 哈佛结构 (英语:Harvard architecture)是一种将程序指令储存和数据储存分开的存储器结构。中央处理器首先到程序指令储存器中读取程序指令内容,解码后得到数据地址,再到相应的 ...
分类:其他好文   时间:2016-08-20 11:45:42    阅读次数:195
ForeignKey 的第二个位置参数on_delete
on_delete指的是通过ForeignKey连接起来的对象被删除后,当前字段怎么变化。 常见的选项有: models.CASCADE,对就对象删除后,包含ForeignKey的字段也会被删除 models.PROTECT,删除时会引起ProtectedError models.SET_NULL, ...
分类:其他好文   时间:2016-08-20 11:44:37    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!