python的内置对象对象类型常量示例/用法Number(数字)3.14159, 1234, 999L 3+4jString(字符串)'spam', "guido's"List(列表)[1,[2, 'Three'],4]Dictionary(字典){'food':'spam', 'taste':'y...
分类:
编程语言 时间:
2014-08-23 16:41:51
阅读次数:
295
Update: An updated version of these instructions for Ubuntu 12.10 (Quantal Quetzal) is available here.1. Install the prerequisitessudo apt-get install...
分类:
其他好文 时间:
2014-08-23 16:33:21
阅读次数:
240
-- phpMyAdmin SQL Dump -- version 2.11.2 -- http://www.phpmyadmin.net -- -- 主机...
分类:
数据库 时间:
2014-08-23 13:56:50
阅读次数:
622
1、首先ldd不是一个可执行程序,而只是一个shell脚本2、ldd能够显示可执行模块的dependency,其原理是通过设置一系列的环境变量如下:LD_TRACE_LOADED_OBJECTS、LD_WARN、LD_BIND_NOW、LD_LIBRARY_VERSION、 LD_VERBOSE等。...
分类:
系统相关 时间:
2014-08-23 13:53:20
阅读次数:
334
一、变量的类型 Javascript和Java、C这些语言不同,它是一种无类型、弱检测的语言。它对变量的定义并不需要声明变量类型,我们只要通过赋值的形式,可以将各种类型的数据赋值给同一个变量。例如: i=100;//Number类型 i="variable";//String类型 i={x:4}.....
分类:
Web程序 时间:
2014-08-23 11:14:00
阅读次数:
255
1 public class NoVisibility{ 2 private static boolean ready; 3 private static int number; 4 private static class ReaderThread extends Thread...
分类:
编程语言 时间:
2014-08-23 11:06:50
阅读次数:
302
https://oj.leetcode.com/problems/edit-distance/Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1tow...
分类:
编程语言 时间:
2014-08-23 09:56:50
阅读次数:
213
typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"、"function"、"undefined"" if (reValue==undefined){ alert("undefined"); } 发现判断不出来,最后查了下资料要用type...
分类:
Web程序 时间:
2014-08-23 08:49:30
阅读次数:
226
Problem Description
Given an N*N*N cube A, whose elements are either 0 or 1. A[i, j, k] means the number in the i-th row , j-th column and k-th layer. Initially we have A[i, j, k] = 0 (1 <= i, j, k <...
分类:
其他好文 时间:
2014-08-23 01:09:39
阅读次数:
274
用来精确浮点数,指定小数点位数. 在html中用法 {{?number_expression?|?number?:?fractionSize}} 在js中用法 $filter(‘number‘)(number,?fractionSize) 参数 number 待精确的数字 factionSize(可选) 小数点...
分类:
Web程序 时间:
2014-08-22 22:39:49
阅读次数:
213