今天小試一下 Laravel 的 php unit testing
基本跑 phpunit 成功沒問題
變更 gulpfile.js -- 使用 mix.phpUnit();
執行 gulp tdd -- 卻出現 ./vendor/bin/phpunit: Permission denied
今天小試一下 Laravel 的 php unit testing
基本跑 phpunit 成功沒問題
變更 gulpfile.js -- 使用 mix.phpUnit();
執行 gulp tdd -- 卻出現 ./vendor/bin/phpunit: Permission denied
最近在 Visual Studio 2015 更新 TypeScript 後, 突然 JavaScript 的 Intellisense 失效了! 沒有 color highlight 也沒有 code hint… 怎麼會這樣~~~
僅 .ts 的檔案都還可以用… 但是…還是有些 js code 寫在 razor 頁面上呀….
原本想說跟之前 razor 語法失效類似, 執行 ./devenv.exe /resetuserdata 還是不行
最終爬文找到方法, 只要重裝 Universal Windows App Development Tools
參考資料:
http://stackoverflow.com/questions/32000562/vs-2015-no-highlighting-and-intellisense-in-js-files
重裝步驟:
控制台 -> 解除安裝或變更程式 -> 找到 Visual Studio 2015
選擇 "變更", 會開啟 VS 的介面, 選擇 "變更"
如果原先有勾 Universal Windows App Development Tools, 先勾消, 再重新勾選
然後執行 "更新" 就會把 JavaScript 的支援加回來了
最後再到 Program File 的 VS IDE
執行下列兩行執令, 就完成囉!!!
./devenv.exe /updateconfiguration
./devenv.exe /clearcache
呼~~ 已經不習慣沒有 intellisense 的世界, 雖然 code 都可執行, 就是不能少那種感覺!!
安裝 Vagrant 輕便虛擬機 Homestead
安裝步驟:
必要的軟體 (在 Windows 或 Mac 皆需先安裝)
vagrant box add laravel/homestead
git clone https://github.com/laravel/homestead.git Homestead