编程工具
文章平均质量分 65
illuminati
功力提升中
展开
-
在Eclipse中通过build.xml导入工程
有些开源工程是用ant编译的,那么这时候有时可以通过导入工程中的build.xml来将工程导入到Eclipse中,步骤如下:选择菜单File->New->Other…->Java->Java Project from Existing Ant Buildfile,如下图:在下一步的菜单中,选择Ant buildfile,如果没报错的话,Project name会自动转载 2013-02-12 06:14:03 · 2212 阅读 · 0 评论 -
Installing LAMP (Linux, Apache, MySQL and PHP) On Linux
Through this tutorial, you'll learn how to Install Apache, MySQL and PHP.If you're a webpage designer or developer and use PHP, mySQL and Apache, you'll be needing these applications to be install原创 2013-07-03 23:58:32 · 1145 阅读 · 0 评论 -
Seven habits of effective text editing using Vim
Seven habits of effective text editingBram MoolenaarNovember 2000If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good edit转载 2013-07-10 12:25:15 · 981 阅读 · 0 评论 -
USING GIT AND GITHUB TO MANAGE YOUR DOTFILES
If you use OS X or Linux on your desktop/servers, you may be at a point where you have configured a lot of your own settings, configurations, or themes within dotfiles. For the uninformed, dotfiles ar转载 2013-06-20 03:43:40 · 1169 阅读 · 0 评论 -
vi 快捷键
Advanced Vi Cheat SheetStarting/EndingStatusModesInserting TextMotionDeleting TextYankingChanging TextPutting TextBuffersMarkersSearchingReplacing TextRegular ExpressionsCo原创 2013-06-07 11:09:18 · 2091 阅读 · 0 评论 -
使用vim.rc配置vim
Your vimrc file is an incredibly powerful, incredibly useful thing. Anything you can do in command-line mode you can do in your vimrc file. This makes it possible to make settings (e.g. :set textwid原创 2013-05-25 10:43:48 · 2226 阅读 · 0 评论 -
GDB 调试汇编程序的方法
假若运行的程序名称为a.out1. gdb ./a.out2. b main (在main函数设置断点)3. run (运行到main函数)3. layout asm (显示汇编代码)4. run 运行到下一个断点 5. i r 查看所有寄存器的的值原创 2013-04-24 05:01:33 · 1345 阅读 · 2 评论 -
VI常用命令
What is vi?The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico and emacs, a product of GNU.]The UNI原创 2013-04-18 05:10:47 · 1276 阅读 · 0 评论 -
Eclipse 统计工程总代码行数
Ctrl+H,然后选择File Search标签选中正则表达式(Regular expression),在Containing text中输入 \n (其实就是换行符)File Name patterns输入*.javaScope中选择Enclosing project按Search就能统计出整个项目的代码行数原创 2013-03-11 06:08:33 · 904 阅读 · 0 评论 -
Eclipse 快捷键大全
Eclipse ShortcutsNavigational ShortcutsF10Main menuShift F10Context menuCtrl F10View menu Workspace navigation原创 2013-03-08 03:06:25 · 987 阅读 · 0 评论 -
Eclipse CDT中EOF信号输入的解决方法
使用Eclipse-cdt做开发的同学可能会遇到这样的,需要输入EOF作为结束标志结束输入,但是不知道怎么结束输入。在网上搜了一堆解决方法,都是说windows下使用 Ctrl+Z 做EOF信号,unix和linux下用 Ctrl+D 做EOF信号。自己在Eclipse-cdt中试一下,发现这招行不通。 例如调试和运行以下代码,使用 Ctrl+D 也是无法终止输入的。 #in转载 2013-03-28 11:52:49 · 946 阅读 · 0 评论 -
Eclipse 使用Junit进行测试
JUnit学习笔记(2007版) 一、简介 JUnit是一款由Erich Gamma(《设计模式》的作者)和Kent Beck(极限编程的提出者)编写的开源的回归测试框架,供Java编码人员做单元测试之用。当前版本4.1,可以从www.junit.org网站上获得。与早期的JUnit 3相比,JUnit 4.1依赖于Java 5.0的新特性,因此无法兼容于jdk 1.4,可以转载 2013-03-02 10:44:31 · 937 阅读 · 0 评论 -
Eclipse 用空格代替tab
For java editor only:Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = "Spaces Only"For general editor:Window->Preferences->Editors->Text Editors->Insert spaces for tabs原创 2013-02-23 23:41:00 · 529 阅读 · 0 评论 -
Eclipse 查看隐藏字符
This feature can either be controlled via "General > Editors > Text Editors > Show whitespace characters" preference, or via the tool bar button when the Editor Presentation action set is enabled.原创 2013-02-17 22:39:29 · 944 阅读 · 0 评论 -
Using Github for version control
The git branch command lets you create, list, rename, and delete branches. It doesn't let you switch between branches or put a forked history back together again. For this reason, git branch is tightl原创 2013-07-23 05:06:13 · 1416 阅读 · 2 评论