自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(73)
  • 收藏
  • 关注

转载 C# 接口

{ // methods // properties // indexers // events } 看看C# 几口的定义 比起java 的却是要麻烦些 不过概念还是一样的 C# 构造函数重载 public class WebSite{string...

2019-09-16 22:52:12 184

转载 京剧《断密涧》中李密和王伯当的唱段

京剧《断密涧》中李密和王伯当的唱段。李密:这时候孤才把这宽心放,王贤弟你因何面带惆怅?王伯党:你杀那公主因为何故?忘恩负义你为的是哪桩?李密:昨夜晚在宫中饮琼浆,夫妻们对坐叙叙家常。 孤把那好话对她讲,谁知贱人发癫狂。 大丈夫岂容妇人犟,因此拔...

2019-09-16 22:52:08 2276

转载 c#反射

void DynamicallyInvokeMembers(Assembly myAssembly){Type classType = myAssembly.GetType(“Reflected”);PropertyInfo myProperty= classType.GetP...

2019-09-16 22:52:05 153

转载 设计模式

http://www.riabook.cn/doc/designpattern/ 转载于:https://my.oschina.net/u/2296689/blog/545791...

2019-09-16 22:52:01 149

转载 Red5 的一点点感悟

最近一个项目需要用到客户端的录音功能,大概的方案就是Flex 客户端加流媒体服务器,曾尝试永将Red5 作为一个web应用嵌入Tomcat 可是没有成功惭愧。当然把tomcat嵌入到Red5里面也是可以容忍的,就没有太多的去在意这些,本想永普通的SSH 去做,Red5又拥有自己的Spring ...

2019-09-16 22:51:58 159

转载 c#怪异的Lambda 语法

其实完全可以看成一种方法 [param list] => expression method(param list){ expression } 看上去是很像 List<string> lastNames = new List<st...

2019-09-16 22:51:55 239

转载 弹出 div jquery.jmpopups-0.5.1.js

<script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery-1.3.2.min.js"></script> <script type="t...

2019-09-16 22:51:52 187

转载 jackrabbit 保存处理

session.save(); 转载于:https://my.oschina.net/u/2296689/blog/545797

2019-09-16 22:51:48 271

转载 c# 确认框实现

private void button3_Click(object sender, System.EventArgs e) { if (MessageBox.Show("真的删除?","确认删除", MessageBoxButtons.YesNo) == DialogResult....

2019-09-16 22:51:44 1176

转载 itext 学习地址

http://www.roseindia.net/java/itext/index.shtml 记下来 备用 转载于:https://my.oschina.net/u/22966...

2019-09-16 22:51:40 172

转载 c# 泛型和索引

class YList<T> { private T[] _list; public YList(T[] ts){ _list = ts; } public YLis...

2019-09-16 22:51:36 401

转载 InputSteam to OutputStream

InputStream in = node.getProperty("jcr:data").getStream(); ByteArrayOutputStream out = new ByteArrayOutputStream(500 * 1024); makeThumbnail(in,...

2019-09-16 22:51:33 435

转载 Warning: move_uploaded_file 中文上传问题

Warning: move_uploaded_file(../upload/attach/sean/������վ����.doc) [function.move-uploaded-file]: failed to open stream: No such file or directory ...

2019-09-16 22:51:30 1278

转载 JFreechart 绘制闭合曲线

在网上搜了不少,但实现总是感觉有点难受,无奈还是要看API private static XYDataset createDataset(List<DataModel> data) { XYSeriesCollection xyseriescollection ...

2019-09-16 22:51:26 171

转载 C# ADO.net

先得到connection 调用command 使用 reader 或者别的读取数据 //该处使用的是mysql static void Main(string[] args) { String source = "DRIVER={MyS...

2019-09-16 22:51:22 219

转载 flex box 组件间隔

HBox 属性 horizontalGap="0" 转载于:https://my.oschina.net/u/2296689/blog/545727

2019-09-16 22:51:18 350

转载 Nutz 例子,从mvc ioc 到数据插入

create table rb_user( username varchar(50), password varchar(50), email varchar(100), state varchar(2)) 数据表 用了下感觉...

2019-09-16 22:51:15 149

转载 java png gif bmp to jpg

File file = new File("d:/temp/1.bmp");Image img = ImageIO.read(file);BufferedImage tag = new BufferedImage(img.getWidth(null), img.getHeight(nu...

2019-09-16 22:51:11 195

转载 Lucene in Action 下载(英文)

转载于:https://my.oschina.net/u/2296689/blog/545769

2019-09-16 22:51:07 231

转载 阿里云

最近想试试所谓的云平台到底是否可以,做个记录 阿里云申请 转载于:https://my.oschina.net/u/2296689/blog/545784...

2019-09-16 22:51:03 133

转载 flex 组合键实现

var ctrl:Boolean=event.ctrlKey;if(ctrl){ var code : int = event.keyCode; if(code==70) new ApplicationEvent(ApplicationEvent.TOGGLE_FULL...

2019-09-16 22:51:00 137

转载 20 very useful Java code snippets for Java Develop

view plaincopy to clipboardprint? String a = String.valueOf(2); //integer to numeric string int i = Integer.parseInt(a); //numeric string ...

2019-09-16 22:50:57 490

转载 linux xampp

http://www.apachefriends.org/zh_cn/xampp-linux.html 高级的启动与停止参数 参数 描述 start 启动 XAMPP。 ...

2019-09-16 22:50:52 116

转载 compass 查询单独的类型,Meta-data 可能有效

12.5.4. CompassQuery and CompassQueryBuilderCompass::Core comes with the CompassQueryBuilder interface, which provides programmatic API for...

2019-09-16 22:50:48 118

转载 久违的jdbc样板代码

public class DB { private String url = "jdbc:mysql://localhost:3306/test"; private String user = "root"; private String pwd = "yanshaozhi";...

2019-09-16 22:50:44 109

转载 ubuntu install apache and php

sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo /etc/init.d/apache2 restart ...

2019-09-16 22:50:40 79

转载 计算机专业的爱情

但是我不能抽象出你... 因为你在我心中是那么的具体... 所以我的世界并不完整... 我可以重载甚至覆盖这个世界里的任何一种方法... 但是我却不能重载对你的思念... 也许命中注定了 你在我的世界里永远的烙上了静态的属性... 而我不慎调用了爱你这个方法... 当我义无返顾的...

2019-09-16 22:50:37 536

转载 hibernate 主键生成方式

<id name="id" type="java.lang.String"> <column name="id" length="50" /> <generator class="native...

2019-09-16 22:50:33 77

转载 sling中配置servlet是否被访问到

* @scr.property name="sling.servlet.methods" values.0="POST" @scr.property name="sling.servlet.paths" 为访问路径 ...

2019-09-16 22:50:29 194

转载 js 删除确认

<SCRIPT LANGUAGE=javascript>function p_del() {varmsg ="您真的确定要删除吗?\n\n请确认!";if(confirm(msg)==true){returntrue;}else{returnfalse;}}</SC...

2019-09-16 22:50:25 104

转载 centos 安装mysql 转载

#tar zxvf mysql-5.0.18.tar.gz  #cd mysql-5.0.18  #./configure --prefix=/usr/local/mysql --with-charset=gb2312 --with-extra-charsets=all #--prefi...

2019-09-16 22:50:21 173

转载 c# 打开文件 Dialog

using System.Windows.Forms; class MainClass { static void Main(string[] args) { OpenFileDialog dlg = new OpenFileDialog(); ...

2019-09-16 22:50:17 159

转载 为Lable 添加 tooltip

{ this.firstLabel = new System.Windows.Forms.Label(); this.secondLabel = new System.Windows.Forms.Label(); this.labelsToolT...

2019-09-16 22:50:14 540

转载 解决 [warn]_default_ VirtualHost overlap on port 80, the first has precedence 问题

服务器总共2个VirtualHost ,apachectl restart的时候却出现了下面的警告提示: [warn] _default_ VirtualHost overlap on port 80, the first has precedence 这个,大概意思就是后面新增加的...

2019-09-16 22:50:10 283

转载 安装过程出现sql语法错误

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM ...

2019-09-16 22:50:07 305

转载 php basic

$b = &$a; 才是a , b 指向同一对象,不管ab谁变,他们两个都会变化 注:只有名称变量才可使用 & $a=&(2+8) 是非法的 <?php $a = 1; $b = 2; function Sum() { ...

2019-09-16 22:50:03 108

转载 C# bisic

c# 中类名和变量名是可以相同的 vs 代码补全的快捷键为 ctrl + j 习惯了eclipse 下的alt + /  还有些不习惯vs 属性 可以定义为 public int price{set ; get;} C# 中的单例模式 竟然 只是 在类前加一个 st...

2019-09-16 22:49:59 126

转载 为php 添加 mysql

libmysql.dll和php5ts.dll拷贝至windows目录下的system32下! 将php.ini 去掉;extension=php_mysql.dll前面的分号 extension_dir = "d:\php\ext ...

2019-09-16 22:49:56 188

转载 使用linux 命令

rm -rf 目录名 linux 连接 linux sudo ssh root@iP_address 转载于:https://my.oschina.net/u...

2019-09-16 22:49:53 73

转载 安装 启动 停止 卸载 windwos 服务

安装 installutil XXX.exe 启动 net start XXX 停止 net stop XXX 卸载 installutil XXX.exe 当然这些都是命令行操作的 ...

2019-09-16 22:49:49 88

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除