hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
網頁設計今日把http轉成https
到後台編輯時發現沒法瀏覽伺服器及上傳圖片
到ckeditor目次下,找到config.js
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
介紹如何使用 Python 的 MySQL Connector 模組毗連 MySQL/MariaDB 資料庫,進行查詢、新增或刪除等各類操作。
Python 有很多 MySQL/MariaDB 資料庫相幹的模組,而最常被利用的就是 MySQL Connector 與 MySQLdb 這兩個模組,以下是 MySQL Connector 模組的使用方式。
安裝 MySQL Connector 模組
開啟 Windows 中的敕令提醒自元,使用 pip 安裝 Python 的 MySQL Connector 模組:
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)

ESP32 腳位34 連接到可變電阻腳位 2
ESP32 腳位VIN 毗連到可變電阻腳位 1
ESP32 腳位GND 毗連到可變電阻腳位 3
讀取數值為12 bits = 4096
0 - 4095
程式碼:
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)

網頁設計昨日要寄信到GMAIL信箱
發現CPanel SMTP出現毛病網頁設計
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
再用bootstrap時,經常會碰到一些小細節必要修改網頁設計經常為了一些小問題找半天GOOGLE半天也沒看到有人說明此問題所以就只好本身來了找到bootstrap.css到場hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)
範例圖片
網頁設計
 網頁設計
CSS
- body{ text-align:center;}
- *{ margin:0; padding:0;}
- img{ border:none;}
- #container{ width:900px; height:900px; background:#000000; border:1px solid #006633; margin:auto; padding:0;}
- #loader{ width:480px; margin:auto; height:500px; background:#FFFFFF; float:left; margin-right:5px;}
- #imageOptions{ float:left;}
- #imageOptions li{ list-style:none; margin:10px;}
- .loading{ background:url(images/spinner.gif) center center no-repeat;}
- h3{ line-height:500px;}
網頁設計複製代碼 HTML code
- <div id="container">
- <div id="loader">
- <h3>Click on an image to view it full size.</h3>
- </div>
- <ul id ="imageOptions">
- <li><a href="#"><img width="200px" src="./uploads/20131251.jpg" alt="image" /></a></li>
- <li><a href="#"><img width="200px" src="./uploads/20131252.jpg" alt="image" /></a></li>
- <li><a href="#"><img width="200px" src="./uploads/20151213.jpg" alt="image" /></a></li>
- <li><a href="#"><img width="200px" src="./uploads/20160415netyea_banner1.jpg" alt="image" /></a></li>
- <li><a href="#"><img width="200px" src="./uploads/20160414netyea_banner5.jpg" alt="image" /></a></li>
- </ul>
- </div>
網頁設計複製代碼
JavaScript code
- $(function(){
- $("#imageOptions a").click(function(){
- var imageSource = $(this).children("img").attr("src");
- $('#loader').addClass("loading");
- $("h3").remove();
- showImage(imageSource);
- return false;
- });
- });
- function showImage(src)
- {
- $("#loader img").fadeOut("slow").remove();
- var largeImage = new Image();
- $(largeImage).attr("src",src)
- .load(function(){
- $(largeImage).hide();
- $("#loader").removeClass("loading").append(largeImage);
- $(largeImage).fadeIn("slow");
- });
- }
複製代碼
|
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)

影片
TB6612FNG是東芝生產的馬達驅動與控制IC,內部包含兩組H橋式電路,可驅動和控制兩個小型直流馬達,或一個雙極性步進馬達。
hpxvrus 發表在 痞客邦 留言(0) 人氣(0)