自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Oracle 11gr2 XE on Linux64

[size=medium]XE is free to download and use for development. Currently, it only provides Linux64 version (x86_64) or Win32.Firstly, you need a Oracle account to download the RPM package from Oracl...

2013-03-19 17:39:30 201

Thinkpad Bluetooth Auto Sleep / 蓝牙鼠标睡眠,连接丢失

[size=large]If you found your bluetootch mouse lost connection after some idling time. Especially when you are an owner of a new thinkpad model, like W530. You might need to check your bluetootch powe...

2012-12-18 11:29:39 708

SSH Without Password For Windows Clients

I guess a lot of folks like me need to work on Windows with remote Linux boxes. This is an integrated solution to easy your daily jobs -- SSH login. The basic idea here is to share your rsa key-pair b...

2012-12-17 14:37:34 193

原创 Linux Shared Library (DLL) & -rpath,'$ORIGIN'

[size=large]The Argument -rpath,'$ORIGIN'[/size]Needs to be prefixed with "-Wl," for most Linux OS (or "-R" for Solaris, -brtl for AIX and "-Wl,+b" for HPUX). It is to pass linker options to your ...

2012-10-11 18:38:27 672

原创 Virtualbox Shared Folder In Linux

This is for those who don't have GUI installed...1. on the menubar of your running linux guest: Devices > Install Guest Additions..2. now the Addition CD has been hooked to /dev/cdrom3. mkdir ...

2012-09-21 22:59:35 217

原创 Installing DB2 Manually

Summarized from [url=http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.qb.server.doc/doc/t0007068.html]DB2 9.7 Official Document[/url][code="bash"]# tar -xzf DB2*.tar.gz...

2012-09-15 23:23:08 141

原创 Symbol Link in MSYS on WIN7

[size=medium]As we know the symbol link command 'ln' in MinGW is fake that it creates copy instead of real link in *nix file system.[/size][size=medium]A good news is on Win7 its new NTFS support ...

2012-08-29 10:43:18 158

原创 Installing Oracle XE 11g On Redhat Enterpise Linux

