??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品一区二区av,超碰97免费在线,亚洲精品在线ahttp://www.aygfsteel.com/zhangwei217245/archive/2014/02/12/409792.htmlX-SpiritX-SpiritWed, 12 Feb 2014 15:38:00 GMThttp://www.aygfsteel.com/zhangwei217245/archive/2014/02/12/409792.htmlhttp://www.aygfsteel.com/zhangwei217245/comments/409792.htmlhttp://www.aygfsteel.com/zhangwei217245/archive/2014/02/12/409792.html#Feedback0http://www.aygfsteel.com/zhangwei217245/comments/commentRss/409792.htmlhttp://www.aygfsteel.com/zhangwei217245/services/trackbacks/409792.htmlfromQ?http://blog.braegger.pw/5-ways-to-burn-out-programming/


I've only recently come out of my burnout, despite it happening years ago. It sucks. It sucks bad. But looking back, I can see many of the causes crystal clearly, that weren't so apparent at the time. Here's a list:

1. Think about your project and only the project

Let's face it. Business wants you to make the best product you can "for our customers". You put off fun features for the sake of missing a deadline. You plan and analyze and break a project into sets of deliverables that then must be coded by a monkey (you). You demo it, gather feedback, iterate. All without thinking anything for yourself.

But newsflash: you started programming because you thought it was fun, why not keep programming because it's fun? Take that little extra time to put in a feature you want. Challenge yourself a little bit in doing something you didn't think you could. Show it to everyone you know, and don't just ask for feedback, but brag about what you've done.

2. Have a negative attitude toward everything.

You know Docker? It sucks. Who would trust their production environment to a new, unstable, toy. Go? Do I look like I want to write every library myself? Everything I need is already in PyPI. This project I'm working on is so caught up in office politics, it's never going to work. Jenkins? 2008 wants their tech back.

It's really easy to fall into the "being critical" trap. It's easy to tell other people what the "wrong" choice is. I imagine it's because as software engineers, our job is so find faults in our applications and fix them. And if we don't find them, someone else finds them for us.

But I don't think we need to be negative about our job, decisions that are being made (even if it's not our decision) and what we're working on. Some of the best projects I've worked on worked out that way because we had a great, positive team. We enjoyed showing up every day to work, told each other when we did awesome things, held back heavy-handed criticism and phrased it in a productive manner.

3. Use the tools you know, because you're faster that way

So you're an uber expert in Java + Spring + Hibernate. Nobody can touch your python skillz. Every personal project you do should be in these, because all that matters is the business side of things, right?

Wrong.

While it definitely makes good business sense, you should prototype, play around, and become an expert in new tech, even if it's unvetted. While this might seem like obvious advice (it's repeated alllll the time), it becomes a lot harder to do as you grow more experienced.

4. Switch jobs often

Otherwise known as "chasing butterflies". Getting bored with what you're working on? Have an itch? Time to dust off that resume!

This is bad, bad, bad.

When you have several short employments, it can usually help boost your salary quite a bit, but you are robbing yourself of:

  1. Growing in the company (developer -> manager -> director)
  2. Gaining an expertise in a specific area. Considering it takes 4-6 years for a PhD student to get their PhD, that's a lot of time you need for learnin.
  3. You are having to start from scratch often.
  4. If you are a good developer, you have to "prove" yourself (people listen to you) all over again.

So how do these contribute to burnout? Your career stagnates, you don't develop your skills as deeply (only breadth), people dont trust you'll stay employed for a while, and you're constantly having to prove yourself.

5. Work long hours, ignore your life

"You don't have to work a lot of hours, but some people choose to." You want to impress your boss. Hell, you want to impress yourself. So you go die-hard to meet an impossible deadline. You delivered the project on time, with all the extra features you wanted. You are the hero. High fives all around. And if you're lucky, you'll get that bonus.

That's great the first time. But how about the second. And the third. It's a bomb, and you dont know how short the fuse is.

Summary

In short, it's easy to burnout. Do these 5 things, and you can burnout too.



