<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>NDD Blog</title><description>Chia sẻ về lập trình, công nghệ và những điều thú vị từ góc nhìn lập trình viên</description><link>https://ndd.io.vn/</link><item><title>Hướng dẫn cài .NET Framework 3.5</title><link>https://ndd.io.vn/posts/2017/02/22/huong-dan-cai-net-framework-3-5/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2017/02/22/huong-dan-cai-net-framework-3-5/</guid><description>Bạn đang cài một phần mềm nào đó nhưng gặp lỗi thiếu .NET Framework 3.5, ngay lập tức bạn phi lên trang chủ của anh “Mi cở rô sóp” để tìm tải về, tìm thấy tải xong nhưng cài đặt thì lại không được, hôm nay mình sẽ chỉ các bạn cách khắc phục.</description><pubDate>Wed, 22 Feb 2017 00:00:00 GMT</pubDate></item><item><title>Hướng dẫn Ghost qua mạng LAN</title><link>https://ndd.io.vn/posts/2017/02/22/huong-dan-ghost-qua-mang-lan/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2017/02/22/huong-dan-ghost-qua-mang-lan/</guid><description>Đây là đề tài môn Bảo trì hệ thống của nhóm mình, không cần dài dòng, xem video luôn 😀</description><pubDate>Wed, 22 Feb 2017 00:00:00 GMT</pubDate></item><item><title>Tạo http server đơn giản tại thư mục bất kì với nodeJS</title><link>https://ndd.io.vn/posts/2017/05/05/tao-http-server-don-gian-tai-thu-muc-bat-ki-voi-nodejs/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2017/05/05/tao-http-server-don-gian-tai-thu-muc-bat-ki-voi-nodejs/</guid><description>Hướng dẫn tạo http server ở thư mục bất kì với nodeJS</description><pubDate>Fri, 05 May 2017 00:00:00 GMT</pubDate></item><item><title>Tăng hiệu năng DataGridView – Winform</title><link>https://ndd.io.vn/posts/2017/11/10/tang-hieu-nang-datagridview-winform/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2017/11/10/tang-hieu-nang-datagridview-winform/</guid><description>Improve painting performance of DataGridView</description><pubDate>Fri, 10 Nov 2017 00:00:00 GMT</pubDate></item><item><title>Sửa lỗi ComboBox tự động chọn giá trị khi dùng chung DataSoure với ComboBox khác – Winform</title><link>https://ndd.io.vn/posts/2017/11/12/sua-loi-combobox-tu-dong-chon-gia-tri-khi-dung-chung-datasoure-voi-combobox-khac-winform/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2017/11/12/sua-loi-combobox-tu-dong-chon-gia-tri-khi-dung-chung-datasoure-voi-combobox-khac-winform/</guid><description>Mình vẫn đang làm BTL môn Lập Trình Trực Quan (sắp xong rồi :D), đang làm thì gặp vấn đề: mình có 2 cái ComboBox dùng chung một DataSoure (DataTable), khi chọn ở ComboBox này thì ComboBox kia cũng thay đổi theo.</description><pubDate>Sun, 12 Nov 2017 00:00:00 GMT</pubDate></item><item><title>Giới thiệu Laragon – Phần mềm hỗ trợ tạo Web Server tương tự XAMPP WAMP, nhiều thứ hay ho hơn.</title><link>https://ndd.io.vn/posts/2018/01/26/gioi-thieu-laragon-phan-mem-ho-tro-tao-web-server-tuong-tu-xampp-wamp-nhieu-thu-hay-ho-hon/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2018/01/26/gioi-thieu-laragon-phan-mem-ho-tro-tao-web-server-tuong-tu-xampp-wamp-nhieu-thu-hay-ho-hon/</guid><description>Chắc hẳn bạn nào học lập trình web (đặc biệt học PHP) đều biến đến XAMPP, WAMP,.. đặc điểm của của mấy tên này là đường dẫn truy cập có dạng: localhost/project1/… localhost/project2/… khá là rườm rà và còn gây bất tiện khi liên kết các file với nhau. Muốn khắc phục thì phải tạo … Tiếp tục đọc Giới thiệu Laragon – Phần mềm hỗ trợ tạo Web Server tương tự XAMPP WAMP, nhiều thứ hay ho hơn. →</description><pubDate>Fri, 26 Jan 2018 00:00:00 GMT</pubDate></item><item><title>Hướng dẫn thêm tên miền vào Cloudflare</title><link>https://ndd.io.vn/posts/2018/09/13/huong-dan-them-ten-mien-vao-cloudflare/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2018/09/13/huong-dan-them-ten-mien-vao-cloudflare/</guid><description>Cloudflare là một dịch vụ đám mây (cloud) cung cấp nhiều tính năng và chức năng để cải thiện hiệu suất, bảo mật, và khả năng sẵn sàng của trang web.</description><pubDate>Thu, 13 Sep 2018 00:00:00 GMT</pubDate></item><item><title>Disable WP Plugin từ database | Kiểm tra thiết bị là màn hình cảm ứng bằng Javascript – YIL 2/2/2020</title><link>https://ndd.io.vn/posts/2020/02/02/disable-wp-plugin-tu-database-kiem-tra-thiet-bi-la-man-hinh-cam-ung-bang-javascript-yil-2-2-2020/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/02/02/disable-wp-plugin-tu-database-kiem-tra-thiet-bi-la-man-hinh-cam-ung-bang-javascript-yil-2-2-2020/</guid><description>Bài viết đầu tiên trong chuyên mục Yesterday I Learned (YIL). Bình thường thì mọi người hay viết TIL nhưng mình thường kết thúc 1 ngày vào khá khuya nên không có thời gian để viết TIL. Vì vậy chuyên mục YIL ra đời để sang ngày hôm sau mình viết về những thứ đã … Tiếp tục đọc Disable WP Plugin từ database | Kiểm tra thiết bị là màn hình cảm ứng bằng Javascript – YIL 2/2/2020 →</description><pubDate>Sun, 02 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Game Dzut Angry Bird | Xử lý cử chỉ trên trang web với HammerJS – YIL 3/2/2020</title><link>https://ndd.io.vn/posts/2020/02/03/game-dzut-angry-bird-xu-ly-cu-chi-tren-trang-web-voi-hammerjs-yil-3-2-2020/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/02/03/game-dzut-angry-bird-xu-ly-cu-chi-tren-trang-web-voi-hammerjs-yil-3-2-2020/</guid><description>Nội dung hôm nay chủ yếu xoay quanh việc làm con game Dzut Angry Bird 😀</description><pubDate>Mon, 03 Feb 2020 00:00:00 GMT</pubDate></item><item><title>OVH Cloud Rescue mode | Netlify Custom domains – YIL 4/2/2020</title><link>https://ndd.io.vn/posts/2020/02/04/ovh-cloud-rescue-mode-netlify-custom-domains-yil-4-2-2020/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/02/04/ovh-cloud-rescue-mode-netlify-custom-domains-yil-4-2-2020/</guid><description>1. OVH Cloud Rescue mode Hôm trước nghịch dại với iptables làm block tất cả kết nối đến VPS, khiến mình không thể SSH được vào VPS. Trong lúc tìm cách fix thì mình phát hiện ra OVH (mình đang dùng VPS ở đây) có tính năng Reboot in rescue mode (chế độ cứu hộ) có thể giúp mình sửa lại config iptables rồi sau đó có thể truy cập ở lại. Nôm na tính năng Reboot in rescue mode là khi máy bạn bị hỏng thì bạn bật một máy khác lên rồi kết nối ổ cứng của máy bạn vào máy đó để sửa chữa. Chi tiết tham khảo thêm ở đây https://docs.ovh.com/gb/en/public-cloud/put_an_instance_in_rescue_mode/ Reboot in rescue mode – OVH Cloud 2. iptables không lưu rules xuống disk trừ khi chạy lệnh iptables-save Sau pha nghịch dại với iptables phía trên, khi vào đến rescue mode thì mình mới nhớ ra iptables rules sẽ không tự động lưu vào disk, muốn lưu vào disk thì cần chạy lệnh iptables-save. Phần này tuy đã được học trong trường rồi nhưng đúng là “văn ôn – võ luyện”, cái gì mà lâu không động đến là quên hết ngay =)) 3. Netlify Custom domains Phần này thì khá đơn giản chỉ cần thêm domain vào app rồi thêm bản ghi CNAME trỏ đến domain default của app là được :D. Docs: https://docs.netlify.com/domains-https/custom-domains/</description><pubDate>Tue, 04 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Mongodb, AMQP Cloud | Crontab Parser – YIL 18/2/2020</title><link>https://ndd.io.vn/posts/2020/02/18/mongodb-amqp-cloud-crontab-parser-yil-18-2-2020/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/02/18/mongodb-amqp-cloud-crontab-parser-yil-18-2-2020/</guid><description>Những project nhỏ nhỏ của mình đôi khi cần dùng đến database và mình thường chọn dùng Cloud thay vì tự deploy để đỡ phải mất công maintain.</description><pubDate>Tue, 18 Feb 2020 00:00:00 GMT</pubDate></item><item><title>WWW-Authenticate header | PHP-FPM clear env – YIL 19/2/2020</title><link>https://ndd.io.vn/posts/2020/02/19/www-authenticate-header-php-fpm-clear-env-yil-19-2-2020/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/02/19/www-authenticate-header-php-fpm-clear-env-yil-19-2-2020/</guid><description>1. WWW-Authenticate header WWW-Authenticate response header được server trả về cùng với Status 401 Unauthorized giúp client biết được phương thức xác thực nào được hỗ trợ. Qua đó client có thể gửi thông tin xác thực với phương thức tương ứng qua Authorization header. Ví dụ khi server response với header WWW-Authenticate: Basic thì trình duyệt sẽ hiện lên hộp thoại yêu cầu người dùng nhập username và password. HTTP/1.1 401 Unauthorized WWW-Authenticate: Basic Basic Auth Dialog Xem thêm tại https://phpnews.io/feeditem/401-unauthorized 2. php-fpm clear env Trong quá trình làm việc thì mình gặp một vấn đề là khi chạy bằng PHP CLI thì ứng dụng của mình có thể đọc được biến mối trường (biến môi trường của hệ điều hành chứ không phải trong file .env ) nhưng khi chạy qua Nginx &amp; php-fpm thì lại không có. Sau một hồi tìm hiểu là php-fpm có 1 config là clear_env . Chi tiết https://www.php.net/manual/en/install.fpm.configuration.php#clear-env #/etc/php/7.3/fpm/pool.d/www.conf ; Clear environment in FPM workers ; Prevents arbitrary environment variables from reaching FPM worker processes ; by clearing the environment in workers before env vars specified in this ; pool configuration are added. ; Setting to &quot; no &quot; will make all environment variables available to PHP code ; via getenv () , $_ENV and $_SERVER . ; Default Value: yes ; clear_env = no Mặc định clear_env sẽ được đặt là yes và php-fpm worker sẽ không đọc được các biết môi trường. Để ứng dụng có thể đọc được biến môi trường khi chạy bằng php-fpm thì có thể dùng 1 trong 2 cách sau: Sửa config clear_env của php-fpm thành no Dùng PHP CLI load biến môi trường ra 1 file rồi sau đó ứng dụng sẽ load các biến từ file đó. Laravel framework có built-in lệnh php artisan config:cache dùng để cache lại config, nếu đặt giá trị của config lấy từ biến môi trường thì giá trị biến môi trường sẽ được cache lại.</description><pubDate>Wed, 19 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Laravel 7 có gì mới?</title><link>https://ndd.io.vn/posts/2020/03/04/laravel-7-co-gi-moi/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/03/04/laravel-7-co-gi-moi/</guid><description>Ngày 3/3/2020, Laravel team đã cho ra mắt version 7.0.0 với nhiều tính năng mới cũng như cải thiện tốc độ. Cùng tìm hiểu những tính năng mới trong phiên bản Laravel 7.</description><pubDate>Wed, 04 Mar 2020 00:00:00 GMT</pubDate></item><item><title>Cấu hình SOCKS Proxy 5 với SSH và Firefox</title><link>https://ndd.io.vn/posts/2020/03/10/cau-hinh-socks-proxy-5-voi-ssh-va-firefox/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/03/10/cau-hinh-socks-proxy-5-voi-ssh-va-firefox/</guid><description>Mình dùng mạng Viettel, cứ tối đến là load Facebook rất khó khăn, nó cứ quay tít mù =)) Nếu dùng điện thoại thì còn có thể dùng app 1.1.1.1 của Cloudflare để truy cập ngon hơn nhưng máy tính thì lại phải tìm cách khác.</description><pubDate>Tue, 10 Mar 2020 00:00:00 GMT</pubDate></item><item><title>Back button với Javascript</title><link>https://ndd.io.vn/posts/2020/03/24/back-button-voi-javascript/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/03/24/back-button-voi-javascript/</guid><description>Cách thêm 1 nút Back ở trang chi tiết sản phẩm back lại trang trước đó trong web site của mình, nếu không thì quay trở lại trang danh mục mặc định.</description><pubDate>Tue, 24 Mar 2020 00:00:00 GMT</pubDate></item><item><title>Download phim bằng FFmpeg | Xem phim thời COVID-19</title><link>https://ndd.io.vn/posts/2020/04/18/download-phim-bang-ffmpeg-xem-phim-thoi-covid-19/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/04/18/download-phim-bang-ffmpeg-xem-phim-thoi-covid-19/</guid><description>Dạo này cả nhà mình hay xem các bộ phim Việt Nam trên mạng nhưng mà cứ đến tầm 8h tối là rất khó để xem được hoặc nếu có xem được thì chỉ chất lượng 240p, xem trên màn hình Tivi thì mờ thôi rồi =))</description><pubDate>Sat, 18 Apr 2020 00:00:00 GMT</pubDate></item><item><title>Cài đặt self-signed SSL Cho Localhost Với Mkcert</title><link>https://ndd.io.vn/posts/2020/07/13/cai-dat-ssl-cho-localhost-voi-mkcert/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/07/13/cai-dat-ssl-cho-localhost-voi-mkcert/</guid><description>Mình vừa dùng mkcert để tạo SSL cho localhost, thấy dùng rất đơn giản nên giới thiệu với mọi người.</description><pubDate>Mon, 13 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Chặn quảng cáo trên Safari với Firefox Focus</title><link>https://ndd.io.vn/posts/2020/07/26/chan-quang-cao-tren-safari-voi-firefox-focus/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/07/26/chan-quang-cao-tren-safari-voi-firefox-focus/</guid><description>Hôm nay mình sẽ giới thiệu với mọi người cách để duyệt web trên Safari mà không bị quảng cáo làm phiền.</description><pubDate>Sun, 26 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Giới thiệu Down4me: hỗ trợ tăng tốc download file từ máy chủ nước ngoài</title><link>https://ndd.io.vn/posts/2020/07/26/gioi-thieu-down4me-ho-tro-tang-toc-download-file-tu-may-chu-nuoc-ngoai/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2020/07/26/gioi-thieu-down4me-ho-tro-tang-toc-download-file-tu-may-chu-nuoc-ngoai/</guid><description>Trong quá trình tìm hiểu thư viện/framework mới thì mình có build tool tên là Down4me https://down4me.nddapp.com/, tool này sẽ giúp tăng tốc độ download những file từ máy chủ nước ngoài (nước ngoài thôi nha, Việt Nam thì nó làm chậm đi đó :D)</description><pubDate>Sun, 26 Jul 2020 00:00:00 GMT</pubDate></item><item><title>[Google App Script] Gửi email khi Form submit</title><link>https://ndd.io.vn/posts/2021/02/16/google-app-script-gui-email-khi-form-submit/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/02/16/google-app-script-gui-email-khi-form-submit/</guid><description>Google App Script là công cụ của Google hỗ trợ mở rộng tính năng cho các công cụ khác của Google như: Sheet, Form, Docs,..</description><pubDate>Tue, 16 Feb 2021 00:00:00 GMT</pubDate></item><item><title>[Google App Script] Gửi HTML email, share Google Drive file</title><link>https://ndd.io.vn/posts/2021/02/18/google-app-script-gui-html-email-share-google-drive-file/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/02/18/google-app-script-gui-html-email-share-google-drive-file/</guid><description>Trong bài trước mình đã giới thiệu cách gửi email khi submit Google Form. Bài này mình sẽ giới thiệu cách gửi email với HTML template, cũng như thao tác với Google Drive File</description><pubDate>Thu, 18 Feb 2021 00:00:00 GMT</pubDate></item><item><title>Hướng dẫn làm site ảnh Gif xem mãi không hết – Phần 1: API và Giao diện</title><link>https://ndd.io.vn/posts/2021/03/06/huong-dan-lam-site-anh-gif-xem-mai-khong-het-phan-1-api-va-giao-dien/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/03/06/huong-dan-lam-site-anh-gif-xem-mai-khong-het-phan-1-api-va-giao-dien/</guid><description>Xin chào mọi người, hôm nay mình sẽ giới thiệu với mọi người cách mình làm site ảnh Gif NgaSap.ML</description><pubDate>Sat, 06 Mar 2021 00:00:00 GMT</pubDate></item><item><title>Custom domain cho Uptimerobot Status Page không cần PRO Plan</title><link>https://ndd.io.vn/posts/2021/05/06/custom-domain-cho-uptimerobot-status-page-khong-can-pro-plan/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/05/06/custom-domain-cho-uptimerobot-status-page-khong-can-pro-plan/</guid><description>Từ ngày 5/5/2021, Uptimerobot yêu cầu PRO Plan để có thể custom domain cho Status Page. Hôm nay mình sẽ “vượt mặt” Uptimerobot để có thể dùng custom domain cho Status Page mà không cần PRO Plan.</description><pubDate>Thu, 06 May 2021 00:00:00 GMT</pubDate></item><item><title>Lưu ý khi sử dụng Play App Signing – Google Play Store</title><link>https://ndd.io.vn/posts/2021/07/03/luu-y-khi-su-dung-play-app-signing-google-play-store/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/07/03/luu-y-khi-su-dung-play-app-signing-google-play-store/</guid><description>Gần đây mình có làm app android dùng Firebase, Facebook SDK, chạy test trên máy ảo, apk release trên máy thật ngon lành nhưng đến khi submit lên Play Store thì bản trên store lại bị lỗi. Cùng mình xem tại sao lại lỗi và khắc phục thế nào nhé.</description><pubDate>Sat, 03 Jul 2021 00:00:00 GMT</pubDate></item><item><title>Lần đầu submit app lên App Store</title><link>https://ndd.io.vn/posts/2021/07/05/lan-dau-submit-app-len-app-store/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2021/07/05/lan-dau-submit-app-len-app-store/</guid><description>Gần đây mình có làm app iOS và submit lên App Store, mình có note lại một số thứ trong quá trình review app của App Store</description><pubDate>Mon, 05 Jul 2021 00:00:00 GMT</pubDate></item><item><title>[YIL] 2022: Integer “outdated”?</title><link>https://ndd.io.vn/posts/2022/01/03/yil-2022-integer-outdated/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2022/01/03/yil-2022-integer-outdated/</guid><description>Có thể bạn đã biết, kiểu dữ liệu Integer có độ dài 32 bit và sẽ có giá trị từ -2,147,483,648 +2,147,483,647. Thoạt nhìn thì thấy độ lớn tới hàng tỉ có mà thoải mái dùng, nhưng nếu dùng vào trường hợp sau đây thì Integer sẽ là chưa đủ.</description><pubDate>Mon, 03 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Code trang Mediumz trong 5 phút với chưa đến 100 dòng code</title><link>https://ndd.io.vn/posts/2024/04/30/code-trang-mediumz-trong-5-phut-voi-chua-den-100-dong-code/</link><guid isPermaLink="true">https://ndd.io.vn/posts/2024/04/30/code-trang-mediumz-trong-5-phut-voi-chua-den-100-dong-code/</guid><description>Hiện tại trang medium.com khá là khó truy cập ở Việt Nam, mọi người muốn truy cập hầu như đều phải dùng đến VPN.</description><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate></item></channel></rss>