站名: free the bird
网址: http://news.thedigitalmachine.com
PR:
Alexa: 5,215,900
备案号:
服务器IP: 71.48.198.136 美国 北卡罗来纳州Lillington
描述: free the bird, leave the pane behind
详细介绍
free the bird, leave the pane behind
Eclipse IDE installation and configuration
Install Eclipse
I went for the PHP version (“PDT”) since it seemed to have a few bells and whistles (eg git)
The C++ support in Eclipse is called “CDT” and you can install it by adding this “Work with” repo: http://download.eclipse.org/tools/cdt/releases/kepler
I installed “CDT Main Features”, plus optional Memory View Enhancements, Misc Utils, Multicore Visualizer, Qt support, (ironically) Visual C++ support, and Visualizer Framework. Not sure about these, time will tell.
Configure Eclipse
The biggest startup challenge is setting up key shortcuts. The default ones are pretty stupid if you’ve used Microsoft products. The main thing to remember is that you have to search for existing shortcut keys and manually remove them before you can add a new one, otherwise you will just get conflicts and nothing will work. This sucks shit but not too bad once you realize what is going on.
Set UTF-8 encoding:
Windows > Preferences > General > Workspace, set "Text file encoding" to "Other : UTF-8".
Set up projects
Open C++ perspective
Right-click project pane, New…, Blank Makefile, Other toolchain, use existing codebase location for workspace
Search…, Working set, Choose, New, Resource, Name = codebase, click on existing codebase location, OK
Comments | Friday, October 3, 2014
Using git for personal distributed repositories all synced with one team repo
git clone ssh://me@the-team-repo/big-project
cd big-project
git branch daily_grind # create working branch but do NOT check it out
[alias]
merge-to = "!gitmergeto() { export tmp_branch=`git branch | grep '* ' | tr -d '* '` && git checkout $1 && git merge $tmp_branch && git checkout $tmp_branch; unset tmp_branch; }; gitmergeto"
git clone ssh://me@my-central-repo-server/big-project
cd big-project
git checkout -b daily_grind origin/daily_grind
git pull
# work work work!
git commit -a
git push
git pull # to get the team's latest
git merge daily_grind # to merge in your latest
# resolve any conflicts
git push # to push your changes to the team
git merge-to daily_grind # to push team changes to your work repo
Comments | Friday, January 24, 2014
A quick lesson in zip file C libraries
zlibTHE lib; only does ONE file, knows nothing about .zip containers; gz uses zlib, works on ONE file (the tar file, hence .tar.gz)
minizsome google code HACKERY that does exactly what i want (.zip handling in one header file) but DOES NOT WORK – erp, yes it does, id10t
minizipa zlib-bundled addon package that allows for working with .zip files
boostyou can bake zlib into boost but again, it knows nothing about .zip files, MOTHER FRACK
libzipANOTHER library, supposedly handles .zip files – REQUIRES ZLIB DOH, might as well use minizip
Comments | Thursday, Decemb
猜你喜欢
- 电脑之家 - 电脑网络 > 电脑硬件
- 脚本爱好者 - 电脑网络 > 软件编程
- 大学计算机专业网 - 电脑网络 > 网络学校
- 博然影视站官方论坛 - 电脑网络 > 多媒体
- 广州铭冠信息科技有限公司 - 电脑网络 > 安全
- 8d导航 - 商业经济 > 机械电子
- 壹兴佰测量设备有限公司 - 商业经济 > 仪器仪表
- 搜搜小说网 - 休闲娱乐 > 其他
- 出国留学咨询网-2012年 - 教育文化 > 留学出国
- 出国留学DIY 新西兰留学 - 教育文化 > 留学出国
- DIY留学门户|留学|出国 - 教育文化 > 留学出国
- 欧特克/Autodesk - 生活服务 > 餐饮美食
- CPU主页-中关村在线(C - 商业经济 > 交通物流
- 照明LED灯,手机照明LE - 电脑网络 > 站长资源
- MSN中文网:时尚生活 白 - 综合其他 > 工商税务
- Chinadaily US - 商业经济 > 法律财经
- 老小孩|老年网站老年人的门 - 综合其他 > 军事
- 西安电子科技大学教师个人主 - 电脑网络 > IT资讯
- Cheap Flights - 商业经济 > 能源化工
- 石家庄学院 - 综合其他 > 工商税务