[b]1. download rpm zip from Oracle official site..[/b][b]2. [url=https://forums.oracle.com/forums/thread.jspa?threadID=2301639]check and configure your system for the installation requirements[/ur...

2012-06-19 16:10:19 126

原创 C++ Access Control Modifiers / C++ 访问控制符

I saw many debates on the web about the access control modifier. And I also have some confusion although I have never used other derive method than "public". And I believe only the compiler will tell ...

2012-05-23 11:30:31 246

原创 MinGW Dynamic / Static Library Link

By default MinGW gcc links your program with shared library(to make sure you can use VS toolkit "depends.exe" to check the dependency although it may claims some errors).默认情况下,MinGW GCC 使用动态连接库连接你的程...

2012-05-22 17:42:41 349

原创 Installing db2 express c in Ubuntu

0. update your apt database:[code="bash"]sudo apt-get update[/code]1. update your Source-List /etc/apt/source.list, uncommnent the following lines:[code="bash"] deb http://archive.canonic...

2012-05-17 08:57:42 124

原创 推荐一篇C与C++混合编程的文章

相信对于还在维护一些C代码的C++程序员会非常有帮助:[url=http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html][size=large]How to mix C and C++[/size][/url]

2011-09-01 21:37:36 120

一个STL对象的DLL边界传递问题

c++, DLL, std::string, STL, crt这里有非常详细的一篇[url=http://www.gamedev.net/topic/337108-passing-stdstring-over-dll-boundaries/]讨论[/url]仅供参考也有可能是一个[url=http://support.microsoft.com/kb/172396/en-us/]已知的...

2011-09-01 21:29:52 261

原创 Map Alt Combinations in Vim Rxvt

vim mingw rxvt alt meta[size=large][b]1. gVim won't have this issue, because gVim always handles 'Alt' byitself.[/b][/size][size=large][b]2. Check vim help, a lot of useful information:[/b][/s...

2011-06-09 22:09:51 121

原创 【摘译】Sed 简介 by Bruce Barnett

unix, sed, introduction, tutorial原文:[url=http://www.grymoire.com/Unix/Sed.html][b]Sed - An Introduction and Tutorial by Bruce Barnett[/b][/url]## 基本使用方式:#1. 处理stdout或者stderr:echo | ...

2011-06-02 14:15:21 181

原创 My Vim Tips

[url=http://www.brezeale.com/technical_notes/vim_notes.shtml]Very Useful Notes by Darin Brezeale[/url][Basic][list][*]:cd[*]:pwd[*]:e foo.c to edit another file[*]:e # to jump ...

2011-05-30 15:50:01 105

Windows下的新玩具 MSYS

mingw msys如果想要利用高效的UNIX环境又无法脱离Windows环境,或者只是想接触学习UNIX,不喜欢弱智的CMD,欢迎使用MSYS!另外一点我用过之后才发现的强大之处在于:在MSYS环境中你可以调用所有的Windows应用程序!因为这个环境里的程序本身也都是Windows程序。这里记录一下自己的环境搭建过程,仅作备忘只用.[size=large][b]安装[/...

2011-05-20 23:39:40 376

My Python Tips 1: chdir, load module

python, chdir, sys.path, working directory, load module[code="python"]# Directory relative -----------------# current working directoryos.getcwd()# getcwd UNICODE version os.getcwu()# ...

2011-05-12 10:44:41 120

原创 【转】Python 常用转换函数

[url=http://blogold.chinaunix.net/u3/93470/showart_1871767.html]原文 http://blogold.chinaunix.net/u3/93470/showart_1871767.html[/url][code="python"]def bin(x): result = '' x = int(x) while ...

2011-05-11 21:24:22 166

How to detect and avoid memory and resources leaks in .NET applications 摘译2

[size=large][b]常见的内存泄露演示[/b][/size]作者使用了一个Forma,每一个按钮都会打开一个子form。按常理,当子form被关闭时,我们都希望它所占有的资源被自动释放。但在这里,作者将在每一个子form中演示一种泄露的情况。[img]http://i.msdn.microsoft.com/ee658248.image001(en-us).gif[/img...

2011-05-11 11:02:58 154

原创 【转】DLL导出类及注意事项

[url=http://dev.firnow.com/course/3_program/c++/cppjs/200833/102641.html]文章出处[/url]导出函数,使函数被多个程序复用,DLL中的函数实现可以被修改而无需重新编译和连接使用该DLL的应用程序。作为一名面向对象的程序员,希望DLL可以导出类,以便在类的层次上实现复用。所幸的是,DLL确实也可以导出类。然而事...

2011-03-14 13:18:49 275

原创 Virtualbox Bridged Network on Win7 64

virtualbox win7 64 bridge neteworkIf you can't install Virtualbox Bridged Network on Win7 64bit. You should check [url=http://forums.virtualbox.org/viewtopic.php?f=6&t=37035]this[/url] out.如果你...

2011-02-24 12:54:54 120

原创 Static Host Mapping on Windows

DNSStatic mapping redirect the host name to the specific IP address without querying from the DNS. It is very useful in intranet environments.1. Open the file "%systemroot%\system32\drivers\et...

2011-02-15 10:41:37 132

原创 ror on ubuntu10 -- autotest

[b]Install Autotest:[/b][code="bash"][sudo] gem install autotest -v 4.4.6[sudo] gem install autotest-rails-pure -v 4.1.2[/code][b]TimeStamp Plugin:[/b][code="bash"][sudo] gem insta...

2011-01-01 00:01:57 95

原创 Compile Vim In Ubuntu with multi-byte and xterm_clipboard Feature

tag: vim ubuntu make multi-byte encoding xterm clipboard[b]Reference:[/b][url=http://vim.wikia.com/wiki/Building_Vim]http://vim.wikia.com/wiki/Building_Vim[/url][url=http://vim.wikia.com/wik...

2010-12-27 17:04:29 250

原创 LEAP Authentication in Android

tag: LEAP WPA-EAP Android Wifi[b]Original post[/b], in which I added some comment:[url=http://huang.yunsong.net/2009/android-wifi-leap.html#comment-3703]http://huang.yunsong.net/2009/android-wif...

2010-12-24 23:55:13 154

原创 Fluxbox Screen Size In Virtualbox

ubuntu linux fluxbox virtualboxInstall VBoxGuestAdditions[code="sh"]# mount cdromsudo mount /dev/cdrom /cdrom# installsudo /cdrom/VBoxLinuxAdditiions-x86.run[/code]Install xrandr (Opti...

2010-12-14 22:03:50 145

原创 Eclipse Tips

tip, spaces only, shortcut1.Spaces Only (no tab) In Eclipse:[list][*]Window->Preferences->Editors->Text Editors->Insert spaces for tabs[*]Window->Preferences->Java->Code Style->Formatter->Ed...

2010-12-07 10:28:29 121

原创 ror on ubuntu10

ruby ror ubuntu linux1. install ruby 1.8 (needed when install rvm)[code="bash"]sudo apt-get install ruby[/code]2. [url=http://rvm.beginrescueend.com/rvm/install/]install rvm[/url]depende...

2010-10-11 19:47:34 99

原创 Non-GAC Assembly Loading

assembly resolve, deployment, .net[b][size=large]Scenario:[/size][/b][list][*]想要使用一个非GAC部署的assembly。我遇到的情况是要使用sql server几个analysis service的assembly,它们会被部署到sql server的安装路径。[*]不想把这几个assembly和工...

2010-09-26 15:30:46 105

原创 常见licence

opensource freeware licence[size=large][url=http://space.itpub.net/14734416/viewspace-431675]转自Java006的一篇中文说明[/url][/size]介绍的比较详细,简单了解一下就看看这个[size=large][url=http://en.wikipedia.org/wiki/Com...

2010-09-10 14:53:29 246

原创 Java Generic Tutorial 摘记

java generic摘自Generics in the Java Programming LanguageGilad BrachaJuly 5, 2004希望对从C#转Java的朋友有点帮助[b]最基本的[/b][code="java"]List ls = new ArrayList(); //1 没问题List lo = ls; //2 编译错误,...

2010-09-06 14:34:13 113

原创 ror on cygwin

ror,cygwin,windows[size=large][b]Setup rails on cygwin[/b][/size][url=http://news.softpedia.com/news/Install-Rails-on-Windows-using-Cygwin-63477.shtml]Install Rails on Windows Using Cygwin[/url]...

2010-09-02 23:20:18 103

原创 关于Java中的getResource()方法

本文摘机自 [url=http://download-llnw.oracle.com/javase/1.4.2/docs/guide/resources/resources.html][size=large]Accessing Resources in a Location-Independent Manner[/size][/url]tag: java,resource,location...

2010-08-23 23:28:50 412

原创 Control Panel Shortcuts

tag: windows,control panel,shortcut[code="shell"]Control Panel controlAccessibility Options access.cplAdd New Hardware Wizard hdwwiz.cplAdd/Remove Programs appwiz.cplDate and Time ...

2010-08-18 10:13:15 116

原创 Shell Commands to Access the Special Folders in Windows 7/Vista/XP

tag: windows,shortcut,shell转自[url=http://www.winhelponline.com/blog/shell-commands-to-access-the-special-folders/]WinHelpOnline[/url]The [size=large][b]shell:[/b][/size] command can be used to...

2010-08-18 10:08:51 218

原创 Java点滴: Nested Class

[url=http://www.iteye.com/topic/442435]参考贴:内部类详解[/url]tag: java,nested class[b][size=large]Why do we need it?[/size][/b][list][*]It is a way of logically grouping classes that are only use...

2010-08-10 17:26:36 122

原创 Set Netbeans user Interface language

[url=http://blogs.sun.com/tao/entry/set_netbeans_user_interface_language][b]Set Netbeans user Interface language[/b][/url]Netbeans automatically uses the Windows system default language as the d...

2010-05-19 18:04:03 147

SQL Server 2008 Information Schema Views

tag: sql server 2008 metadata view标记备忘[b]Information Schema View[/b]属于System Views.包含以下试图,对表单的元数据查询很有帮助:[list][*]CHECK_CONSTRAINTS[*]COLUMN_DOMAIN_USAGE[*]COLUMN_PRIVILEGES[*]COL...

2010-04-29 12:04:12 145

.net CLR GC 基础和算法摘记

tag: clr gc [b]本系列为CRL via C#的节选[/b][b]newobj(IL)的步骤[/b][list][*]计算类型及其基类所有字段所需要的字节总数[*]在前边字节的基础上加上两个开销数量:类型对象指针(4Byte),同步索引块(4Byte)。[*]CLR检查物理内存是否足够。如果足够,则新对象被放置在NewObjPtr所指的托管堆位置.接着构...

2010-04-24 21:41:28 156

空空如也

空空如也

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

TA关注的人

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