Sub OneTxt() '打开一个txt文件 Dim Filename As Variant, extLine&, mArr() As String Dim i%, j% ChDir ThisWorkbook.Path Filename = Application.GetO...
分类:
其他好文 时间:
2014-07-18 14:29:21
阅读次数:
149
asp从第几条开始读取数据asp跳过前几条读取数据
<%
setrs=server.CreateObject("adodb.recordset")
sql="selecttop15*fromjsyllh_xxnewswhereSMT_key=1andSMT_newssort=41orderbySMT_iddesc"
rs.opensql,conn,1,1
ifrs.eofthen
response.write"本类暂无新闻"
else
i=0
dowh..
分类:
Web程序 时间:
2014-07-18 13:14:31
阅读次数:
223
注意:第一步要先添加权限:<uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"/><uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/>步骤:文件流1、写:a)创建文件输出流(PATH)b)将内容写入文件输出流(str...
分类:
其他好文 时间:
2014-07-18 13:14:00
阅读次数:
228
版本glassfish-4.0.zip1、解压,拷贝到指定安装路径unzipglassfish-4.0.zip
cpcpglassfish4/usr/local/-rf2、设置glassfish环境变量vim/etc/profile
exportGLASSFISH_HOME=/usr/local/glassfish4
exportPATH=.:$PATH:$JAVAHOME/bin:$MYSQLHOME/bin:$GLASSFISH_HOME/bin
source..
分类:
数据库 时间:
2014-07-18 12:39:40
阅读次数:
476
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file.
import java.io.BufferedReader;
import java.io.BufferedWri...
分类:
其他好文 时间:
2014-07-18 12:26:25
阅读次数:
274
用Eclispe进行Debug时一直被一个问题所困扰:Source not found.
问题产生的原因是调试进入了一个没有源码的jar包里。
简短说明:
Edit Source Lookup Path… 可以解决Debug过程中找不到源码的问题,PS,需要重启服务。
Configure Build Path 中可以给jarattach上源码,这个管的是阅读代码时可以看到jar包里的...
分类:
系统相关 时间:
2014-07-18 12:23:39
阅读次数:
337
写这个就是为了手写一份好用的求割点模板:
吐槽下,题目中的 Each of the next at most N lines contains the number of a place followed by the numbers of some places to which there is a direct line from this place. 这个at most是不可信的,应...
分类:
其他好文 时间:
2014-07-18 11:29:34
阅读次数:
232
本文介绍如何在kvm的虚拟环境下,部署实验LVS的DR模式。包括网络结构图,如何配置,以及使用tcpdump分析ip包。...
分类:
其他好文 时间:
2014-07-18 11:25:49
阅读次数:
288
一、源码编译
1.1 so预编译LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libAppArea
LOCAL_SRC_FILES :=libAppArea.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL...
分类:
移动开发 时间:
2014-07-18 11:21:37
阅读次数:
319
Given a binary tree containing digits from 0-9 only,
each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents
the number 123.
Find the to...
分类:
其他好文 时间:
2014-07-18 11:13:57
阅读次数:
204