While it’s cool to make a custom element like
we did the the previous cast, it’s actually more common to do things like create
custom attributes. Thes...
分类:
Web程序 时间:
2014-06-16 10:19:04
阅读次数:
276
题目大意是给一个1-100的整数,要求首先转化成2进制,然后从最低位开始数起到不是0的位停止,输出这些位代表队额10进制数
1 #include 2 3 using namespace std; 4 5 int bits[7]={1,2,4,8,16,32,64}; 6 int
judge(i...
分类:
其他好文 时间:
2014-06-16 08:10:21
阅读次数:
226
selectdistinct b.lvl 层次, b.OPERATION_SEQ_NUM
工序, msi1.segment1 父件编码, msi1.description 父件描述, msi1.item_type父件类型,
msi1.inventory_item_status_code 父件编码状态...
分类:
数据库 时间:
2014-06-12 19:43:06
阅读次数:
670
1:引入的jar包1.X版本有hadoop-core包;而2.x没有如果你需要hdfs就引入\share\hadoop\common\lib
+hadoop-common-2.0.0-cdh4.6.0.jar +hadoop-hdfs-2.0.0-cdh4.6.0.jar
+\share\hadoo...
分类:
其他好文 时间:
2014-06-12 13:59:33
阅读次数:
255
1.问题:Eclipse+Tomcat6,run到Tomcat6时报这个版本支持问题.2.原因:Tomcate6最多支持Servlet2.5的,但是现在的项目是3.0,所以要降低项目的版本3.解决在项目的根目录下有个.settings文件夹,找org.eclipse.wst.common.project.facet.core.xml文件.把<installedfacet="jst.web"v..
分类:
Web程序 时间:
2014-06-10 23:42:25
阅读次数:
823
安装最小化的LXDE桌面环境:pacman-Slxde-common安装LXDESession:pacman-Slxsession不安装这个没法登录进桌面环境安装LXDE面板:pacman-Slxpanel不安装这个,进入LXDE桌面环境后什么都没有安装窗口管理器:pacman-Sopenbox不安装这个,既不能移动窗口,也不能最大、最小化窗口..
分类:
系统相关 时间:
2014-06-10 18:48:09
阅读次数:
484
自动安装oracle所需要的rpm包(需要访问外网):#!/bin/sh
rpmpack="
binutils
compat-libstdc++*
elfutils-libelf
elfutils-libelf-devel
elfutils-libelf-devel-static
gcc
gcc-c++
glibc
glibc-common
glibc-devel
glibc-headers
kernel-headers
ksh
libaio
libaio-devel
lib..
分类:
数据库 时间:
2014-06-10 18:46:44
阅读次数:
290
原题地址:https://oj.leetcode.com/problems/longest-common-prefix/题意:Write
a function to find the longest common prefix string amongst an array of
strings.解...
分类:
编程语言 时间:
2014-06-10 16:31:52
阅读次数:
261