{oc.tech.notes} 技術誌
技術誌記錄學習或專案執行當下遇到的問題及解決方案,方便日後翻查,益人益己!
2015/10/26
[Tracy] 善用工具 -- Tracy 讓 PHP Debug 變簡單了
›
過去在開發 PHP 專案, 在除蟲的過程當中, 只能利用有限的錯誤訊息, 加上過去的經驗, 才能一步一步解決 error! 今天有機會學到新工具 Tracy ( https://github.com/nette/tracy ), 真讓人覺得 Debug PHP 程式變簡單了~...
2015/09/25
[Laravel] Gulp TDD - 出現 PHPUnit Permission Denied 的解決方法
›
今天小試一下 Laravel 的 php unit testing 基本跑 phpunit 成功沒問題 變更 gulpfile.js -- 使用 mix.phpUnit(); 執行 gulp tdd -- 卻出現 ./vendor/bin/phpunit: P...
2015/09/14
[VS2015] 安裝 TypeScript 後造成 JavaScript Intellisense 失效的解決方法
›
最近在 Visual Studio 2015 更新 TypeScript 後, 突然 JavaScript 的 Intellisense 失效了! 沒有 color highlight 也沒有 code hint... 怎麼會這樣~~~ 僅 .ts 的檔案都還可以用... 但...
2015/09/05
[Vagrant] 在 Windows 10 及 Mac 安裝 Homestead 步驟流程
›
安裝 Vagrant 輕便虛擬機 Homestead 安裝步驟: 必要的軟體 (在 Windows 或 Mac 皆需先安裝) 1. Git ( http://git-scm.com/ ) 2. VirtualBox ( https://www.virtualbox...
2015/08/26
[Git] 解決 Git - unable to determine absolute path of git directory
›
今天第一次在 USB 操作遠端 Git 版控, 出現: unable to determine absolute path of git directory 解決方法: 在 PowerShell 輸入指令 Stop-Process -processname ssh-...
2015/07/27
[PHP] 處理 magic_quotes_gpc
›
PHP 5.4 版已預設 off, 但仍有主機商把它開啟 如果 get_magic_quotes_gpc() 回傳為 1 時 可以用 stripslashes 來處理字串 http://php.net/manual/en/function.get-magic-quo...
2015/07/17
[Git] 移除右鍵選單的 Git 指令選項
›
Git 在 Windows 系統下預設安裝的右鍵選單指令, 說實在的真的很少用, 今天決定把它移掉 步驟很簡單: 1. 開啟 cmd.exe 命令提示字元 2. 切換到 Git 安裝目錄的 git-cheetah/ 輸入以下指令 64-bit cd ...
‹
›
首頁
查看網路版