首页 > 2014年10月29日 > 全部分享
【Java基础】可变参数
下面是一个简单的小程序: 1 import java.util.Arrays; 2 3 class lesson6 4 { 5 public static void main(String[] args) 6 { 7 int array[]={2,3,1,5,...
分类:编程语言   时间:2014-10-29 01:40:48    收藏:0  评论:0  赞:0  阅读:301
DataTable导出为word,excel,html,csv,pdf,.txt
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;usin...
分类:Web开发   时间:2014-10-29 01:40:28    收藏:0  评论:0  赞:0  阅读:456
XCode环境变量及路径设置
本文转载至http://blog.csdn.net/freedom2028/article/details/8658819一般我们在xcode里面配置包含工程目录下头文件的时候,都要关联着相对路径和绝对路径,如果只是自己用这个项目,用绝对路径的问题不大,但是如果你把工程发给别人,别人就要在改这个绝对...
分类:其他   时间:2014-10-29 01:40:08    收藏:0  评论:0  赞:0  阅读:366
Exercise: Rot13 Reader
package mainimport ( "io" "os" "strings" "fmt")type rot13Reader struct { r io.Reader}func (rot13 rot13Reader)Read(p []byte) (n int, err...
分类:其他   时间:2014-10-29 01:39:28    收藏:0  评论:0  赞:0  阅读:351
活下去才能改变世界
老罗曾经这样说过:你如果是一个商人,纯粹是为了钱,大大方方赚钱当然没有什么不好,但总是披着理想主义的外衣,把自己塑造很高尚很纯洁就太虚伪了,我很讨厌虚伪。面对锤子的降价,老罗立马上了头条,锤子的降价早在我的预期当中,只是比预期来的早了一点,如果说小米4的上市是给了锤子一耳光,那么mx4价格才是真的给...
分类:其他   时间:2014-10-29 01:39:18    收藏:0  评论:0  赞:0  阅读:174
微软职位内部推荐-Senior Software Engineer
微软近期Open的职位:Senior Software EngineerDepartment: Cloud & Enterprise Group - China Cloud Innovation CenterLocation: Shanghai ChinaIf you would like to w...
分类:其他   时间:2014-10-29 01:39:08    收藏:0  评论:0  赞:0  阅读:224
【hihoCoder第十七周】最近公共祖先·三
之前就写的是离线算法。思路就是先序一遍树,记录层数,然后高效RMQ就好。ST和线段树都能过。以后有时间将之前的在线算法补上。#include using namespace std;#define MAXN 100005#define MAXM 105#define inf 0x7ffffffint...
分类:其他   时间:2014-10-29 01:38:58    收藏:0  评论:0  赞:0  阅读:187
ArcEngine - 地图和布局同步
1,定义同步的类: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Engine.App_Code { 7 ...
分类:其他   时间:2014-10-29 01:38:48    收藏:0  评论:0  赞:0  阅读:598
java基础知识--CLASSPATH
如果在一个类中用到了另外一个类(new了一个新对象)。package com.xxx.xxx;public class Cat {}//下面是另外的文件public class Dog { public static void main(String[] args){ com.xxx.xxx...
分类:编程语言   时间:2014-10-29 01:38:38    收藏:0  评论:0  赞:0  阅读:242
compile ffmpeg
download SDL 1.2.xxx version source code.1) configure2) make & make instlldownload recent ffmpeg source code.1) configure --enable-ffplay2) vi ffplay....
分类:其他   时间:2014-10-29 01:38:29    收藏:0  评论:0  赞:0  阅读:279
Geodatabase - 打开数据库(工作空间)
1 //使用IName方式打开数据库(工作空间). 2 public void GetWorkspace_IName(string workspacePath) { 3 ESRI.ArcGIS.Geodatabase.IWorkspaceName wsn = new ESRI.ArcGIS...
分类:数据库技术   时间:2014-10-29 01:38:18    收藏:0  评论:0  赞:0  阅读:795
【索引】联合索引的基本知识
0.预备假设我们有表 user (id,name)列1.联合索引是个什么东西 我们知道,对于表的单列(如id)数据,是可以建立索引的,对于多列(id和name组合,或者,name和id组合),也可以建立索引。联合索引,也称之为组合索引。 先来看单列索引的逻辑结构。 由此得出索引的三个特征...
分类:其他   时间:2014-10-29 01:38:08    收藏:0  评论:0  赞:0  阅读:256
[原]pomelo基础知识(一)
pomelo简单配置gate服务器
分类:其他   时间:2014-10-29 01:37:48    收藏:0  评论:0  赞:0  阅读:332
.NET基础回顾(七)
一.递归加载目录树程序示例: 1 public partial class Form1 : Form 2 { 3 string path = @"D:\英雄联盟"; 4 5 public Form1() 6 { 7 I...
分类:Web开发   时间:2014-10-29 01:37:38    收藏:0  评论:0  赞:0  阅读:318
安装 VMware Tools
第一步:挂载VMware Tools第二步:将上图VMware Tools-9.2.0 XXXX.tar.gz 复制到tmp目录(其他目录也行,没有权限操作需要 chmod 777 XXX 修改来获取权限)第三步:解压 tar xvzf VMwareTools-9.2.0-799703.tar.gz...
分类:系统服务   时间:2014-10-29 01:37:28    收藏:0  评论:0  赞:0  阅读:431
KVM之Live Migration
1、安装KVM必要的软件包 #sudo apt-get install qemu-kvm bridge-utilus 2、制作虚拟机映像ubuntu-12.04.qcow2 $qemu-img create -f qcow2 ubuntu-12.04.qcow2 10G 3、安装ubuntu-12....
分类:其他   时间:2014-10-29 01:37:18    收藏:0  评论:0  赞:0  阅读:356
Switch Game
Problem DescriptionThere are many lamps in a line. All of them are off at first. A series of operations are carried out on these lamps. On the i-th op...
分类:其他   时间:2014-10-29 01:37:08    收藏:0  评论:0  赞:0  阅读:249
.net中将DataTable导出到word、Excel、txt、htm的方法
dt:DataTablestrFile:fileNamestrExt:typeprivate void GridExport(DataTable dt, string strFile, string strExt) { string strAppType = ""; switch (s...
分类:Web开发   时间:2014-10-29 01:36:58    收藏:0  评论:0  赞:0  阅读:304
【Java基础】foreach循环
从一个小程序说起: 1 class lesson6foreach 2 { 3 public static void main(String[] args) 4 { 5 int array[]={2,3,1,5,4,6}; 6 7 for(int...
分类:编程语言   时间:2014-10-29 01:36:18    收藏:0  评论:0  赞:0  阅读:280
hdu 4513 吉哥系列故事——完美队形II
吉哥系列故事——完美队形IITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1075Accepted Submission(s): 388Probl...
分类:其他   时间:2014-10-29 01:35:58    收藏:0  评论:0  赞:0  阅读:230
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!