自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Indent Makefile via Python

<br />#!/usr/bin/env pythonimport osimport sys__version__ = "0.10"def space(lv): buf = "" if lv > 0: for i in range(lv): buf += "/t" return bufdef write(line, lv=0): print("%s%s" % (space(lv), line.stri

2011-01-05 16:55:00 486

原创 Retreive First Enabled Modem Device Using .Net System.Management

 In case we want to send some AT Command to the first workable mobile device connected to the computer, normally we start the devmgmt.msc to find out which COM port is the right port, but if there

2010-01-18 16:17:00 410

原创 Met Someone on Z12 from Wuhan to Beijing

Dear Birmingham,Weve met on the train Z12 carriage 8, (9M, 10M) from Wuhan to Beijing on July 5th. --email/msn stupidbot at hotmail dot com

2009-07-08 09:35:00 371

原创 C Socket Forwarding

csocket_forward.c#include #include #include int error (char *s){ printf ("%s/n", s); return 0;}void info (char *s) { puts (s);}int usage(){ printf ("forward req

2009-04-03 11:38:00 413

原创 Running Without vcl60.bpl borlndmm.dll

Borland C++ Builder 6, in project options1 uncheck Packages->Build with Runtime Packages2 uncheck Linker->Use Dynamic RTLrelease .exe size ten times but without borlndmm.dll vcl60.bpl cc3260.dll ...

2008-12-28 20:13:00 638

原创 By Reference or By Pointer in Method Arguments

Why Use Reference/Pointer in Method Argument To allow you to alter a data object in the calling functionTo speed up a program by passing a reference instead of an entire data objectWhen Should B

2008-11-13 15:47:00 728

原创 Motorola U9 User Feedback

 今天看了一下U9的反馈,在第一期, 在拉美销售了256,000 台, 退货160台, 其中20%是因为后盖人为损坏(这个手机小巧精致, 老外的粗手指, 使蛮力肯定会坏), 还有20%是应为SIM Card接口, 电池金手指, USB接口损坏(都是小巧惹的祸), 这么看来退货率0.037%, 马马虎虎还是可以接受的, 有了第一期的教训, 第二期在欧洲, 第三期在中国, 亚洲销售, 可能退货率还要更

2008-03-31 16:45:00 373

原创 Hide Title Bar in C Windows Programming

#include windows.h>/**//*  Declare Windows procedure  */LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);/**//*  Make the class name into a global variable  */char szClassName[ ] = "Win

2008-03-04 15:06:00 662

原创 Sseq the Enhanced Version of Seq

 As we all know there is a seq (seq.exe for windows), but we can do more with sseq.main.h#include stdio.h>#include stdlib.h>#define MAX 9#define LINE_LEN 1024#define WORD_LEN 80#define BLOCK_LEN 2

2008-01-21 10:40:00 977

原创 Java ME, take a snapshot from a playing video

The following code will give you a demonstration on how to take a snapshot from a playing video.Preconditions,resource available at "/mmawtk.mpeg";VideoSnapShotJPEG.java/**//* * VideoSnapShotJPEG.

2007-12-24 10:32:00 739

转载 Useful MIME-Type

Type/sub-type Extension application/envoy evy application/fractals

2007-12-19 16:52:00 398

原创 Dos Loop Command Example

echo offfor /L %%i in (1,1,%1) do echo %%icreate file named loop1.cmdrun the following command in console loop1.cmd 10will output12345678910--for more for usage type for /?

2007-12-14 17:39:00 731

转载 Nickname of US States

Alabama Montgomery Yellowhammer State Alaska Juneau The Last Frontier

2007-12-12 15:40:00 793

转载 Confusing Verbs, Raise vs Rise

RaiseRegular Verb TRANSITIVE - needs an objectVERB FORMS: raise - raised - raised - raisingTO RAISE =to lift something,to elevate,to bring to maturity,to increase,to set upright by lifting or building

2007-11-27 16:27:00 522

转载 Sample Computer Engineer Resume

Computer Engineer ResumeSteve James 2230, 173, East B St, NY 228978 Home: 111-111-1111 Cell: 222-222-2222 Email: (include Email Address) Have excellent technical skills, communication sk

2007-11-27 14:49:00 1314

原创 IELTS Vocabulary 2007

A-1 abandon 2 abbreviation 3 abnormal 4 abolish 5 aboriginal 6 abort 7 abortion 8 abound 9 abrasion 10 abridge 11 abrupt 12 absorb 13 abstract 14 absurd

2007-11-20 13:22:00 5274

原创 CipherInputStream and CipherOutputStream in Action

/* * TestCipherFile.java * Nov 8, 2007 */package com.vendor.dept.prj.subprj.gen;import java.io.DataInputStream;import java.io.DataOutputStream;import java.io.File;import java.io.Fil

2007-11-13 13:49:00 1244 5

原创 ScreenSaver MIDlet with Location Service in MIDP 3.0

Without MIDP3, the Navigator MIDlet must run when the screen saver is turned off when you set the cell phone in your car, but with MIDP3 with screen saver MIDlet build in, the Navigator MIDlet can als

2007-10-18 18:14:00 494

原创 PostBot--Post Data via JavaME Http Connection

/* * PostBot.java * Oct. 9, 2007 */package com.vendor.dept.midp.http;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import javax.microedition.io.Connector;import ja

2007-10-11 16:43:00 1619

原创 Beginning C stdin pipe programming

#include #include int main(int argc, char *argv[]){ FILE * fi; fi = stdin; int i; int ch; while ((ch = getc(fi)) != EOF) { putchar(ch); } return 0;} 

2007-08-20 13:17:00 643

转载 Man, hard to understand.

