Skip to content

Instantly share code, notes, and snippets.

@chinlung
chinlung / hex2b64
Last active March 2, 2020 09:51
Used to encode a field for Auth #hex2b64 #php
function hex2b64($str)
{
$raw = '';
for ($i = 0; $i < strlen($str); $i += 2) {
$raw .= chr(hexdec(substr($str, $i, 2)));
}
return base64_encode($raw);
}
/*
@chinlung
chinlung / delete_mac_time_machine_local_snapshot.txt
Created April 29, 2019 08:48
刪除 MAC 時光機本機 SnapShots
tmutil listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done
@chinlung
chinlung / Developer_Tools.txt
Last active April 17, 2019 06:25
工作生產力的工具
★ GitKraken:GitHub GUI Client 工具
★ Insomnia:類似 Postman 但還允許查詢 GraphQL
★ Visual Studio Code:程式碼編輯工具
★ Dash:離線查詢超過 200 種的 API 文件
★ SourceTree:Git GUI Client 工具 (跟第一個屬性重複)
★ Postico:Postgres Client
★ Hyper:Electron-Based 的 Terminal 工具
★ Notion:文件協作平台
★ Dropbox Paper:文件撰寫
★ Bear App:文件撰寫

Web Development with Laravel 5

目標

如何在開發的過程中加入測試。

  1. Model
  2. Repository
  3. Controller
  4. Auth

Angular 2 開發實戰:新手入門篇 實作環境說明

實作環境說明

為了能讓大家能在課堂上順利地進行實作,請先將需要的軟體全部安裝好,以下是安裝的相關軟體與安裝步驟與說明。

[ 作業系統 ]