目前分類:NetYea (121)

瀏覽方式: 標題列表 簡短摘要

本日把http轉成https


到後台編纂時發現沒法瀏覽伺服器及上傳圖片


Ckeditor Ckfinder https 無法瀏覽伺服


到ckeditor目次下,找到config.js

  1. baseurl = 'https://'+window.location.hostname;
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

測試了局(夜神慢 雷電9)
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設 CPanel 若何用 Hinet 做 SmartH

對話框輸入

CPanel Hinet SmartHost relay Linux

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

官方文件鏈結 https://docs.ultralytics.com/models/

程式碼

  1. from ultralytics import YOLO
  2. import os
  3. os.environ["KMP_DUPLICATE_LIB_OK"]  =  "TRUE"
  4.  
  5. if __name__ == '__main__':
  6.     # Load a COCO-pretrained YOLOv8n model
  7.     model = YOLO('yolov8n.pt')
  8.  
  9.     # Display model information (optional)
  10.     model.info()
  11.  
  12.     # Train the model on the COCO8 example dataset for 100 epochs
  13.     results = model.train(data='coco8.yaml', epochs=100, imgsz=640)
  14.  
  15.     # Run inference with the YOLOv8n model on the 'bus.jpg' image
  16.     results = model('bus.jpg')
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設 Opencart 在Cpanel主機上點上傳不會出


網站架設 Opencart 在Cpanel主機上點上傳不會出

找了兩天設定
登入CPANEL
 網站架設多 PHP INI 编辑器

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

ESP32 腳位34 毗連到可變電阻腳位 2
ESP32 腳位VIN 毗連到可變電阻腳位 1
ESP32 腳位GND 毗鄰到可變電阻腳位 3
ESP32若何操縱可變電阻讀取外部電壓數值 網站架設
ESP32若何操縱可變電阻讀取外部電壓數值 網站架設

讀取數值為12 bits = 4096
0 - 4095

程式碼:

  1. const int potPin = 34;
  2. int val=0;
  3. void setup() {
  4.   Serial.begin(115200); //連線速度
  5.   delay(1000);
  6. }
  7.  
  8. void loop() {
  9.   // put your main code here, to run repeatedly:
  10.   val = analogRead(potPin); //讀取電壓數值
  11.   Serial.println(val); //印出電壓數值
  12.   delay(500); //延遲0.5秒
  13. }
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設 

網站架設

網站架設 

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設
  1. from ultralytics import YOLO
  2.  
  3. # Load a model
  4. model = YOLO("yolov8n.yaml")  # build a new model from scratch
  5. model = YOLO("yolov8n.pt")  # load a pretrained model (recommended for training)
  6.  
  7. if __name__ == '__main__':
  8.     # Use the model
  9.     model.train(data="coco128.yaml", epochs=3)  # train the model
  10.     metrics = model.val()  # evaluate model performance on the validation set
  11.     results = model("https://ultralytics.com/images/bus.jpg")  # predict on an image
  12.     path = model.export(format="onnx")  # export the model to ONNX format
複製代碼
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

用ESP32 PWM實現LED慢慢亮起。

程式的部份首要分成三個:1.設定頻道LEDchannel、2.附加到PIN腳、3.決議輸出巨細。

1.設定頻道LEDchannel屬性

ledcSetup(LEDChannel, freq, resolution);
//LEDChannel設定為0,分歧輸出要設定到分歧頻道,例如RGB LED就要開三個頻道離別經管R、G、B
//freq輸出頻率,建議值5000 Hz
//resolution代表輸出解析度,例如8代表0-255,10代表0-1023

2.附加到PIN腳

ledcAttachPin(ledPin, LEDChannel);
//ledPin代表腳位,看你把設備接在哪一個腳位上面
//LEDchannel代表步調1所宣告的LEDchannel,也就是說把設定好的LEDchannel屬性附加到某個腳位上

3.決意輸出大小。

ledcWrite(LEDChannel, dutyCycle);
//將LEDchannel輸出dutyCycle的值。

典範程式將使接在Pin16的LED逐步亮起並熄滅,規範複製於 https://randomnerdtutorials.com/esp32-pwm-arduino-ide/