X-Spirit 2014-02-12 23:38 发表评论
]]>
【Efficiency】MAC下用设定可以从mission control中启动的eclipse.app?/title><link>http://www.aygfsteel.com/zhangwei217245/archive/2013/02/25/410286.html</link><dc:creator>X-Spirit</dc:creator><author>X-Spirit</author><pubDate>Mon, 25 Feb 2013 06:53:00 GMT</pubDate><guid>http://www.aygfsteel.com/zhangwei217245/archive/2013/02/25/410286.html</guid><wfw:comment>http://www.aygfsteel.com/zhangwei217245/comments/410286.html</wfw:comment><comments>http://www.aygfsteel.com/zhangwei217245/archive/2013/02/25/410286.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/zhangwei217245/comments/commentRss/410286.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/zhangwei217245/services/trackbacks/410286.html</trackback:ping><description><![CDATA[@import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">eclipse官方是有标准的mac版下载的Q随便copyC个目录就可以直接启动?当然必须安装javaq行环境)。但是,假如我们x应用攑ֈmac的标准目录下(也就是finder里的应用E序目录?Q就必须自己手动来做了,Ҏ如下Q?/p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">1.在finder下,copy eclipse目录下的Eclipse.app(在finder里是看不到appq个后缀名的Q必ȝCommand+iQ才能看到这个后~?文g?#8220;应用E序”</p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">2.然后Q点d键,选择“昄包内?#8221;</p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><img src="" alt="" style="border: none; max-width: 100%;" /><img src="http://img.blog.csdn.net/20130914220143781?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd2FuZ2ppYW41NzQ4/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" style="border: none; max-width: 100%;" /><br /> </p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"></p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">3.修改eclipse.ini文g</p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><img src="http://img.blog.csdn.net/20130914220153250?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd2FuZ2ppYW41NzQ4/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" style="border: none; max-width: 100%;" /><br /> </p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><img src="" alt="" style="border: none; max-width: 100%;" /><br /> </p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">修改文g的开头部?/p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">原始内容为:</p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">-startup ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar<br /> --launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130521-0416<br /> </p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"></p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">修改后的内容为:</p> <span style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">-startup /Users/johnny/work/eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar</span> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">--launcher.library /Users/johnny/work/eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130521-0416<br /> </p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">我mac的用户名johnnyQ在我的用户名下有个work目录Q我把eclipse的原始目录放在work下面?/p> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">q样可以在“应用E序”下,启动eclipse?/p> @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.aygfsteel.com/zhangwei217245/aggbug/410286.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/zhangwei217245/" target="_blank">X-Spirit</a> 2013-02-25 14:53 <a href="http://www.aygfsteel.com/zhangwei217245/archive/2013/02/25/410286.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【Effective】如何迁Ugit仓库http://www.aygfsteel.com/zhangwei217245/archive/2012/11/12/409785.htmlX-SpiritX-SpiritMon, 12 Nov 2012 10:58:00 GMThttp://www.aygfsteel.com/zhangwei217245/archive/2012/11/12/409785.htmlhttp://www.aygfsteel.com/zhangwei217245/comments/409785.htmlhttp://www.aygfsteel.com/zhangwei217245/archive/2012/11/12/409785.html#Feedback0http://www.aygfsteel.com/zhangwei217245/comments/commentRss/409785.htmlhttp://www.aygfsteel.com/zhangwei217245/services/trackbacks/409785.html

from: 

       http://segmentfault.com/q/1010000000124379

 


如果你想从别?Git 托管服务那里复制一份源代码到新?Git 托管服务器上的话Q可以通过以下步骤来操作?/p>

1). 从原地址克隆一份裸版本库,比如原本托管?GitHub?/p>

git clone --bare git://github.com/username/project.git

2). 然后到新?Git 服务器上创徏一个新目Q比?GitCafe?/p>

3). 以镜像推送的方式上传代码?GitCafe 服务器上?/p>

cd project.git

git push --mirror git@gitcafe.com/username/newproject.git

4). 删除本地代码

cd ..

rm -rf project.git

5). 到新服务?GitCafe 上找?Clone 地址Q直?Clone 到本地就可以了?/p>

git clone git@gitcafe.com/username/newproject.git

q种方式可以保留原版本库中的所有内宏V?/p>




