`
zealotds
  • 浏览: 119477 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论
文章列表
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 Oracle official website, of course. In this tutorial, I have oracle-xe-11.2.0-1.0.x86_64.rpm downloaded. And I used RHEL ...
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 power option to disable "Allow computer to turn off this device to save power": 如果你的蓝牙鼠标经常断线(一般是空闲一段时间后),尤其 ...
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 between different SSH clients. Several Tools You Might Need: MSYS Base System PuTTY Total Commander ...
The Argument -rpath,'$ORIGIN' Needs to be prefixed with "-Wl," for most Linux OS (or "-R<path>" for Solaris, -brtl for AIX and "-Wl,+b<path>" for HPUX). It is to pass linker options to your linker through gcc or g++. It is significant if you need to build a ...
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/cdrom 3. mkdir <where_ever_convinient_to_you/cdrom> 3. sudo mount /dev/cdrom <where_ever_convinient_to_you/c ...
Summarized from DB2 9.7 Official Document # tar -xzf DB2*.tar.gz ./db2_install # adding instance/fenced/dasadmin groups groupadd -g 999 db2iadm1 groupadd -g 998 db2fadm1 groupadd -g 997 dasadm1 # create db2 users and their home directories useradd -u 1004 -g db2iadm1 -m -d /home/db ...
As we know the symbol link command 'ln' in MinGW is fake that it creates copy instead of real link in *nix file system. A good news is on Win7 its new NTFS support symbol link feature! With "mklink" command in Windows Command Prompt, we could easily do so like below: mklink [/d] link targ ...
1. download rpm zip from Oracle official site.. 2. check and configure your system for the installation requirements, like SWAP size, memory... 3. the installation: # a. install rpm, if you met error here, check step 2. rpm -ivh xxxxxx.rpm # b. configure the Oracle XE: sudo /etc/init.d/oracl ...
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 you the truth: 见到网上有很多关于C++访问控制符的问题,自己也有些迷糊。虽然自己在实际工程中从来没有用过除public以外的继承。再多的讨论都不如让编译器来告诉你事实 ...
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 使用动态连接库连接你的程序。你可以用过VS的depends.exe工具检查程序依赖,虽然会报一些错误但不影响使用。 // to explicitly link with shared library (de ...
0. update your apt database: sudo apt-get update 1. update your Source-List /etc/apt/source.list, uncommnent the following lines: deb http://archive.canonical.com/ubuntu lucid partner deb-src http://archive.canonical.com/ubuntu lucid partner 2. install db2express-c: sudo apt-get ...
相信对于还在维护一些C代码的C++程序员会非常有帮助: How to mix C and C++
c++, DLL, std::string, STL, crt 这里有非常详细的一篇讨论仅供参考 也有可能是一个已知的微软实现问题 最近在重构项目时遇到的一个问题:提取了原来项目中的一些公共方法到一个新的DLL,暴露的工具方法中多数以const std::string& 为参数。在调试时发现当主程序(exe)调用DLL中的这些工具方法时传入的string会发生莫名其妙的变化(不是encoding问题)。比如在主程序中的string的buffer地址为0x0118cd8,可是刚刚进入工具方法(const std::string&)这个string的内容就变了,而且buffer地 ...
vim mingw rxvt alt meta 1. gVim won't have this issue, because gVim always handles 'Alt' byitself. 2. Check vim help, a lot of useful information: :h :map-alt-keys 3. Basically if Alt combination do not work in your vim, it is because the 'meta8' -- the 8th bit of the input character code. By def ...
unix, sed, introduction, tutorial 原文:Sed - An Introduction and Tutorial by Bruce Barnett # # 基本使用方式: # 1. 处理stdout或者stderr: echo <something you want to print> | sed 's/<reg-pattern>/<replacement>/' 2. 处理文件: sed 's/<reg-pattern>/<replacement>/' <old >new s      ...
Global site tag (gtag.js) - Google Analytics