[WordPress] Fixed Mixed Content:  The page at ‘https://site-url’ was loaded over HTTPS, but requested an insecure favicon … This content should also be served over HTTPS.

wordpress

Problem When I open the developed tools (F12) for Debug. I got this error Mixed Content:  The page at ‘https://site-url’ was loaded over HTTPS, but requested an insecure favicon … This content should also be served over HTTPS. Solution Go to Setting > General and change WordPress Address (URL) and Site Address (URL) from http to https

[GIT] Filename too long

After migrate from .NET Core 3.1 > .NET6.0 . When I rebuilding source code for testing via Jenkins (Windows 10 Build Server). The build fails and log say ERROR: Checkout failed hudson.plugins.git.GitException: Command “git.exe checkout -f 72c240e2c46693fd239132b77ae92bc8cfbc5db1” returned status code 1: stdout: stderr: error: unable to create file : Filename too long Previous HEAD position was 3157c92 update link c0cfa671 HEAD is now at 72c240e Update Link How to Fixed Run Git Bash as administrator Run Command

[AZ-204] Implement infrastructure as a service solutions

azure

Blog ตอนนี้ผมว่าคล้ายๆตอนใน AZ-900 พอสมควรเลยครับ (อ่าน Short Note ของ AZ-900 เพิ่มได้ครับ) Provision virtual machines in Azure Create and deploy Azure Resource Manager templates Azure portal / Azure CLI / PowerShell / REST API / Button in GitHub repository / Azure Cloud Shell Manage container images in Azure Container Registry Run container images in Azure Container Instances – Explore Azure Container Instances – Container restart policy – Set Container environment variables – Mount an Azure file share in Azure Container Instances Reference

[CR] Starbucks Ham Cheese Croffle

ราคา 145 บาท ครอฟเฟิล – ขนมอบเหมือนวาฟเฟิล แต่นุ่มเหนียว หอม แบบครัวซองต์ รสชาติ ตัวแป้ง – นุ่มเหนียว หอมหวาน และออกเค็มนิดๆจากชีส ส่วนแฮมผ่าออกมาดูครับ ส่วนตัวผมเฉยๆ ไม่ว้าว ส่วนตัวที่ชอบสุด Jumbo Sausage Bite พลังงาน – ยังไม่มีข้อมูล Reference (พลังงานของแต่ละเมนู) แฮมชีสครอฟเฟิล – Starbucks Thailand

[SECURITY] เมื่อ GitHub ของตัวเอง โดนมองว่ามี Wording ที่สุ่มเสี่ยง

เคสนี้เป็นเคสที่ผมเจอหลายเดือนก่อนครับ ตัว GitHub ที่ร้างๆของผมได้รับแจ้งว่ามี Keyword ที่ไปตรงกับระบบตรวจสอบความปลอดภัยของบริษัทแห่งหนึ่งครับ ตอนแรกที่ได้เมล์ ตกใจมากยอมรับว่าไม่มีสติทำงานเลย กลัวจะมีแบบคดีความครับ โดยในเมล์จะขอให้ลบข้อมูลที่ Keyword นั้นออกไปครับ สุดท้าย ผมตัดสินใจลบ Repository นั้นทิ้งไปครับ เพราะตัว Code ใน Repo นั้นเก่ามากๆแล้วครับ แต่มีจุด Check Point ที่ต้องตรวจสอบเพิ่มแทน ว่าตอน Commit Code อะไรเข้า Repository ที่ Public อันนี้ อาจจะต้องตรวจสอบข้อมูล ว่ามี keyword เช่น มีชื่อ / ip ไหม หรือ Sensitive Data จากจุดดังนี้ comment ใน code logfile documentation

สรุปงาน Global Azure 2022 Thailand

สำหรับหัวข้อที่ฟัง อาจจะแหว่งๆไปบ้างนะครับ พอดีวันนี้ไปงานรับปริญญาเพื่อนที่จุฬาฯ มาครับ โดยหัวข้อที่ฟังมา มีดังนี้ Manage users and groups in Azure Active Directory Cloud defense strategies with Microsoft Azure Azure Kubernetes Service best practices Enable DevSecOps with GitHub and SonarQube hosted on Microsoft Azure Dealing with more than 100 secrets on GitHub Actions using Mozilla SOPS and Azure Key Vault Planning for migrate on-premises to Microsoft Azure with Cloud Adoption Framework (CAF) Planning and designing enterprise landing zone to support on-premises workload migration to Microsoft Azure Key Note One Stop Service สำหรับ Dev Code Visual Studio > Commit เข้า github > devops & deploy บน Azure หรือ จะทำแบบ Low…

[ASP.NET CORE] non-root container error System.Net.Sockets.SocketException (13): Permission denied

.NET Podman

หลังจากปรับ Image ของ .NET Core จากเดิมที่ใน Container จะให้ User root เป็นคนรัน WebAPI ขึ้นมา มาเป็น User Non-Root แทน พอ Start Container ขึ้นมาก็ Error เลยครับ สาเหตุ Non-Root ไม่สามารถ Run Container หากกำหนด Port ต่ำกว่า 1024 แนวทางแก้ไข ดังนั้นต้องมาดู Script ที่สร้าง Container เพื่อมาปรับ Param ของคำสั่งที่เกี่ยวข้อง เช่น ปรับ Port จากเดิมที่กำหนดเป็น 80 มาเป็น Port อื่นๆ เช่น 10456 สำหรับใน Blog นี้ ผมจะใช้ Podman มาเป็น container Engine นะครับ ก่อนแก้ไข หลังแก้ไข ผมได้ปรับ parameter ดังนี้ -p 10456:10456 -e ASPNETCORE_URLS=”https://+:10456″ –healthcheck-command (ถ้ามี) Reference asp.net – Kestrel permission denied for non-root user – Stack Overflow