X-Spirit 2012-11-12 18:58 发表评论
]]>
【{】阅L们的学科——计机专业学习谈http://www.aygfsteel.com/zhangwei217245/archive/2012/10/04/389041.htmlX-SpiritX-SpiritThu, 04 Oct 2012 13:54:00 GMThttp://www.aygfsteel.com/zhangwei217245/archive/2012/10/04/389041.htmlhttp://www.aygfsteel.com/zhangwei217245/comments/389041.htmlhttp://www.aygfsteel.com/zhangwei217245/archive/2012/10/04/389041.html#Feedback1http://www.aygfsteel.com/zhangwei217245/comments/commentRss/389041.htmlhttp://www.aygfsteel.com/zhangwei217245/services/trackbacks/389041.html阅读全文

X-Spirit 2012-10-04 21:54 发表评论
]]>
[导入]有关Emacs的一些摘?/title><link>http://www.aygfsteel.com/zhangwei217245/archive/2009/11/12/306330.html</link><dc:creator>X-Spirit</dc:creator><author>X-Spirit</author><pubDate>Thu, 12 Nov 2009 02:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/zhangwei217245/archive/2009/11/12/306330.html</guid><wfw:comment>http://www.aygfsteel.com/zhangwei217245/comments/306330.html</wfw:comment><comments>http://www.aygfsteel.com/zhangwei217245/archive/2009/11/12/306330.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/zhangwei217245/comments/commentRss/306330.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/zhangwei217245/services/trackbacks/306330.html</trackback:ping><description><![CDATA[<font size="3" color="#ff0000">一、emacs~辑器简?/font><br /> <br />      emacs~辑器是由C语言和LISP语言~写的。LISPQ链表处理语aQ是q?#183;麦卡锡在1960q左叛_造的一U基?#955;演算的函数式~程语言?我们可以使用LISP来扩展emacsQ从而ؓemacsd更多的命令。(补:emacs -nwQ以命o行的方式来运行emacsQ而不启动GUI界面Q? <hr size="1" color="#00eeee" /> <p><br /> Q?自动保存功能<br /> <br />       如果你已l修改了一个文Ӟ但是q没来得及存盘你的计机qŞ工了Q那么你所做的修改很可能会丢失。ؓ了避免这L不幸发生QEmacs 会定期将正在~辑的文件写入一?#8220;自动保存”文g中。自动保存文件的文g名的头尾各有一?#8220;#”字符Q比如你正在~辑的文件叫“hello.c”Q那么它 的自动保存文件就?#8220;#hello.c#”。这个文件会在正常存盘之后被 Emacs 删除?br />       所以,假如不幸真的发生了,你大可以从容地打开原来的文Ӟ注意不是自动保存文gQ然后输?M-x recover file<Return> 来恢复你的自动保存文件。在提示认的时候,输入 yes<Return>?/p> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?其他</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>当emacs失去响应ӞC-g命o可用来结束纸条命令的执行。其功能相当于Shell中的Ctrl+C</li> <li>有一?Emacs 命o?#8220;用”了,以避免初学者在不了解其切功能的情况下误用而造成ȝ。如果你用到了一个被用的命令,Emacs 会显CZ个提C消息,告诉你这个命令到底是q什么的Q询问你是否要l,q在得到你的肯定之后再执行这命o</li> </ol> <hr style="color: rgb(0, 255, 51);" size="5" color="#00eeee" /> <p><br /> <font size="3" color="#ff0000">二、emacs~辑器的界面</font><br /> <br /> 1. ~辑?br />     用来q行文本~辑的区域?/p> <p> </p> <hr size="1" color="#00eeee" /> <p>2. 回显?br /> <br />       如果 Emacs 发现你输入多字符命o的节奏很慢,它会在窗格的下方UCؓ“回显?#8221;的地方给你提C。回昑֌位于屏幕的最下面一行?/p> <p> </p> <hr size="1" color="#00eeee" /> <p><br /> 3. 状态栏</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>位于回显区正上方的一行被UCؓ“状态栏”。状态栏最开头的星号Q?Q表CZ已经Ҏ字做q改动。刚刚打开的文件肯定没有被改动q,所以状态栏上显C的不是星号而是短线Q?Q?/li> <li>状态栏中的括L来指明当前用的~辑模式Q默认是fundamentalQ主模式Q,emacs的主模式包括了文本模式以及编辑程序源码的Lisp模式{?/li> </ol> <hr style="color: rgb(0, 255, 51);" size="5" color="#00eeee" /> <p><font size="3"><br /> <font color="#ff0000">三、emacs所能提供的工作环境</font></font></p> <ol style="padding-left: 25px; line-height: 30px;"> <li>emacs可以执行Shell命o</li> <li>emacs可以作ؓDirectory Editor(Dired)</li> <li>emacs可以~辑、编译以及调试程?/li> <li>emacs可以~辑其它L上的文档</li> <li>emacs可以打印文g</li> <li>emacshq历QCalendarQ以及日记功?/li> <li>emacs可以用来阅读man page和info文档</li> <li>emacs可以收发电子邮g</li> <li>emacs可以阅读|络上的电子布告栏(GNUSQ?/li> <li>emacsh版本控制的功能(CVSQ?/li> <li>emacs可以提供׃环境Q游戏功能)</li> </ol> <p>    emacs所提供的这些功能,都是先唤起代表此功能的模式(modeQ。emacs的模式,分成主要模式Qmajor modeQ与ơ要模式(minor modeQ。每一ơ只能用一个主模式Q而且L式是必须要的。在一个主模式下,俄可以搭配一个以上的ơ要模式。用次要模式相当于启用了该ơ要模式所对应的插件?/p> <hr style="color: rgb(0, 255, 51);" size="5" color="#00eeee" /> <p><font size="3"><br /> <font color="#ff0000">四、emacs命o</font></font></p> <ol style="padding-left: 25px; line-height: 30px;"> <li>emacs中的每一个命令都有一个命令名Q命令名是该命令所对应的LISP函数的函数名。在emacs中,我们可以些命令配|快捷键Q从而达到快速调用命令的目的?/li> <li>.使用emacs来执行命令的Ҏ有两U:(1).使用Ctrl?(2).使用Meta键。所有emacs命o都可以用Meta键表C出来,键盘上如果没有Meta键,则可以用Alt键或ESC键来代替。常用的emacs命o通常会有一个快捷键与之相连。快捷键通常是以Ctrl来开_C-x C-cQ。如果要使用Meta键来表达?#8220;Ctrl-x Ctrl-c”相同的效果,则?#8220;M-x save-buffers-kill-emacs”。用Meta键,可以利用emacs的completion功能。用emacs的completion功能的方法是部分字W串键入后,再按下TAB、SPACE?键即可?br />    (1).TAB键:可能将其的字填满?br />    (2).SPACE键:分隔符Q-Q之前的字填满?br />    (3).?Q将所有可能的completion选择都列出来?/li> <li>׃emacs中所有的命o都有一个命令名QLISP函数的函数名Q,因此Q我们可以?#8220;M-x 命o?#8221;来调用emacs中的所有的命o?/li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?基本光标控制</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-vQ向下翻屏,与PageDown效果相同QvQ?gt; verticalQ?/li> <li>M-vQ向上翻屏,与PageUp效果相同</li> <li>C-lQ重l屏q,q将光标所在行|于屏幕的中?/li> <li>C-bQ光标向前移动一|b->backwardQ?/li> <li>C-fQ光标向后移动一|f->forwardQ?/li> <li>C-pQ光标向前移动一行(p->previousQ?/li> <li>C-nQ光标向后移动一行(n->nextQ?/li> <li>M-bQ光标向前移动一个单?/li> <li>M-fQ光标向后移动一个单?/li> <li>C-aQ光标移动到行首</li> <li>C-eQ光标移动到行尾</li> <li>M-<Q光标移动到文章的开_注意Q?#8220;<”的输入要shift键,实际为Alt+Shift+<Q?/li> <li>M->Q光标移动到文章的结?/li> <li>C-uQ给命o传递参数。例如:“C-u 2 C-d”表示删除两个字符</li> <li>M-x goto-line n RETQ调到第n?/li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?~辑命o</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-dQ删除光标后的一个字W?/li> <li>C-kQ删除从光标到行字符Qk->killlQ?/li> <li>C-x uQUndoQ想要redoQ随便输入一个字W,在UndoQ?/li> <li>C-SPC、C-@、M-x set-mark-commandQ设|mark</li> <li>C-x hQ将整个~冲|ؓ区域</li> <li>C-wQ将区域的文本删除,q放入yanking ring中。区域指的是从mark到pointQ光标所处的位置UCؓpointQ之间的文本</li> <li>M-wQ复制区域到yanking ring?/li> <li>C-yQ将yanking ring中最后一个区域插入当前缓冲区</li> <li>M-jQ回车ƈ且到下一行生适当的羃q?/li> <li>M-mQ将光标Ud到当前行的第一个非I白字符?/li> <li>M-;Q生通用注释</li> <li>M-x comment-regionQ把块注释掉</li> <li>M-x kill-commentQ消除注?/li> </ol> <p> </p> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?查找与替?/p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-sQ向后搜索,光标停在第一个匹配的字符串处。再按一ơC-sl搜索下一个匹配的字符丌Ӏ如果要停止搜烦Q则使用C-gQ此时光标将会回到搜索开始的位置</li> <li>C-rQ向前搜?/li> <li>M-x replace-stringQ替?/li> </ol> <p> </p> <p> </p> <p> </p> <p> </p> <hr size="1" color="#00eeee" /> <p> </p> <p>Q?文g操作</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-x c-fQ打开文gQ如果文件不存在则创?/li> <li>C-x C-sQ保存文件。第一ơ存盘时Qemacs会将文g重命名来备䆾。重命o的规则通常是在原文件名后加上一?#8220;?#8221;字符。如果要关闭emacs的自动备份功能,使用 M-x customize-variable <Return> make-backup-files <Return></li> <li>C-x C-wQ将文g“另存?#8221;</li> <li>C-x C-vQ打开一个新文gQƈ关闭当前~冲?/li> <li>C-x C-rQ以只读的方式打开文g</li> <li>C-x iQ将文g插入光标当前位置</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?~冲?/p> <ol style="padding-left: 25px; line-height: 30px;"> <li>Emacs 把每个编辑中的文仉攑֜一个称?#8220;~冲区(bufferQ?#8221;的地斏V每打开一个文ӞEmacs 在其内部开辟一个缓冲区用来保存打开的文件的数据。ESC ESC ESC命o可以用来退出打开的小~冲区,比如Q命令提C窗格等</li> <li>C-x C-b   列出当前所有的~冲区(b->bufferQ?/li> <li>C-x b ~冲区名Q切换到指定的缓冲区Q例如:C-x b M<tab>Q切换到以M开头的~冲区)</li> <li>C-x sQ保存emacs中所有的~冲区(s->saveQ?/li> <li>C-x rightQ切换到下一个缓冲区</li> <li>C-x leftQ切换到前一个缓冲区</li> <li>C-x C-cQ退出emacsQƈ询问用户是否保存</li> <li>C-x kQ关闭缓冲区</li> <li>C-zQ将emacs挂vQ然后回到Shell中,q不退出emacs。之后,我们可以使用%emacs或fg命o来回到emacs</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p><br /> Q?H口<br /> <br /> Emacs 可以有多个窗|每个H格昄不同的文字?/p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-x 0Q关闭光标所在的H口</li> <li>C-x 1Q保留光标所在的H格Qƈ其扩大到整个屏q,同时x所有其它的H格</li> <li>C-x 2Q水q_割当前窗?/li> <li>C-x 3Q垂直分割当前窗?/li> <li>C-x oQ在emacs的窗gq行切换Qo->otherQ?/li> <li>C-M-vQ滚动下方的H格。一般在我们使用下方的窗D行参考,而又不想光标切换到下一个窗格时使用</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p><br /> Q?使用帮助</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>C-h c 快捷键:昄快捷键的要说?/li> <li>C-h k 快捷键:昄快捷键所对应的命令名及其详细说明</li> <li>C-h a 关键字:昄包含有指定关键字的命?/li> <li>C-h iQ查看Info文档</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p><br /> Q?在emacs中运行shell命o</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>M-! cmd RETQ打开一个名?#8220;*Shell Command Output*“的窗口,q把该命令的执行l果昄在其中。按?#8221;C-x 1“l合键可以关闭这个窗口。由于Shell命o的输出是在一个编辑缓冲区里,因此我们可以对它q行~辑、保存等操作?/li> <li>M-| cmd RETQ运行Shell命oQƈ使用~辑H口中选定的区域作Shell命o的输入,然后可以选择是否用该Shell命o的输出来替换~辑H口中选中的区域?/li> <li>C-u M-! cmd RETQ执行一条Shell命oQƈ其输出攑ֈ~辑Z光标所在的位置处,而不其输出?#8221;Shell Command Output“H口?/li> <li>M-x shellQ运行一个子ShellQ该子Shell对应于emacs中的一个名?#8221;*Shell*"的缓冲区Q此后,我们可以交互式的运行Shell命o了?/li> <li>M-x termQ运行一个子ShellQ该子Shell对应于emacs中的一个名?#8220;QTerminal*”的缓冲区。用该命o获得的子Shell是一个完整的Shell的模拟,与我们直接在Shell中操作没有什么差别?/li> <li>M-x eshellQ运行emacs shell。该Shell为emacs自己实现的一个shellQ而前面运行的shell都ؓpȝ中的shellE序(例如Q?bin/csh{)。我们可以通过讄变量<font color="#ff6600">shell-file-name</font>来设|emacs所使用的默认shell</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p>Q?Dired功能</p> <ol style="padding-left: 25px; line-height: 30px;"> <li>emacs的DiredQDirectory EditorQ功能emacs~冲够用来显C目录列表,q可以用来进入目录的子目录。Dired~冲区是只读的,不能够被修改?/li> <li>C-x dQ进入Dired</li> </ol> <p> </p> <hr size="1" color="#00eeee" /> <p><br /> Q?emacs配置文g<br /> <br />     emacs配置文g通常位于计算机的 $HOME 目录Q如果是 MS Windows (Windows 2000, Windows XP以上)Q默认是 c:\Documents and Settings\username\Application Data\Q这个适用?Emacs22 以上的版本。Emacs21 默认?$HOME 目录?C:\ 。当然也可以通过环境变量 $HOME 重新讄QM在比较大众化的操作系l中Q你都可以通过C-x C-f ~/.emacs 来编辑您的个性化配置文g?/p> <div style="padding: 4pt; background-color: rgb(240, 238, 230);">;;昄旉<br /> <br /> (display-time)<br /> <br /> ;;昄行号<br /> <br /> (column-number-mode t)<br /> <br /> (show-paren-mode t)<br /> <br /> ;;讄TAB宽度?<br /> <br /> (setq default-tab-width 4) <br /> <br /> ;;以下讄~进 <br /> <br /> (setq c-indent-level 4)<br /> <br /> (setq c-continued-statement-offset 4)<br /> <br /> (setq c-brace-offset -4)<br /> <br /> (setq c-argdecl-indent 4)<br /> <br /> (setq c-label-offset -4)<br /> <br /> (setq c-basic-offset 4)<br /> <br /> (global-set-key "\C-m" 'reindent-then-newline-and-indent)<br /> <br /> (setq indent-tabs-mode nil)<br /> <br /> (setq standard-indent 4)<br /> <br /> ;;开启语法高亮?br /> <br /> (global-font-lock-mode 1) <br /> <br /> ;;讄默认工作目录<br /> <br /> (setq default-directory "/home/test/source/") <br /> <br /> ;; L滚动?br /> <br /> (set-scroll-bar-mode nil)<br /> <br /> ;;关闭开启画?br /> <br /> (setq inhibit-startup-message t) <br /> <br /> (setq indent-tabs-mode t)<br /> <br /> ;;不生备份文?br /> <br /> (setq make-backup-files nil) <br /> <br /> ;;讄自定义变?br /> <br /> (custom-set-variables<br /> <br /> '(column-number-mode t)<br /> <br /> '(current-language-environment "UTF-8")<br /> <br /> '(display-time-mode t)<br /> <br /> '(ecb-options-version "2.32")<br /> <br /> '(mouse-1-click-in-non-selected-windows t)<br /> <br /> '(mouse-drag-copy-region t)<br /> <br /> '(mouse-yank-at-point t)<br /> <br /> '(save-place t nil (saveplace))<br /> <br /> '(show-paren-mode t)<br /> <br /> '(transient-mark-mode t))<br /> <br /> (custom-set-faces<br /> <br /> ;;选择工h图标<br /> <br /> (tool-bar-mode -1)</div> <p><br /> <font size="5"><span style="font-weight: bold; color: rgb(192, 0, 0);">rectangle(?模式~辑 和emacs shellQ摘抄)</span></font></p> <p><br /> 不敢独nQ与大家分n。也可以在Emacs中用C-x C-h列出全部命oQ查找C-x r cQ所有列模式命o都是以C-x r开始的<br /> C-x r C-@                    point-to-register<br /> C-x r SPC                    point-to-register<br /> C-x r +        increment-register<br /> C-x r b        bookmark-jump<br /> C-x r c        clear-rectangle<br /> 先用C-space或者C-@设一个markQ移动光标到另一点,使用C-x r c可以清楚mark到光标处的矩形区域,该区域留下空白?br /> C-x r d        delete-rectangle<br /> 删除矩Ş区域Q不留空白,后面的字W前U?br /> C-x r f        frame-configuration-to-register<br /> C-x r g        insert-register<br /> C-x r i        insert-register<br /> 某个寄存器的内Ҏ入某?br /> C-x r j        jump-to-register<br /> C-x r k        kill-rectangle<br /> 是剪切某个选定的矩形区域,用C-x r y可以贴上<br /> C-x r l        bookmark-bmenu-list<br /> C-x r m        bookmark-set<br /> C-x r n        number-to-register<br /> C-x r o        open-rectangle<br /> 在选定的矩形区域插入空?br /> C-x r r        copy-rectangle-to-register<br /> 选定的矩形区域复制到某个寄存?br /> C-x r s        copy-to-register<br /> C-x r t        string-rectangle<br /> 在选定区域所有列前插入同L字符<br /> C-x r w        window-configuration-to-register<br /> C-x r x        copy-to-register<br /> C-x r y        yank-rectangle<br /> cM于矩形区域的_脓Q就是将刚用C-x r k剪切的矩形区域粘贴过?br /> C-x r C-SPC    point-to-register<br /> <br /> 摘自Q?a href="link.php?url=http://chandlewei.blogbus.com/logs/15583440.html">http://chandlewei.blogbus.com/logs/15583440.html</a><br /> <br /> ?Emacs 里面同时打开多个 shell 会话Q?br /> 通过重命名shell所在缓冲区的名字可以开启多个shell<br /> E-x shell<br /> E-x rename-buffer shellA<br /> E-x shell<br /> q时开启了两个不相q的shellQshellA ?shell*</p> <p><br /> </p> <p>也可以通过其他方式来开启shellQ例如:<br /> 1. M-x eshell    开启Emacs Shell<br /> 2. M-x term      开启linuxl端Q可以指定你要的l端SHELL。但是这个可能会拦截你的EMACS命o?br /> <br /> 整理你的屏幕Q?br /> 通过C-c C-o可以清除上次命o的输出,特别是对于cat或dmesgq种产生大量输出的命令?br /> <br /> 详细文章Q?a href="link.php?url=http://www.ibm.com/developerworks/cn/aix/library/0811_yangbh_emacs2/index.html">http://www.ibm.com/developerworks/cn/aix/library/0811_yangbh_emacs2/index.html</a></p> <br /> 文章来源:<a >http://x-spirit.spaces.live.com/Blog/cns!CC0B04AE126337C0!826.entry</a> <img src ="http://www.aygfsteel.com/zhangwei217245/aggbug/306330.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/zhangwei217245/" target="_blank">X-Spirit</a> 2009-11-12 10:24 <a href="http://www.aygfsteel.com/zhangwei217245/archive/2009/11/12/306330.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank">Ͽ</a>| <a href="http://" target="_blank">¤</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ѷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">³ľ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̺</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank">ԭ</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">β</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͼľ</a>| <a href="http://" target="_blank">ƺ</a>| <a href="http://" target="_blank">ӱ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">⽭</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʳ</a>| <a href="http://" target="_blank">˴</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʲ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Դ</a>| <a href="http://" target="_blank">ָɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">齭</a>| <a href="http://" target="_blank">ں</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>