Skip to content

Instantly share code, notes, and snippets.

@misostack
misostack / 100-days-nestjs.md
Last active July 30, 2023 13:00
100 Days NestJS

100 Days NestJS

MVC: Database Connection, Model, View, Controller

1. Database Connection

Tools:

  • TypeORM

1.1. MYSQL

@misostack
misostack / 100-days-reactjs.md
Last active October 8, 2022 16:28
100 days ReactJS

100 Days ReactJS

Component

Lifecycle

image

Hooks

@misostack
misostack / angular-developer-interview.md
Last active March 11, 2022 04:08
Angular Developer Interview

Angular Developer Interview

Overview questions

  1. Can you introduce about your self and the lastest projects
  2. What is the hardest part of your last project, and how do you solve it?
  3. What is the most important thing when you init the codebase for your project?

HTML

@misostack
misostack / nextjs-cheatsheet.md
Last active December 3, 2025 01:46
NextJS Cheatsheet
@misostack
misostack / nestjs-tutorial-2023
Last active November 23, 2023 11:25
NestJS Tutorial 2023
# NestJS Tutorial 2023 Content
@misostack
misostack / wordpress-developer-interview.md
Last active September 16, 2023 16:21
Wordpress Developer Interview

Wordpress Developer Interview

Overview questions

  1. Can you introduce about your self and the lastest projects
  2. What is the hardest part of your last project, and how do you solve it?
  3. What is the most important thing when you init the codebase for your project?

PHP & MYSQL

@misostack
misostack / vuejs-developer-interview.md
Last active June 9, 2022 07:31
VueJS Developer Interview

VueJS Developer Interview

Overview questions

  1. Can you introduce about your self and the lastest projects
  2. What is the hardest part of your last project, and how do you solve it?
  3. What is the most important thing when you init the codebase for your project?

HTML

@misostack
misostack / ham-bo-dau-tieng-viet-javascript.md
Last active February 6, 2022 09:08
Hàm bỏ dấu tiếng Việt trong Javascript / NodeJS
export const StringHelpers = {
  replaceVietNameseCharacter: (str: string) => {
    let newStr = str;
    const characterSet = {
      a: "á|à|ả|ã|ạ|ă|ắ|ặ|ằ|ẳ|ẵ|â|ấ|ầ|ẩ|ẫ|ậ",
      d: "đ",
      e: "é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ",
      i: "í|ì|ỉ|ĩ|ị",
 o: "ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ",
@misostack
misostack / convert-utc-time.md
Last active January 28, 2022 10:40
Convert UTC Time to Local Time and Convert Local Time to UTC Time with momentjs

Convert UTC Time to Local Time and Convert Local Time to UTC Time with momentjs

#!/usr/bin node

const moment = require("moment-timezone");

console.error("Local Time: ", moment().format("YYYY-MM-DD HH:mm:ss.SS"));
console.error("UTC Time: ", moment().utc().format("YYYY-MM-DD HH:mm:ss.SS"));
@misostack
misostack / typeorm-cheatsheet.md
Created January 27, 2022 05:29
TypeORM Cheatsheet

TypeORM Cheatsheet