Login
Discover
Waves
Decks
Plus
Login
Signup
Rex Tsou
@akccakcctw
25
Followers
40
Following
1
Resource Credits
Available
Used
Location
Taiwan
Website
https://rex-tsou.com
Created
November 11, 2017
RSS Feed
Subscribe
Blog
Blog
Posts
Comments
Communities
Wallet
akccakcctw
license
2017-11-24 16:15
創用 CC 授權是什麼鬼?
(CC授權示意圖,圖為 CC BY-NC-ND) 瀏覽新聞網站或是部落格,經常可以看到圖片底下除了圖說、作者姓名之外,後面還會有個括號寫著像是:(CC BY 2.0)這樣子的東東,看起來好像很專業!隱約知道跟授權有關,可是實際上那到底是什麼鬼? 創用 CC (Creative Commons) 其實是一個非營利組織,成立於 2001 年,官網上的成立宗旨是這樣的: Creative Commons
$ 0.000
1
2
akccakcctw
curl
2017-11-20 07:26
cURL 指令備忘
一般用法 # 顯示網頁原始碼 curl # 將網頁內容輸出為sample.html curl -o sample.html # 同上,但輸出時維持原檔名 curl -O # 用來下載檔案也沒問題 curl -O # 批次下載檔名連續圖片 curl -O 進階用法 # 批次下載檔名連續圖片 curl -O # 使用指定帳密上傳檔案 curl -T localfile -u name:passwd -o:輸出檔名
$ 0.000
6
akccakcctw
vscode
2017-11-16 10:45
VSCode Plugin: Quokka.js
Quokka.js 是一款讓你可以在編輯器中邊寫 JavaScript 邊觀察執行結果的套件,官網介紹寫得很清楚: Quokka.js is a rapid prototyping playground for JavaScript and TypeScript. It runs your code immediately as you type and displays various execution
$ 0.022
14
1
akccakcctw
php
2017-11-14 16:06
各種讓網頁重新導向的方法
方法一:直接在錯誤頁裡重導 如果沒有強迫症不在乎伺服器裡多增加一個沒有用的檔案,這樣最簡單: PHP <?php header( 'Location: ); exit(); ?> HTML <meta http-equiv="refresh" content="1;url= 此處content屬性裡面的「1」,代表延遲1秒,可以自行替換成其他數字
$ 0.000
5
akccakcctw
javascript
2017-11-11 03:03
JavaScript 轉換型別小技巧
var number = 1; var string = '1'; var bool = true; string === number; // false bool === number; // false bool === string; // false string 與 number 轉換 string === '' + number; // true +string === number;
$ 0.000
3
1