Skip to content

Tuong NOte!

note...............................................................................note

Tuong NOte!

note...............................................................................note

  • Home
  • Javascript
    • Node js
    • React Js
  • Linux
  • Mongo
  • docker
  • Bootstrap
  • Design Pattern
  • Git
    • Home
    • 2022
Linux

How to enable SSH password authentication

tuongazby Dec 28, 2022 0 Comments

Chỉnh sửa file bằng quyền sudo sudo nano /etc/ssh/sshd_config Tìm đến dòng PasswordAuthentication no Và đổi nó thành PasswordAuthentication yes Lưu file này lại Sau đó tiến hành khởi động…

Git Linux

Cập nhật Git lên 2.x trên Centos 7

tuongazby Dec 27, 2022 0 Comments

Kiểm tra phiên bản Git git --version //git version 1.8.3.1 Xóa phien bản Git hiện tại sudo yum -y remove git sudo yum -y remove git-* Thêm End Point CentOS…

React Js

#3: Props và State

tuongazby Dec 13, 2022 0 Comments

Props Props là cách để truyền dữ liệu từ component cha xuống component con và component con chỉ được đọc và không thể thay đổi. Ví dụ: class Welcom extends…

React Js

#2: React Component

tuongazby Dec 13, 2022 0 Comments

Component: độc lập và tái sử dụng. Có 2 kiểu: Functional component và Class component Functional component Functional component là function Javascript trả về 1 React element, có thể nhận…

Linux

Lệnh linux cơ bản

tuongazby Dec 12, 2022 0 Comments

Đổi mật khẩu sudo passwd root Xem thông tin cpu lscpu Di chuyển thư mục mv folder_name folder_dir Tải file từ server qua ssh scp your_username@host:foobar.txt /local/dir Zip folder sudo…

React Js

#1: Create React App

tuongazby Dec 11, 2022 0 Comments

npx create-react-app my-app cd my-app npm start

docker Node js

Docker Compose: Chạy dự án NodeJS

tuongazby Nov 25, 2022 0 Comments

Tạo file docker-compose.yml #phiên bản cấu hình của docker compose version: "3.8" # dịch vụ services: # tên dịch vụ app: #image sử dụng image: node-app:v1 #map port bên ngoài…

docker Node js

Docker Image: Build Image NodeJS

tuongazby Nov 25, 2022 0 Comments

Tạo file Dockerfile #FROM là môi trường để build image FROM node:alpine #WORKDIR là lệnh để tạo thư mục chứa project bên trong image WORKDIR /app #thêm biến môi trường…

Javascript

Loại bỏ dấu tiếng Việt trong chuỗi string JS

tuongazby Nov 23, 2022 0 Comments

Cách 1: Chay function removeAccents(str) { var AccentsMap = ; for (var i=0; i<AccentsMap.length; i++) { var re = new RegExp('.substr(1) + ']', 'g'); var char = AccentsMap; str =…

Linux Node js

How to create folder if it doesn’t exist use NodeJS

tuongazby Nov 23, 2022 0 Comments

Đối với 1 thư mục riêng lẻ: var fs = require('fs'); var dir = './tmp'; if (!fs.existsSync(dir)){ fs.mkdirSync(dir); } Đối với 1 cây thư mục: var fs = require('fs'); var…

Posts pagination

1 2 3

Next Page »

Recent Posts

  • Svelte #7: Stores
  • Svelte #6: Lifecycle
  • Svelte #5: Bindings
  • Svelte #4: DOM Event
  • Svelte #3: Sử dụng logic

Recent Comments

  1. tr on Protected: Note Pro
  2. A WordPress Commenter on Hello world!

Tuong NOte!

note…………………………………………………………………….note

Copyright © All rights reserved | Blogus by Themeansar.