1. Create new reaction project from Terminal
reaction init reaction_sample
5. cd reaction_sample
6. Open vs code from Terminal (must be in the reaction dir) code .
7. Click on debugging (there should be ‘No Configurations’ in the drop-down)
8. Click the gear icon to create a new Node.js configuration
9. Edit launch.json: configurations.program -> “${workspaceoot}/server/main.js”
10. Save the file
11. Navigate to /server/main.js
12. add debugger; before Startup();
13. Save the file
14. Open Integrated Terminal (View | Integrated Terminal)
15. Type: reaction debug [it will start the app and eventually pause at the debugger statement]
16. Once it says that it’s paused, switch to the debug view in the left nav and select "Attach to Process" from the dropdown.
17.Then press the ‘start’ button (and select the Node.js process)
18. You should see the execution paused on the debugger statement entered in Step 12.
19. At this point you can step in, out, or over code statements.
Hankering Winning
2017年10月29日 星期日
2016年10月25日 星期二
Google Code prettify
作者:
Hank
0
意見
測試了新的google code prettify
選擇版面配置=>新增小工具=>HTML/Javascript
https://rawgit.com/google/code-prettify/master/styles/index.html
然後將
<pre class="prettyprint>//code</pre>
就可以將程式碼有高亮度效果了
選擇版面配置=>新增小工具=>HTML/Javascript
<script code-prettify="" google="" https:="" index.html="" master="" rawgit.com="" src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=sons-of-obsidian></script>可以到這裡挑選喜歡的theme:
https://rawgit.com/google/code-prettify/master/styles/index.html
然後將
<pre class="prettyprint>//code</pre>
就可以將程式碼有高亮度效果了
int main()
{
print("test");
}
2016年4月24日 星期日
turn off ubuntu auto update
作者:
Hank
0
意見
想要關掉ubuntu 的auto update 功能
開啟 /etc/apt/apt.conf.d/10periodic 將:
APT::Periodic::Update-Package-Lists "1";
改成:APT::Periodic::Update-Package-Lists "0";
2011年7月5日 星期二
2011年7月4日 星期一
2011年7月3日 星期日
2011年5月3日 星期二
2011年4月30日 星期六
2011年4月2日 星期六
2011年3月28日 星期一
2011年3月27日 星期日
2011年3月26日 星期六
2011年3月5日 星期六
2011年2月1日 星期二
2010年12月16日 星期四
2010年12月4日 星期六
2010年11月27日 星期六
2010年11月26日 星期五
測試使用程式碼
作者:
Hank
0
意見
今天試用了一下
google-code-prettify
以後如果要編寫程式碼的話就比較方便了
安裝的方式很簡單
只要到設計=>修改html
找到</head>的前面加入
懶得把檔案下載下來了 直接把include svn中的檔案
因為背景原本是黑色的
為了讓文字明顯一點
可以再用css去調整顏色
最後的結果
google-code-prettify
以後如果要編寫程式碼的話就比較方便了
安裝的方式很簡單
只要到設計=>修改html
找到</head>的前面加入
<link href="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" rel="stylesheet" type="text/css"> <script src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js" type="text/javascript">
懶得把檔案下載下來了 直接把include svn中的檔案
因為背景原本是黑色的
為了讓文字明顯一點
可以再用css去調整顏色
<style type="'text/css'">
.kwd { color: #4169E1; }
.tag { color: #4169E1; }
pre.prettyprint { padding: 2px; border: 1px solid #888; background-color: white; }
</style>
最後的結果
int main(){
printf("");
}
2010年11月20日 星期六
高雄 丹丹漢堡 打狗英國領事館官邸 海之冰 旗津海水浴場 夢時代
作者:
Winni
0
意見
聽說這是南部才有的早餐店,當然要來嘗鮮一下,真的很特別,套餐都是中式+西式,份量很大,我們兩個人合吃一份都覺得很撐!!
點了麵線羹+鮮脆雞腿堡+飲料+15元有一份薯條,麵線羹帶有甜甜的口感,不是很習慣,雞腿堡還不錯吃囉!
2010年11月19日 星期五
2010年11月16日 星期二
2010年9月18日 星期六
2010年9月14日 星期二
2010年8月1日 星期日
2010年7月25日 星期日
2010年7月24日 星期六
2010年7月23日 星期五
2010年7月22日 星期四
2010年7月10日 星期六
2010年6月26日 星期六
2010年6月19日 星期六
訂閱:
文章 (Atom)



