Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
      • Pod
    • Helm Chart
    • OAuth2 Proxy
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Argo Events
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
      • Azure Cloud
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Laravel

[Rancher/API] Edit k8s resources using the Rancher API.

Posted on December 3, 2024December 3, 2024 By nim No Comments on [Rancher/API] Edit k8s resources using the Rancher API.
[Rancher/API] Edit k8s resources using the Rancher API.

Rancher UI sẽ là 1 công cụ đắc lực để giúp anh em có thể quản lý K8s clusters một cách dễ dàng.Bạn có cũng có thể hướng dẫn nhiều anh em dev sử dụng Rancher. Bên cạnh đó bạn cũng có thể tạo Platform dành riêng cho devOps thông quá các APIs của Rancher….

Read More “[Rancher/API] Edit k8s resources using the Rancher API.” »

Kubernetes, Laravel

[laravel/Rancher] There are issues when retrieving Kubernetes data from Rancher by Laravel.

Posted on November 21, 2024November 22, 2024 By nim No Comments on [laravel/Rancher] There are issues when retrieving Kubernetes data from Rancher by Laravel.
[laravel/Rancher] There are issues when retrieving Kubernetes data from Rancher by Laravel.

Khi thực hiện change configuration của k8s thông qua API của rancher.Có thể bạn sẽ gặp lối bên dưới: Lý do là với các trường rỗng laravel sẽ get lên là dấu ngoặc vuông [] mà đúng ra chỗ đó phải là ngoặc nhọn {} Vậy ở đây chúng ta cần migrate từ ngoặc vuông…

Read More “[laravel/Rancher] There are issues when retrieving Kubernetes data from Rancher by Laravel.” »

Laravel

[Laravel] How to implement the schedule in Docker Laravel.

Posted on November 20, 2024December 20, 2024 By nim No Comments on [Laravel] How to implement the schedule in Docker Laravel.
[Laravel] How to implement the schedule in Docker Laravel.

Với Laravel bạn muốn khởi tạo 1 crontab hay schedule để sau 1 khoảng thời gian và đều dặn nó sẽ đi kiểm tra database hay làm việc gì đó thì bạn sẽ làm như thế nào Vậy chúng ta cùng nghiên cứu schedule trong laravel. 1) Create a command via “php artisan” ở đây…

Read More “[Laravel] How to implement the schedule in Docker Laravel.” »

Laravel

[sweetalert2] Utilize SweetAlert2 to add an additional popup to your website.

Posted on November 15, 2024November 18, 2024 By nim No Comments on [sweetalert2] Utilize SweetAlert2 to add an additional popup to your website.
[sweetalert2] Utilize SweetAlert2 to add an additional popup to your website.

Đầu tiên mình có 1 table như sau: Mình mong muốn là khi ấn vào edit nó hiện 1 popup để người dùng chỉnh min của hệ thống. document.addEventListener(“DOMContentLoaded”, () => { … }); This means: “Wait until the web page has fully loaded (HTML is ready to work with) before running this code.”This ensures…

Read More “[sweetalert2] Utilize SweetAlert2 to add an additional popup to your website.” »

Laravel

[Laravel] Integrating a Model with a database in Laravel.

Posted on November 1, 2024November 19, 2024 By nim No Comments on [Laravel] Integrating a Model with a database in Laravel.
[Laravel] Integrating a Model with a database in Laravel.

Trong bài này thì mình tìm hiểu các sử dụng model trong laravel để thực hiện select hoặc insert trong Laravel bằng model. 1) Set up the connection with a database. 1.1) SQLite. Cập nhật trong .envDB_CONNECTION=sqlite Tiếp đến bạn kiểm tra: config/database.php The database_path(‘database.sqlite’) function in Laravel is a helper that returns the full…

Read More “[Laravel] Integrating a Model with a database in Laravel.” »

Laravel

[Laravel] Create helper functions and call them as needed.

