原创 [Nodejs] nodemon:自動重啓與頁面刷新

前提:已經install nodemon到global,這裏說如何使用nodemon代替node 例如文件路徑 desktop/lab3,而且已經npm install好node-modules 如果用node命令,要npm start

原创 [JSP] eclipse web project 發佈到tomcat下

http://www.cnblogs.com/cxtczzy/archive/2013/03/30/2991096.html

原创 [Nodejs] Debug-Ternimal

現狀:桌面上的notes-node文件裏有個playground文件夾,裏面有一個debugging.js文件,要debug這個文件 命令c是繼續,命令n是下一行,如果提前在文件中打入debugger; 這個時候debug的話輸入命令c

原创 [Nodejs] npm

要在當前的路徑下:notes-node 最後文件夾notes-node裏多出node_modules文件夾,以及package-lock.json和package.json 注意:node_modules文件夾可以刪除掉,再用的時候終

原创 [leetCode] 369. Plus One Linked List

Given a non-negative integer represented as non-empty a singly linked list of digits, plus one to the integer. You m

原创 [MySQL] case問題

Swap Salary  Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m value

原创 [Spring MVC] What is my Spring MVC controller not working?

以下是上udemy課程裏給出的方法,親測,有效: THIS IS AN ECLIPSE CACHING BUG IF YOUR CONTROLLER DOESN'T WORK THEN TRY THE STEPS BELOW BE

原创 [Git] Git出現一些錯誤的解決方法

錯誤一 原因:local和remote的文件衝突了   錯誤二 You are not currently on a branch, so I cannot use any 'branch.<branchname>.mer

原创 [Nodejs] Debug-Chrome Dev Tools

現狀:桌面上的notes-node文件裏有個playground文件夾,裏面有一個debugging.js文件,要debug這個文件 然後在chrome裏輸入:chrome://inspect 跳轉: 點擊後結果:

原创 [Nodejs] terminal上運行nodejs程序

現狀:桌面上一個hellojs文件夾裏有一個app.js文件

原创 [Spring]tomcat啓動

cd apache-tomcat-9.0.2 cd bin ./catalina.sh run 進入瀏覽器 http://localhost:8080/