自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Solaris_navi Tech Space

Skills, theorems, Science and Technologies of Informatik and Wirschaftswissenschaft.

  • 博客(26)
  • 资源 (5)
  • 收藏
  • 关注

原创 Java - Connect to mysql

static String driver = "com.mysql.jdbc.Driver"; static String ConnectionString = "jdbc:mysql://localhost:3306/test"; static String

2011-08-31 22:59:29 1240

原创 Deal with Multiple Stocks - Google Finance API

[WebMethod] public String getMultipleStockDetails(String qStr) { try { String q = th

2011-08-30 20:00:36 807

原创 Google Finance Parsing

// qStr can only accept 1 stock query. // Multiple stocks query will be done later. private GoogleFinance getStockDetail(Str

2011-08-29 22:36:54 574

原创 Change Color

protected int labelColor; protected void Page_Load(object sender, EventArgs e) { if (Session["labelColor"] == nu

2011-08-29 22:35:48 571

转载 How to Access Stock Quotes Realtime through Google Finance

Google Finance is a product of Google, that tracks everything related to the Stock market and manage your Portfolio etc. It has access to re

2011-08-29 20:00:43 1844

原创 What if apache responses a blank page? 如果apache返回空白頁怎麼辦?

如果 apache 返回了空頁面,說明:你的php的script有問題。那麼,script有問題,有可能是,你的方程未定義。打個比方MYSQL如果mysql.so 的鏈接出了問題,那麼就會白屏。當然,是在測試php完好的情況下。如果連echo都不能,那

2011-08-28 08:18:14 746

转载 tar Archive

Syntax:To Tar:tar –cvzf tarfilename foldernameUntar:tar –xvzf tarfilenameExample:tar –cvzf abc.tar.gz abc- This will zip [

2011-08-28 05:53:20 677

原创 Example of Simulating concurrent requests

protected slaresearch.WebService1SoapClient client; protected monitor.monitorSoapClient monitor; protected void Page_Load(ob

2011-08-26 17:38:24 422

转载 Steps of Installing Apache on MacOSX

http://wolfpaulus.com/journal/mac/tomcat7Tomcat 7 is the first Apache Tomcat release to support the Servlet 3.0, JSP 2.2, and EL 2.2 spe

2011-08-26 04:51:28 538

原创 Calculate Differrence between Datetimes

DateTime start = monitor.getHostDatetime(); String fabo40 = client.fabonacci(40).ToString(); DateTime end = monitor.

2011-08-25 20:11:19 391

转载 c#生成图片缩略图的类

里面有4个重载方法,有直接返回Image对象的,有生成缩略图,并且保存到指定目录的!using System.IO;using System.Drawing;using System.Drawing.Imaging;/// /// 图片处理类 /// 1、生成缩

2011-08-24 23:33:22 506

原创 Using Queue

protected monitor.monitorSoapClient client; protected Queue CPU30; protected Queue MEM30; protected Queue TIME30;

2011-08-24 22:31:37 442

原创 remove duplicated value in an array

private String[] removeDuplicates(String[] s) { HashSet hs = new HashSet(s); String[] result = new String[hs

2011-08-24 20:02:11 475

原创 Update: example of webserver with webservice

private Socket socket; public void setSocket(Socket s) { this.socket = s; } // main function

2011-08-23 23:05:03 472

转载 Amazon EC2 - how to get available ram and cpu usage via AWS API?

var client = AWSClientFactory.CreateAmazonCloudWatchClient( , );var dimension = new Dimension{ Name = "InstanceId", Value

2011-08-23 20:15:09 1046

转载 How to get the available RAM and the cpu usage in percents?

How to get the available RAM and the cpu usage in percents?These methods are very usefull in order to monitor the system and particulary

2011-08-23 19:28:55 1207

原创 EXAMPLE of parsing GET and POST

public Dictionary parseRequest(String requestString) { // deal with GET and POST Dictionary dic = new Dictio

2011-08-23 02:38:47 467

转载 简单的asp.net WebService例子

http://weixing.me/asp-net/a-simple-asp-net-webservice-eg/第一, 新建网站,选择类型为asp.net web 服务。系统自动为你建立了个文件service.asmx.这就是一个最简单的web serv

2011-08-23 01:49:18 924

原创 http Server Example

/Console.Write(GetServiceOutput()); //Console.Read(); //listening port 80 int port = 80;

2011-08-19 21:33:00 704

转载 HttpListener in C#:example

// This example requires the System and System.Net namespaces.public static void SimpleListenerExample(string[] prefixes){ if (!HttpLi

2011-08-19 19:39:11 2429

原创 webProxy Example in C#

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;using Syst

2011-08-18 22:50:45 1755

原创 遇到 definition duplicated 怎麼辦

.net 4.0 in IIS7 中有一個 known issue:就是,在deploy之後會發生section定義重複的問題。解決這個問題的最好方法就是。。把webconfig中的這段代碼註釋掉。This error is related to II

2011-08-18 00:28:01 1065

原创 AWS EC2 WINDOWS IIS-VS 配置注意要点

EC2其实很简单。在购买AWS之后,可以选择要deploy的image,然后进行configure。其实配置也是比较麻烦的,如果要配置web deploy的话。下面是要注意的几点:1. 在安装 delegation 后, 记得要重启。2. .NET Frame

2011-08-15 23:11:52 2196

原创 AWS SimpleDB开发笔记

AWS SimpleDB is one of the could productions from Amazon AWS. It offers a very simple way of using database. Basically, SimpleDB is more lik

2011-08-12 01:32:01 1231

原创 TableAdapter 的使用

VS2010中,TableAdapter 是没有connection的属性的,所以直接用就可以了。AWSSDataSetTableAdapters.PaymentMethodTableAdapter adapter = new AWSSDataSetTableAdapte

2011-08-11 20:43:59 1899

原创 Android 開發中 Activity 的基本框架

Android 開發中 Activity 的基本框架

2011-08-09 23:27:00 451

Ruby_User_Guide

ruby的用户使用说明手册

2007-08-23

The_Ruby_Way

一本Think in Ruby类型的书。教你如何转型。

2007-08-23

Ajax on Rails (PPT)

Ajax on Rails 的 PPT。 pdf格式。

2007-08-21

Ruby_Cook_Book

Ruby_Cook_Book是Ruby相当经典的一本Ruby的教程。此版为英文版。

2007-08-21

空空如也

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

TA关注的人

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