The nice men are ugly. 好男人不帅。      The handsome men are not nice. 帅男人不好。      The handsome and nice men are gay. 又帅又好的男人是同性恋。      The handsome, nice and heterosexual men are married. 又帅又好又不是同性恋的男人都结婚

2007-08-09 14:34:00 577

原创 Implement Properties for JavaME

/* * BufferedReader.java * Aug 3, 2007 */package com.company.dept.io;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.io.Reader;/** * enable readLine

2007-08-07 15:28:00 592

原创 Disable Adobe Flash Player Plugin in Firefox 2.0

Your Firefox has installed a Flash Player by mistake? The following steps will guide you to disable the plug-in.Launch Firefox; Type about:config in address field; Delete npswf32.dll from

2007-08-01 15:50:00 1791

原创 Socket Server in JavaME

/* * SocketServerMIDlet.java * 07/23/2007 */package midlet;import javax.microedition.lcdui.Command;import javax.microedition.lcdui.CommandListener;import javax.microedition.lcdui.Display;import javax

2007-07-30 10:49:00 831

原创 Socket Message Sender in JavaSE

/* * SocketClient.java * 09/22/2006 */package com.mot.lrt.network;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.io.O

2007-07-30 10:35:00 1115 1

原创 Socket Server in JavaSE

/* * SocketServer.java * 07/30/2007 */import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.io.PrintStream;import java.net.InetAddress;import java.net.S

2007-07-25 09:36:00 1485

转载 10 Moments of Microsoft

July 13, 2007 2:23 PM Microsofts 10 Luckiest MomentsIts Friday the 13th, and, even today, some companies have all the luck. How lucky has Microsoft been over the years? My list of Micr

2007-07-19 16:23:00 946

原创 Beginning Java ME Unit Test with J2MEUnit

Before reading Basic understanding of UnitTest www.junit.org; Knowing Java, the programming language; Knowing Java ME, java.sun.com; Knowing how to compile a Java MIDlet Suite

2007-07-18 15:29:00 619

原创 How to configure the network for Linux

1 GUI tool system-config-network# system-config-network &2 Command line tool system-config-network-tui# system-config-network-tui &3 Edit configuration files stored in# cd /etc/sysconfig/net

2007-07-13 12:34:00 1059

原创 When should invocationXXXNotify() be invoked

When should invocationRequestNotify() be invoked for a handler midlet? Before reading, you should know jsr211, should know the invoke/response processes between caller and handler.Normally, we think,

2007-07-06 16:25:00 985

原创 Java ME Developer Sites

Here is a list of the majority of the developer sites:Nokia: http://forum.nokia.com 内容很多很专业, 可以找到但是不好找 Motorola: http://www.motocoder.com 内容很多,  开发资源不怎么全, 补充中. SonyErcisson: http://developer.sonyeric

2007-07-06 15:54:00 554

转载 JSR in List View (JSR列表)

JSR # Specification or Technology 1 Real-Time Specification for Java (RTSJ) 1.0

2007-06-19 14:44:00 918

原创 MySQL 5.0的Sequence的实现

MySQL5.0里面没有Sequence很不方便,于是……create table t_sequence( id int, seed int, primary key (id));create function f_seqnext() returns intbegin declare oi int; updat

2007-06-01 16:49:00 1157

原创 球盲也说NBA

Atlanta HawksBoston CelticsCharlotte BobcatsChicago BullsCleveland CavaliersDallas MavericksDenver NuggetsDetroit PistonsG. S. WarriorsHouston RocketsIndiana PacersL.A. ClippersL.A. LakersMemphis Griz

2007-06-01 14:57:00 467

原创 Send and Move to SDCard

在现在的支持MIDP2.0的smartphone里面, 对于安装好的java应用, 有"Send to"和"Move to"操作, 分别可以将选定的应用复制/移动到在存储卡和手机之间移动.Only Three Operations Phone "Send to" Card; Phone "Move to" Card; Card "Move to" Phone.

2007-05-30 11:36:00 700

原创 Beginning cvs Command Line

可用的cvs server为10.193.48.46,可用容器(repository)为/cvstest,可用的项目为project1,可用的用户为billgates以微软windowsxp为客户端,创建环境变量CVSROOT,指向c:/cvsworkspace将cvs.exe (http://cvs.nongnu.org/) 复制到c:/windows/system32/下面开始登陆loginc

2007-05-29 18:20:00 766

转载 The TEAM of teamwork

Teamwork is the concept of people working together cooperatively, as in a sports team.Large ambitious projects usually require that people work together, so teamwork has become an important concept in

2007-05-24 14:13:00 1365

原创 统计当前目录文件扩展名字的脚本

这个是python脚本,需要安装python运行环境以后才可以用噢.rdgrpext.py内容如下:import osimport sysimport dircacheTYPE_MAX = 100 * 2ITEM_MAX = 100 * 100 * 30exts=""count = 0def main(): absp = os.path.abspath( sys.argv[1]) pr

2007-04-28 11:04:00 594

原创 什麽是gatling ? Gatling, the Java ME Test Framework.

https://opensource.motorola.com/sf/sfmain/do/viewProject/projects.gatlingGatling是motorola公司開源代碼的一個測試框架,運用Eclipse開發框架,基於j2meunit(不是JMUnit),類似于Sun的JDTS/TCK 的Java測試框架. 由於我不是做宣傳的,這裡就不多說了. 在手機java測試這個領域裏面,

2007-04-28 11:01:00 1039 1

原创 奇怪的计数器

申请了ygie计数器,可是为什么在csdn里面附带一个gougou的计数器给我呢?

2007-02-09 17:49:00 774

空空如也

空空如也

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

TA关注的人

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