[DP-900] Short Note

สำหรับคนที่จะมาศึกษา และสอบตัว DP-900 ผมแนะนำว่าควรศึกษา และสอบตัว AZ-900 ให้ผ่านก่อนครับ เพราะตัว AZ-900 มันมันปูพื้นฐานด้าน Cloud และที่นี้ใน DP-900 มาเสริม มาเจาะลึกในแต่ละเรื่อง AZ-900 รู้ว่า Azure Synapse Analytic คือ อะไร แต่ใน DP-900 จะมีการลองใช้งาน เป็นต้น คนที่เกี่ยวข้องกับ Data รู้จัก Data ต่างๆ – Identify data formats – File Stores – Databases –> Relational databases (Normalized Data) –> Relational databases (Azure SQL) –> Non-relational databases –> Non-relational Azure Service การเอา Data ไป Process –> Modern data warehousing –> Data ingestion and processing –> Analytical data store –> Analytical data model –> Data visualization Real-time Data analytics –> Source for stream –> Sinks(Output) for stream –> Common Azure elements of stream processing architecture…

[CR] Iced Strawberry Mango Jelly Starbuck M:LK Cream Oolong

สำหรับเมนูนี้ ชื่อแปลกตรง Starbuck M:LK Cream เลยลองถามพนักงานดู สรุปตัวมีส่วนประกอบที่เป็น Plant-based ครับ ได้แก่ ครีมนม (ทำจาก โอ๊ตมิลค์) / วิปครีม (ทำจาก น้ำนมข้าว) ไม่รู้ว่าจะช่วยลดความอ้วน หรือป่าวนะ ราคา 185 บาท ส่วนประกอบ เนื้อมะม่วง + Mango Jelly – กรุ๊บดีครับ เข้ากระแสข้าวเหนียวมะม่วงช่วงนี้ด้วย Strawberry ซอส – ทำให้เกิดรสหวานแผงตัดกับตัวชาอู่หลงดีครับ ชาอู่หลงเย็น – สดชื่นดีครับ แต่อาจจะไม่โดดเด่นเหมือนชาอู่หลงจากร้านดังๆนะครับ ครีมนมจากพืช / วิปครีม (Starbuck M:LK Cream) – ลองทานแล้ว รู้สึกว่ามันจะไม่มีความมันแบบที่ได้จากสัตว์ครับ พลังงาน – Reference (พลังงานของแต่ละเมนู) ยังหาไม่เจอจ้า เอ่ menu ของ Starbuck Thailand ไปก่อน Iced Strawberry Mango Jelly Starbucks M:LK Cream™ Oolong – Starbucks Thailand

บันทึกอาการที่เกิดขึ้นหลังฉีดวัคซีน Pfizer เข็มที่ 4 (Comirnaty)

ฉีดช่วงเช้า ช่วงเที่ยงๆ เข้าระบบหมอพร้อมว่าฉีดเข็ม 4 แล้วครับ โดยวัคซีนที่ผมได้ฉีดมีลำดับ ดังนี้ เข็มที่ 1 AstraZeneca (SBS) และอาการที่พบ เข็มที่ 2 AstraZeneca (PV) และอาการที่พบ เข็มที่ 3 Pfizer (Comirnaty) และอาการที่พบ เข็มที่ 4 Pfizer (Comirnaty) อาการที่พบ 25-APR-2022: 5 ชั่วโมงแรกหลังฉีด เริ่มปวดล้าที่แขน วันนี้มีไป UAT Interface กับ IT ลูกค้าครับ นัดมาตรวจกันที่ร้านกาแฟครับ 25-APR-2022: 7 ชั่วโมงหลังฉีด (เวลาประมาณ 17:00) ปวดหนัก ยกแขนไม่ขึ้น แยกสังขารไปนั่ง 57 กลับ เพราะไม่อยากเสียค่า Taxi เปลือง 26-APR-2022: ตี 2 ไข้ขึ้นเรียบร้อย และลองหาดูว่ามีท่าช่วยบรรเทาไหม ปรากฏว่ามีครับ 3 ท่าจบ!! ลดปวดไหล่..หลังไปฉีดวัคซีน | World Medical Hospital (theworldmedicalcenter.com) หลังทำเสร็จประคบน้ำแข็งยาวๆไปครับ 26-APR-2022: ตี 3 ทำงาน เพราะนอนไม่หลับ เมื่อคืนกลับบ้านก็หลับยาวเลยครับ 26-APR-2022: ตั้งแต่ 8 โมงทำงานยาวๆจนถึง 3 ทุ่ม และทำท่าลดปวดไหล่ไปทุกๆ 1-2 ชั่วโมงครับ 27-APR-2022: อาการดีขึ้นมากแล้วครับ Reference 3 ท่าจบ!! ลดปวดไหล่..หลังไปฉีดวัคซีน | World Medical Hospital (theworldmedicalcenter.com)