Indent Makefile via Python

<br />#!/usr/bin/env python import os import sys __version__ = "0.10" def space(lv): buf = "" if lv > 0: ...

2011-01-05 16:55:00

阅读数 331

评论数 0

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...

2010-01-18 16:17:00

阅读数 240

评论数 0

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

阅读数 224

评论数 0

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...

2009-04-03 11:38:00

阅读数 288

评论数 0

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 ...

2008-12-28 20:13:00

阅读数 467

评论数 0

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...

2008-11-13 15:47:00

阅读数 538

评论数 0

Motorola U9 User Feedback

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

2008-03-31 16:45:00

阅读数 263

评论数 0

Hide Title Bar in C Windows Programming

#include windows.h>/**//*  Declare Windows procedure  */LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);/**//*  Make the class name ...

2008-03-04 15:06:00

阅读数 503

评论数 0

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#defin...

2008-01-21 10:40:00

阅读数 568

评论数 0

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.mpe...

2007-12-24 10:32:00

阅读数 468

评论数 0

Useful MIME-Type

Type/sub-type Extension application/envoy evy app...

2007-12-19 16:52:00

阅读数 290

评论数 0

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 mor...

2007-12-14 17:39:00

阅读数 558

评论数 0

Nickname of US States

Alabama Montgomery Yellowhammer State Alaska Juneau Th...

2007-12-12 15:40:00

阅读数 476

评论数 0

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 maturit...

2007-11-27 16:27:00

阅读数 374

评论数 0

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 e...

2007-11-27 14:49:00

阅读数 1146

评论数 0

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 a...

2007-11-20 13:22:00

阅读数 3754

评论数 0

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;impor...

2007-11-13 13:49:00

阅读数 881

评论数 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 ...

2007-10-18 18:14:00

阅读数 379

评论数 0

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.OutputStre...

2007-10-11 16:43:00

阅读数 1412

评论数 0

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) { p...

2007-08-20 13:17:00

阅读数 556

评论数 0

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