扯淡上一篇出了之后,有园友说,100篇出来之后黄瓜菜都凉了,想想确实是哦,100篇确实是个大量,而且目前来说写东西也就是业余时间的一个小总结,白天还要工作,晚上在做一个web系统,最近因为世界杯时间更是少的可怜。所以这一系列就当是对于移动开发的分享经验,吐槽总结吧。废话不扯了,开始今天的Demo。L...
分类:
其他好文 时间:
2014-07-16 23:05:58
阅读次数:
225
一般搭建成功了opentack后,都会按照文档的这样创建网络 Scenario 1: one tenant, two networks, one router Scenario 2: two tenants, two networks, two routers 然而neutron号称软件定义网络,可...
分类:
Web程序 时间:
2014-07-16 22:55:19
阅读次数:
223
一、数组的深浅拷贝 在使用JavaScript对数组进行操作的时候,我们经常需要将数组进行备份,事实证明如果只是简单的将它赋予其他变量,那么我们只要更改其中的任何一个,然后其他的也会跟着改变,这就导致了问题的发生。 var arr = ["One","Two","Three"];var arrto ...
分类:
Web程序 时间:
2014-07-16 21:45:36
阅读次数:
196
// custom selector `:findday` used to match on specified day in ms. // // The selector is passed a date in ms and elements are added to...
分类:
编程语言 时间:
2014-07-16 21:26:27
阅读次数:
177
Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : t...
分类:
编程语言 时间:
2014-07-16 21:21:43
阅读次数:
251
$(document).ready(function () { var date = new Date(); var sb = ""; for (var i = 0; i '; } $("#day").innerText(sb); alert($("#day").innerText()) }) f....
分类:
Web程序 时间:
2014-07-16 21:17:52
阅读次数:
266
Write a program to sort a stack in ascending order (with biggest items on top). You may use at most one additional stack to hold items, but you may no...
分类:
其他好文 时间:
2014-07-16 20:35:03
阅读次数:
288
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet"...
分类:
其他好文 时间:
2014-07-10 20:57:26
阅读次数:
215
Java重载:
在同一个类中方法具有相同的名字,相同或不同的返回值,但参数不同的多个方法(参数个数或参数类型)
public class MethoDemo{
public static void main(String args[]){
int one = add(10,20) ; // 调用整型的加法操作
float two = add(10.3f,13.3f) ;...
分类:
编程语言 时间:
2014-07-10 20:08:16
阅读次数:
265
题目链接:
点我点我
题目:
An Awful Problem
Time Limit: 1 Second Memory Limit: 32768 KB
In order to encourage Hiqivenfin to study math, his mother gave him a sweet candy when the day of the mo...
分类:
其他好文 时间:
2014-07-10 19:29:30
阅读次数:
315