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
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log & Monitor
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Laravel

[Laravel] Các dòng code hữu ích trong laravel

Posted on May 1, 2022 By nim No Comments on [Laravel] Các dòng code hữu ích trong laravel
[Laravel] Các dòng code hữu ích trong laravel

View page. Hiển thị lại data trong các ô input khi reload page.

Laravel

[Laravel] Create file controller in Laravel.

Posted on January 11, 2022 By nim No Comments on [Laravel] Create file controller in Laravel.
[Laravel] Create file controller in Laravel.

Để tạo file controller trong laravel chúng ta có thể dùng câu lệnhbạn sẽ để ý sự khác biết của 2 command nhes Links tài liệu tham khảo:https://laravel.com/docs/8.x/controllers#resource-controllers

Laravel

[Laravel – Js] Laravel call/show JS flexibly

Posted on January 11, 2022April 6, 2022 By nim No Comments on [Laravel – Js] Laravel call/show JS flexibly
[Laravel – Js] Laravel call/show JS flexibly

Case study ở đây là: khi ở page list học sinh thì mới cần load các js liên quan đến datatablesCòn ở bảng chi tiết học sinh thì mình ko cần load js liên quan đến datatables trong PHP hay laravel làm ntn nhỉ? 1) Using if/else 2) yield – section ở cuối file layout…

Read More “[Laravel – Js] Laravel call/show JS flexibly” »

Jquery & JavaScript, Laravel

[SlackAPI/Laravel] Laravel call API Slack.

Posted on December 30, 2021 By nim No Comments on [SlackAPI/Laravel] Laravel call API Slack.
[SlackAPI/Laravel] Laravel call API Slack.

Nếu code laravel call vào api của slack thì có thể sài:jolicode/slack-php-api: https://jolicode.github.io/slack-php-api Hoặc call thằng vào api của slack.https://api.slack.com/methods/users.list#args

Laravel

[Laravel] Handle datetime easily with Carbon in Laravel.

Posted on December 9, 2021December 10, 2021 By nim No Comments on [Laravel] Handle datetime easily with Carbon in Laravel.
[Laravel]  Handle datetime easily with Carbon in Laravel.

Mình đã rất nhiều lần đau đầu việc tính toán ngày tháng trong laravel.Từ khi biết carbon thì đơn giản hơn nhiều. Bài post này của mình hơi ngáo là iframe trang web của bên Kia. Mục đích cuối cũng là note và tiện để mò lại. https://viblo.asia/p/xu-ly-datetime-de-dang-hon-voi-thu-vien-carbon-trong-laravel-6J3ZgOmWZmB 1 Trang kháchttps://www.itsolutionstuff.com/post/how-to-compare-two-dates-in-laravel-carbonexample.html

Laravel

[Popup/Ajax] Tạo popup(modal/bootstrap) insert data bằng ajax và php

Posted on August 11, 2021January 19, 2022 By nim No Comments on [Popup/Ajax] Tạo popup(modal/bootstrap) insert data bằng ajax và php
[Popup/Ajax] Tạo popup(modal/bootstrap) insert data bằng ajax và php

https://www.webslesson.info/2016/10/php-ajax-insert-data-in-mysql-by-using-bootstrap-modal.html video: Demo: http://demo.webslesson.info/insert-data-through-bootstrap-modal-by-using-ajax-php/ Nếu modal bị lưu data thì sài cách dưới How to reset the bootstrap modal when it gets closed and open it fresh again? Chỉnh to nhỏ popup thì: Popup to: Popup nhỏ:

Coding, Jquery & JavaScript, Laravel

[Laravel] Hướng dẫn taọ 1 array từ việc tổng hợp nhiều Array lấy từ DB hay API

Posted on July 19, 2021December 9, 2021 By nim No Comments on [Laravel] Hướng dẫn taọ 1 array từ việc tổng hợp nhiều Array lấy từ DB hay API
[Laravel] Hướng dẫn taọ 1 array từ việc tổng hợp nhiều Array lấy từ DB hay API

Ở ví dụ này sẽ khá hiểu: Đầu tiên bạn có table chứa thông tin Cha và đương nhiên 1 cha có nhiều conBạn thực hiện get dữ liệu của các Cha từ DB lên và mỗi cha sẽ có thông tin các con của họ. Ở đây mình ko dùng quan hệ 1 nhiều…

Read More “[Laravel] Hướng dẫn taọ 1 array từ việc tổng hợp nhiều Array lấy từ DB hay API” »

Coding, Laravel

Ví dụ về laravel http client response code

Posted on July 17, 2021 By nim No Comments on Ví dụ về laravel http client response code
Ví dụ về laravel http client response code

https://newbedev.com/python-laravel-http-client-response-code-example Ví dụ 1: laravel http request get response Ví Dụ 2: use guzzle http client laravel Ví dụ 3: laravel http client Ví dụ 4: laravel http client

Laravel

Vẽ chart cực đẹp bằng Morris JS và hướng dẫn fix lỗi morris không làm việc trên tab của bootstap

Posted on June 19, 2021August 10, 2021 By nim No Comments on Vẽ chart cực đẹp bằng Morris JS và hướng dẫn fix lỗi morris không làm việc trên tab của bootstap
Vẽ chart cực đẹp bằng Morris JS và hướng dẫn fix lỗi morris không làm việc trên tab của bootstap

Hướng dẫn fix lỗi ko morris Js hiển thị trên tab của bootstrap. https://stackoverflow.com/questions/40517038/morris-js-chart-not-working-inside-of-a-bootstrap-tab

Jquery & JavaScript, Laravel

[PHP] Hướng dẫn kiểm tra array rỗng hay null không?

Posted on June 18, 2021December 13, 2021 By nim No Comments on [PHP] Hướng dẫn kiểm tra array rỗng hay null không?
[PHP] Hướng dẫn kiểm tra array rỗng hay null không?

1) Recheck array is empty or null Link: https://www.geeksforgeeks.org/how-to-check-whether-an-array-is-empty-using-php/ Cách 1: Cách 2 Cách 3: 2) Removing key that has a null value in an array Tiếp theo là phần khác (update Mon 13 Dec 2021) Xoá key và value nếu value bằng null https://stackoverflow.com/questions/4352203/any-php-function-that-will-strip-properties-of-an-object-that-are-null Mình thấy kiểu trên khá hay

Laravel

Posts navigation

1 2 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

  • Experiences for IP Addresses Shortage on EKS Clusters March 29, 2023
  • [Talisman] Discover the sensitive information in your code. March 28, 2023
  • [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu. March 27, 2023
  • [Kong Gateway] WebSocket connection failed March 26, 2023
  • [Nextcloud] Can’t download files to have a size bigger than 2Gi on NextCloud – RaspBerry March 24, 2023

Archives

  • 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
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.