1.Book.javapackage cn.itcast.sax;public class Book { private String name; private String author; private String price; public String getName() { retu....
分类:
其他 时间:
2015-03-23 15:12:11
收藏:
0 评论:
0 赞:
0 阅读:
134
就是我们1.1框架是根据hash跳转的,今天我2.0跳转到1.1,pc一直测下来都是好的, 然后发现手机上一直跳转有问题,然后排查了半小时左右才发现 hash前面需要加/ 分割。例如:http://m.ctrip.com/webapp/FlightTrain/#lowPriceSearchHome?...
分类:
其他 时间:
2015-03-23 15:11:51
收藏:
0 评论:
0 赞:
0 阅读:
216
1, static void Main(string[] args) { //List users= Find1(u => u.NickName.Contains("luo4")); Stopwatch sw = new Stopwatch...
分类:
其他 时间:
2015-03-23 15:11:41
收藏:
0 评论:
0 赞:
0 阅读:
971
Just skip the duplicated ones. 1 class Solution { 2 public: 3 bool search(int A[], int n, int target) { 4 int start = 0, end = n-1, mid = ...
分类:
其他 时间:
2015-03-23 15:11:01
收藏:
0 评论:
0 赞:
0 阅读:
150
目录:Code Complete 代码大全Refactoring重构改善既有代码质量Clean Code 代码整洁之道The Pragmatic Programmer From Journeyman to Master 程序员修炼之道从小工到专家The Practice of Programming...
分类:
其他 时间:
2015-03-23 15:10:51
收藏:
0 评论:
0 赞:
0 阅读:
187
代码: 1 #include 2 #include 3 #include 4 5 typedef struct node 6 { 7 int x; 8 int y; 9 int s; 10 }node; 11 12 int N,M; 13 int ...
分类:
其他 时间:
2015-03-23 15:10:31
收藏:
0 评论:
0 赞:
0 阅读:
229
实验环境两台虚拟机BindM和BindS,装的系统都是centos6.3 minimalIP地址主机名hostname主DNS服务器192.168.137.102bindm.cas.cn从DNS服务器192.168.137.103binds.cas.cn主机win7218.241.119.9安装bi...
分类:
其他 时间:
2015-03-23 15:10:01
收藏:
0 评论:
0 赞:
0 阅读:
683
timeinfo1.c代码 1 #include 2 #define N 100 3 int main() 4 { 5 int A[N]; 6 #pragma acc kernels 7 { 8 for(int i=0; i 2 #define N 100 3...
分类:
其他 时间:
2015-03-23 15:09:51
收藏:
0 评论:
0 赞:
0 阅读:
281
什么是视图?视图是一张虚拟的数据表,该数据表是由数据库的查询语句查询出来的结果得到的。视图的作用:1.将重复、复杂的查询语句创建一个视图,查询时,直接用select * from 视图,即可轻松得到查询结果,提高效率(对于更新和删除也一样)。 2.将多张表联接在一起,使他们看起来像一张表。...
分类:
其他 时间:
2015-03-23 15:09:11
收藏:
0 评论:
0 赞:
0 阅读:
265
开发flask的时候,遇到了Must provide secret_key to use csrf错误提醒。原来是没有设置secret_key 。在代码中加上app.config['SECRET_KEY']='xxx'SECRET_KEY最好不要写在代码中。最好设置一个config.py文件,从中读...
分类:
其他 时间:
2015-03-23 15:08:41
收藏:
0 评论:
0 赞:
0 阅读:
3013
一,开发模式下 1,better_errors 使用全新的页面替换 Rails 默认的错误页面,显示更多的上下文信息,例如源码 和变量的值;配合binding_of_caller可以执行代码查看变量的值2,meta_request是Rails Panel的支持gem包,Rails Panel...
分类:
其他 时间:
2015-03-23 15:07:31
收藏:
0 评论:
0 赞:
0 阅读:
522
#!/usr/bin/perluse warnings;use diagnostics;use strict;use POSIX;print "time: ", time(),"\n";print "localtime: ", localtime(),"\n";print "gmttime: ", ...
分类:
其他 时间:
2015-03-23 15:07:11
收藏:
0 评论:
0 赞:
0 阅读:
353
Defer is used to ensure that a function call is performed later in a program's execution, usually for purposes of cleanup. defer is often used wheree....
分类:
其他 时间:
2015-03-23 15:06:51
收藏:
0 评论:
0 赞:
0 阅读:
323
使用self访问父类中的函数
分类:
其他 时间:
2015-03-23 15:06:21
收藏:
0 评论:
0 赞:
0 阅读:
269
onAfterShowData:function(){ $('.l-grid-row-cell-inner').hover(function (){ $(this).ligerTip({content:$(this).text(),x:10,y:...
分类:
其他 时间:
2015-03-23 15:05:41
收藏:
0 评论:
0 赞:
1 阅读:
3389
1.请实现以下函数int indexOf(int[] array, int target), 给定一个循环有序的数组。请在这个数组中找到指定元素,找到的话返回小标,没有找到返回-1.该数组的特点是它是一个单调递增的数组向右循环移位形成的。举例说明,原数组是[4,8,13,20,23,34,41,52...
分类:
其他 时间:
2015-03-23 15:05:01
收藏:
0 评论:
0 赞:
0 阅读:
221
Two condition need to equal:1. A[mid] >= A[start]. Because mid = (start + end)/2; it shifts left2. A[end] >= target. Since did not check A[end] now. 1...
分类:
其他 时间:
2015-03-23 15:04:01
收藏:
0 评论:
0 赞:
0 阅读:
110
msdn这里虽然这么写的,但是不用save也行,add之后直接就save了,经过测试(重启手机/退出程序2个方法)完全可以,不知道以后会不会改。这篇文章的写作时间:2015/03/23eg:string me = "aa"; IsolatedStorageSettings is...
分类:
其他 时间:
2015-03-23 15:02:31
收藏:
0 评论:
0 赞:
0 阅读:
240
1.book.xml Java就业培训教程 张孝祥 109元 59.00元 1.00元 2.package cn.itcast.xml;import java.io.FileOutputStream;import java.util.List;import javax.xml.par...
分类:
其他 时间:
2015-03-23 15:02:01
收藏:
0 评论:
0 赞:
0 阅读:
160
很多人喜欢用发光字做海报的标题,这样醒目又漂亮,能给人留下很深的印象,今天我就来和大家分享下如何用cdr制作发光体字。
分类:
其他 时间:
2015-03-23 15:01:31
收藏:
0 评论:
0 赞:
0 阅读:
143