Unit. 1
git init
git add 'poem.txt' /* preparing add, can be files or file fold
git status
git commit -m 'description' --author='name <email>' /* acting adding
git commit --amend -m 'new description' --author='(changed) name <email>'
/* modifying description or author name/ email
gitk
exit
----
Unit. 2
git config alias.name 'full commend'
e.g.
git config alias.con 'config -l'
/* then,
/* git con = git config -l
----
Unit. 3
touch .gitignore
#168-#169
手機程序型網頁範例
但教學中是直接刪改官方檔案
將 .click 改為 .on("vclick", function())
減少裝置反應延遲
示範不切換網址切換內容頁面
可能會有網址列#1-1改#1-2內容卻沒切換的問題
#170-171
如何將 jQ 製成的程序轉換成不同平台(安卓、蘋果、win...)
由 node.js (網頁服務器)
cordova
#137
php 發送郵件若成功,會回傳 1,表 true
$emailTo="";
$subject="";
$body="";
$headers="";
mail($emailTo, $subject, $body, $headers)
#143-145 天氣預報網站範例
擷取外部網頁特定部分資料
background-position: center;
background-size: cover;
<?php
$city= $_GET['city'];
$city= str_replace(" ", "", $city); // 空格替換成沒有空格,從$city取出替換
$content= file_get_contents("http://www.weather-forecast.com/locations/San-Francisco/forcasts/latest");
preg_match("/3 Day Weather Forecast Summary:/i", $content, $matches);
print_r($matches)
?>