2018年小朋友用的STEAM清單

星期一~星期五小朋友的STEAM課程清單

科學(Science)
Python 程式設計,網路,電路,化學,Scratch

科技(Technology)
樹苺派電腦操作,GPIO電源,H5網頁製作,手機APPS

工程(Engineering)
Minecraft 紅石機關,Minecraft建築

藝術(Art)
威力導演 ,電腦繪畫 ,音樂製作,H5網頁,手機APPS

數學(Mathematics)
手機APPS

2018年樹苺派生產改成Made In China

2018年在RS下單的樹苺派生產改成Made In China!

最近一次在RS下單樹苺派產地由日本已經改為中國製造了.

Made in China !

 

中國ELEMENT 14的Raspberry PI3在掏寶 的價格只有英國版的85折左右.

所以如果有要買Raspberry PI3應該可以直接考慮買中國版就好了的

certbot無法正常運作的解決方法 (CENTOS 7)

今天幫網站加上了certbot的網站加密程序.

但是一直出現localhost.localhost.localdomain

原因是因為預設在conf.d裡面的ssl.conf的設定造成載入了apache預設加密的檔案.

所以我們只要吧預設的

<VirtualHost __default__:443>

改成

<VirtualHost localhost:443>

 

這樣就不會干擾到其他的VirtualHost運作了.

 

[PHP]PHPMailer 騰訊企業郵箱

PHPMailer 騰訊企業郵箱

用PHP連結企業郵箱寄送信件的程式Sample

$this->mail = new PHPMailer(true);

if(is_a($this->mail,”PHPMailer”)){

try {
$this->mail->isSMTP();
$this->mail->SMTPDebug = 0;
$this->mail->Host = “hwsmtp.exmail.qq.com”;
$this->mail->Port = 465;
$this->mail->SMTPSecure= “ssl”;
$this->mail->SMTPAuth = true;
$this->mail->SMTPKeepAlive=true;

//帳號
$this->mail->Username=”noreply@blahblah.com.xxx”;

//密碼
$this->mail->Password=”blahblah”;

//
$this->mail->setFrom($from_email, $from_name);

$this->mail->CharSet = mb_detect_encoding($contents);

$this->mail->addAddress($email, $to_name);

$subject = base64_encode($subject);
$subject = ‘=?utf8?B?’.$subject .’?=’;
$this->mail->Subject = $subject;
$this->mail->Body =$contents;
$this->mail->IsHTML(true);

//寄出
$this->mail->send();

} catch (phpmailerException $e) {
//echo $e->errorMessage(); //Pretty error messages from PHPMailer
} catch (Exception $e) {
//echo $e->getMessage(); //Boring error messages from anything else!
}