上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页

2011年4月11日

申请新加坡商务签证Nationals of Assessment Level I Countries

摘要: Nationals of Assessment Level I Countries Related e-Service: Submission of Application for Visa Electronically (SAVE) » Eligibility » Procedure » Documents Required » Other Requirements » Processing Fee » Security Deposit » Processing Time » Collection of Visa 阅读全文

posted @ 2011-04-11 00:44 cutepig 阅读(993) 评论(0) 推荐(0) 编辑

2011年4月7日

windbg debug memory leakage

摘要: program:#include "stdlib.h"#include <crtdbg.h>void testLeak1(){new int;}void testLeak2(){malloc(123);}int _tmain(int argc, _TCHAR* argv[]){_CrtSetDbgFlag( _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | _CRTDBG_LEAK_CHECK_DF | _CRTDBG_CHECK_ALWAYS_DF | _CRTDBG_CHECK_CRT_DF );malloc(100);testLe 阅读全文

posted @ 2011-04-07 00:51 cutepig 阅读(1703) 评论(0) 推荐(0) 编辑

2011年4月2日

p2p bypass NAT

摘要: ///what to do?A(inside company) connect to cnblogs by http_proxy and post a document with content public_addr, private_addr, and find whether any other clients connect it too.If find, then try to connect them, and display the information of themlater, user can select another client, and send files o 阅读全文

posted @ 2011-04-02 17:18 cutepig 阅读(1381) 评论(0) 推荐(0) 编辑

2011年3月28日

9款免费的Windows远程协助软件

摘要: 9款免费的Windows远程协助软件 ugmbbc发布于 2010-05-28 06:42:38|22446 次阅读 字体:大 小 打印预览 感谢北极星博客的投递 当你在使用电脑时突然碰到了问题自己解决不了,那么我们可以通过远程协助来让网友解决。首先,如果网友和你在同一个局域网中你可以使用的就是 Windows 的远程桌面功能。如果你不在局域网中,并且只有一个Internet 连接。你可以通过其他的远程协助软件从互联网中得到网友的帮助。这里我们列出九款免费的Windows远程协助软件。 1。 Team Viewer:TeamViewer是一个既简单又友好的远程协助工具。您可以通过它远程控制对方 阅读全文

posted @ 2011-03-28 23:11 cutepig 阅读(1792) 评论(0) 推荐(0) 编辑

2011年3月23日

google全程面试题目,顺求安慰。。

摘要: http://www.mitbbs.com/article_t/JobHunting/31828487.html发信人: maxq (zf), 信区: JobHunting 标 题: google全程面试题目,顺求安慰。。。 发信站: BBS 未名空间站 (Tue Mar 22 00:34:25 2011, 美东) 经过了三个月的断断续续的面试和准备,最近一阵抓了很多时间努力准备, 本以为最后的一次面试能弥补前面的不足,可惜还是功亏一篑... 想想主要是自己编程水平不行,不能快速的写出bug free code,另外 design和算法方面有差距,另外是前面的准备不足,后面拼命努力最终 还是无 阅读全文

posted @ 2011-03-23 20:48 cutepig 阅读(827) 评论(1) 推荐(0) 编辑

2011年3月19日

open source trading system

摘要: 什么是rtrading systemhttp://wiki.mbalib.com/wiki/%E4%BA%A4%E6%98%93%E7%B3%BB%E7%BB%9Fhttp://www.newsmth.net/bbsbfind.php?q=1&board=StockAnalysis&title=%BD%BB%D2%D7%CF%B5%CD%B3&title2=&title3=&userid=&dt=7000http://www.newsmth.net/bbsbfind.php?q=1&board=Futures&title=%BD% 阅读全文

posted @ 2011-03-19 10:57 cutepig 阅读(2721) 评论(0) 推荐(1) 编辑

2011年3月18日

sockscap on linux: wsocks

摘要: http://code.google.com/p/wsocks/ 阅读全文

posted @ 2011-03-18 08:30 cutepig 阅读(481) 评论(0) 推荐(0) 编辑

2011年3月4日

UI: Form editor && use CRectTracker to allow user drag/move/resize graphics

摘要: Init:m_rectTracker.m_rect.SetRect(0,0,100,100); m_rectTracker.m_nStyle=CRectTracker::resizeInside|CRectTracker::dottedLine;onDraw:m_rectTracker.GetTrueRect(&rect); //if(bDraw) dc.Ellipse (rect);//画椭圆; //Draw tracking rectangle. m_rectTracker.Draw(&dc);//这句画才真正的将这个四边形画出来;void CRectTrackDlg::O 阅读全文

posted @ 2011-03-04 20:44 cutepig 阅读(397) 评论(0) 推荐(0) 编辑

2011年3月2日

linux: hadoop

摘要: http://apache.01link.hk//hadoop/core/hadoop-0.21.0/install guidehttp://www.cnblogs.com/wayne1017/archive/2007/03/20/678724.htmlhadoop quick starthttp://hadoop.apache.org/common/docs/r0.20.2/quickstart.html#Supported+Platformssudo ssh localhost -p 443sudo gedit /etc/ssh/sshd_config ls -al file 阅读全文

posted @ 2011-03-02 08:52 cutepig 阅读(264) 评论(0) 推荐(0) 编辑

2011年2月28日

testing: mock object

摘要: - mock objecthttp://www.ibm.com/developerworks/library/j-mocktest.htmlMock Object Generate Tool 最开始,Mock Object是完全由测试者自己手工撰写的。这样,无可避免的会带来编写测试用例效率低下和测试用例编写困难的弊病,甚至可能会影响XP实践者“测试先行”的激情。此时,各种各样帮助创建Mock Object的工具就应运而生了。 这些工具中,有MockObjects、XDoclet等帮助程序员编写Mock Object实现的工具,也有EasyMock、MockCreator等自动创建Mock Ob 阅读全文