Posted on October 28, 2024October 28, 2024 By nim No Comments on [Laravel] Create helper functions and call them as needed.
[Laravel] Create helper functions and call them as needed.

Ý tưởng là chúng ta sẽ tạo được 1 function public và gọi chúng ở bất cứ đâu trong code Controller hoặc Model,… Chắc chắn chúng ta sẽ cần tạo Helper Functions. trong Folder app chúng ta tạo 1 Folder khác là Helper và sau đó chúng ta tạo file: yaml.php (bạn có thể tạo…

Read More “[Laravel] Create helper functions and call them as needed.” »

Laravel

[Laravel] Laravel code is helpful

Posted on October 22, 2024December 30, 2024 By nim No Comments on [Laravel] Laravel code is helpful
[Laravel] Laravel code is helpful

If one line on Laravel In Laravel (or any PHP-based framework), you can use one-line conditional statements within your Blade templates (HTML files) using Blade’s built-in syntax. For a one-liner if statement in HTML, Blade provides the @if directive, or you can use a shorthand {{ condition ? ‘true case’ : ‘false case’ }} syntax….

Read More “[Laravel] Laravel code is helpful” »

Laravel

[Laravel] Debug an object in Laravel

Posted on October 1, 2024October 1, 2024 By nim No Comments on [Laravel] Debug an object in Laravel
[Laravel] Debug an object in Laravel

If $osData is an object in a Blade template and you want to debug it in the browser, you have a few options: 1. Use dd() (Dump and Die) The dd() function will output the content of a variable and stop the script execution immediately, making it useful for debugging purposes. This will dump the…

Read More “[Laravel] Debug an object in Laravel” »

Laravel

[Docker] Docker Laravel on Alpine.

Posted on July 12, 2024September 10, 2024 By nim No Comments on [Docker] Docker Laravel on Alpine.
[Docker] Docker Laravel on Alpine.

Docker – Laravel – Ubuntu – Apache. Mình có một cái demo: https://github.com/mrnim94/thiep-cuoi Nhưng mà với image này thì mình gặp khá nhiều Vulnerbility. thì mình đã có thử tìm hiểu Run Docker Laravel trên Apline. Docker – Laravel – Nginx https://github.com/khromov/alpine-nginx-php8/blob/master/Dockerfile Giờ chúng ta cần bắt trước để upgrade php 8.3 đầu tiên bạn…

Read More “[Docker] Docker Laravel on Alpine.” »

Laravel

[Laravel] Splitting Layouts in Laravel: Utilizing Blade’s @extends, @yield, and @section Directives

Posted on May 30, 2024May 30, 2024 By nim No Comments on [Laravel] Splitting Layouts in Laravel: Utilizing Blade’s @extends, @yield, and @section Directives
[Laravel] Splitting Layouts in Laravel: Utilizing Blade’s @extends, @yield, and @section Directives

Thường khi bắt đầu cho 1 project frontend chúng chia layout ra1 và 2 là những phần cố định và 3 là phần thường xuyên nay đổi nội dung. mình cắt phần này ra và xác định phần HTML cần cắt Folder structure: Layout File (resources/views/layout.blade.php): Child View (resources/views/encrypted-file/home.blade.php): Đại loại là khi bạn call…

Read More “[Laravel] Splitting Layouts in Laravel: Utilizing Blade’s @extends, @yield, and @section Directives” »

Laravel

Posts pagination

1 2 3 Next
Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Laravel] Laravel Helpful June 26, 2025
  • [VScode] Hướng dẫn điều chỉnh font cho terminal June 20, 2025
  • [WordPress] Hướng dấn gửi mail trên WordPress thông qua gmail. June 15, 2025
  • [Bitbucket] Git Clone/Pull/Push with Bitbucket through API Token. June 12, 2025
  • [Teamcity] How to transfer the value from pipeline A to pipeline B June 9, 2025

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • Argo Events
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • NextJS 14 & ReactJS & Type Script
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • Azure Cloud
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2025 NimTechnology.