Arduino ESP32 PWM輸出 讓LED漸亮漸暗
Arduino ESP32 PWM輸出 讓LED漸亮漸暗

  1. // the number of the LED pin
  2. const int ledPin = 16;  // 16 corresponds to GPIO16
  3.  
  4. // setting PWM properties
  5. const int freq = 5000;
  6. const int ledChannel = 0;
  7. const int resolution = 8;
  8.  
  9. void setup(){
  10.   // configure LED PWM functionalitites
  11.   ledcSetup(ledChannel, freq, resolution);
  12.   
  13.   // attach the channel to the GPIO to be controlled
  14.   ledcAttachPin(ledPin, ledChannel);
  15. }
  16.  
  17. void loop(){
  18.   // increase the LED brightness
  19.   for(int dutyCycle = 0; dutyCycle <= 255; dutyCycle++){   
  20.     // changing the LED brightness with PWM
  21.     ledcWrite(ledChannel, dutyCycle);
  22.     delay(15);
  23.   }
  24.  
  25.   // decrease the LED brightness
  26.   for(int dutyCycle = 255; dutyCycle >= 0; dutyCycle--){
  27.     // changing the LED brightness with PWM
  28.     ledcWrite(ledChannel, dutyCycle);   
  29.     delay(15);
  30.   }
  31. }
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設



2. 指定 GPU 記憶體的佔用量

Tensorflow GPU 運算呈現 failed to Tensorflow GPU 運算呈現 failed to


解決方式
1. 指定 GPU 顯示卡

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

 

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()



ckfinder/config.php

  1. function CheckAuthentication()
  2. {
  3.         return true;
  4. }
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

1.先安裝NANO的驅動程式
找到Tools - > Boards manager
Arduino nano初始設定並引入LibraryArduino nano初始設定並引入Library

2.左邊輸入nano
安裝 Arduino AVR Boards 1.8.X
Arduino nano初始設定並引入LibraryArduino nano初始設定並引入Library


3. 找到准確型號
Tools -> Processor -> ATmega328P(Old Bootloader)
Arduino nano初始設定並引入LibraryArduino nano初始設定並引入Library


4. 改換COM PORT
Tools -> Port -> COM 10(每台電腦顯示分歧)
這時候插上Arduino nano 已顯示連線
Arduino nano初始設定並引入Library
Arduino nano初始設定並引入Library

5.安裝LIB (liquid-crystal-i2-c.h)
載點
https://www.arduinolibraries.info/libraries/liquid-crystal-i2-c


SKETCH -> ADD .ZIP Library...
把檔案上傳便可
Arduino nano初始設定並引入Library
Arduino nano初始設定並引入Library

果燒錄泛起毛病請看這篇
錯誤訊息:stk500_getsync() attempt 10 of 10: not in sync: resp


文章出處:網頁設計,網站架設 ,網路行銷,網頁優化,SEO - NetYea 網頁設計

 

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設



了局圖:
Python 若何用Pytesseract OCR 辨識影像

Python 如何用Pytesseract OCR 辨識影象

文章出處: NetYea 網頁設計




代碼

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()


三、web辦事器處置懲罰http緊縮的過程

    1. Web辦事器領受到瀏覽器的HTTP請求後,查抄瀏覽器是否支撐HTTP緊縮(Accept-Encoding 信息);

    2. 假如瀏覽器撐持HTTP緊縮,Web服務器查抄要求文件的後綴名;

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

SEO 網頁優化 若何用 Google Search Con


網頁設計,網站架設 ,網路行銷,網頁優化,SEO - NetYea 網頁設計

從2020年5月最先
Google SEO增添了加強功能
從下列網址可知增添了那些功能
https://developers.google.com/search/docs/advanced/structured-data/search-gallery


SEO寫好今後,到下列網址測試是不是完成
https://search.google.com/test/rich-results?utm_campaign=devsite&utm_medium=jsonld&utm_source=article


測試網址
http://www.netyea.com/
SEO 網頁優化 若何用 Google Search ConSEO 網頁優化 若何用 Google Search Con

點選預覽就可以看到下面圖片
SEO 網頁優化 若何用 Google Search Con

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設 帶排序功能的js masonry瀑布流插件

網站架設 帶排序功能的js masonry瀑布流插件 查看演示  下載檔案


扼要教程
sortableJs是一款帶排序功能的js masonry瀑布流插件。網站架設sortableJs能夠使元素以卡片情勢顯示,並以masonry瀑布流方式進行結構,經由過程點擊分類按鈕,可以將卡片按指定的體式格局動態排序。

利用方式
在頁面中引入sortable.min.css和sortable.min.js文件。
  1. <link rel="stylesheet" href="path/to/sortable.min.css">
  2. <script src="path/to/sortable.min.js"></script>  
  3.  
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

網站架設 PHP錯誤Notice Use of undef
網站架設 PHP錯誤Notice Use of undef



進入網站會呈現大量類似下面的提醒,然則可以正常顯示和履行

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

 

 

文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()

                 http://www.hidoger.com/Show/index/cid/11/id/23.html
文章標籤

juliox56aaj 發表在 痞客邦 留言(0) 人氣()