posted @ 2011-02-28 20:22 cutepig 阅读(326) 评论(0) 推荐(0) 编辑

2011年2月25日

alg_CLRS: graph DFS, topological sort

摘要: #include<stdio.h>#include<algorithm>#include<map>//DFSref:CLRS$22.3&22.4#defineMAX_VERTEX10intG[MAX_VERTEX][MAX_VERTEX]={0};intnVertex=0;#defineWHITE1#defineGRAY2#defineBLACK3intcolor[MAX_VERTEX]={0};intparent[MAX_VERTEX]={0};inttime=0;intd[MAX_VERTEX]={0};//startvisittimeforea 阅读全文

posted @ 2011-02-25 20:30 cutepig 阅读(289) 评论(0) 推荐(0) 编辑

What is the difference between data mining and machine learning?

摘要: http://www.google.com.hk/search?hl=zh-TW&client=firefox-a&hs=K3s&rls=org.mozilla%3Azh-TW%3Aofficial&q=difference+between+data+mining+and+machine+learning&aq=f&aqi=g1&aql=&oq= 阅读全文

posted @ 2011-02-25 11:01 cutepig 阅读(325) 评论(0) 推荐(0) 编辑

alg: why Quicksort superiority over Heap Sort

摘要: http://stackoverflow.com/questions/1853208/quicksort-superiority-over-heap-sorthttp://stackoverflow.com/questions/2467751/quicksort-vs-heapsort 阅读全文

posted @ 2011-02-25 11:00 cutepig 阅读(217) 评论(0) 推荐(0) 编辑

2011年2月23日

CLRS: union_find_sets

摘要: //union_find_sets#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <memory.h>//两个优化://1:rank数组的引入,启发式函数//2:路径压缩;//Abstract: UFSet //Author:Lifeng Wang (Fandywang)// Model One 与Model 2 路径压缩方式不同,合并标准不同const int MAXSIZE = 500010;int rank[MAXSIZE]; // 节点高度的上界int pa 阅读全文

posted @ 2011-02-23 20:27 cutepig 阅读(297) 评论(0) 推荐(0) 编辑

2011年2月22日

CLRS: heap sort and priority queue

摘要: //ref: CLRS $6#include <stdio.h> #include <stdlib.h> #include <time.h> #include <assert.h> #include <algorithm> #define MAX 20int number[MAX+1];int heap_size;void printHeap(){ for(int i = 1; i <= heap_size; i++) { printf("%d ", number[i]); } printf("\n 阅读全文

posted @ 2011-02-22 20:46 cutepig 阅读(324) 评论(0) 推荐(0) 编辑

2011年2月17日

life: zz 关于爱情

摘要: 发信人: BTpig (猪猡猡), 信区: Astrology标 题: 就说一个:喜欢对方的理由发信站: 水木社区 (Wed Feb 16 10:40:38 2011), 站内昨晚看电视,幸福魔方《她大我16岁》相差16岁的爱情,女方明显的非常成熟,性格也不错,尤其说话的时候淡定平和的语调,很喜欢想起来我喜欢巨蟹的一个理由:我若情绪不好或心中有怒的时候,说话像利刀,很不留情面;且语气很激动,看上去就一副怒不可遏的状态;巨蟹纵使心里有再多怨怒,语气还是平和的,看上去也风平浪静许多我喜欢、欣赏并想拥有这份淡定从容;希望是表面+内心的发信人: biteshark (你带走了我的魂), 信区: Pie 阅读全文

posted @ 2011-02-17 23:36 cutepig 阅读(327) 评论(0) 推荐(0) 编辑

Atl: COM IDispatch interface client

摘要: #include <atlstr.h> //CStringint _tmain(int argc, _TCHAR* argv[]){ CoInitialize(NULL); CComPtr<IDispatch> m_pFSO; CComVariant strFolder(_T("C:\\11111") ); LPCOLESTR lpszName = L"CreateFolder"; m_pFSO.CoCreateInstance ( L"Scripting.FileSystemObject" );#if 1 HRESULT hRes = m_pFSO.Invoke1 阅读全文

posted @ 2011-02-17 15:19 cutepig 阅读(302) 评论(0) 推荐(0) 编辑

c++: lazy evaluation

摘要: #include <vector>#include <assert.h>struct Expression;struct Num{ Num(size_t n, int i) { data.resize(n, i); } Num& operator=(Expression& exp); void print() const { for(size_t i=0; i<data.size();i++) printf("%d ", data); printf("\n"); } std::vector <int> data;};stru 阅读全文

posted @ 2011-02-17 15:13 cutepig 阅读(375) 评论(0) 推荐(0) 编辑

c++: simple signal lib

摘要: //typedef function0 <int> FunctionType;#include <iostream>#include <boost/shared_ptr.hpp>#include <vector>#include <algorithm>using namespace boost;using namespace std;typedef int RType;typedef RType (*FunctionType)();class MySlot{public: bool IsValid() {return fun_!=0; 阅读全文

posted @ 2011-02-17 14:26 cutepig 阅读(355) 评论(0) 推荐(0) 编辑

tool: count line count of files in a folder

摘要: #include <stdio.h>#include <windows.h>//#include <hash_map>//#include <string>char line[10000];FILE *fpW = 0; //count lineFILE *fpW_Date = 0; //for srch file within some datelong gnchar=0,gnline=0;int hours_before = 0;char destFolder[MAX_PATH]={0};//std::hash_map<std::st 阅读全文

posted @ 2011-02-17 14:23 cutepig 阅读(416) 评论(0) 推荐(0) 编辑

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页

导航