06 2023 档案
摘要:例子 function getStaffList() { return axios.get('/api/staff'); } function deptListGet() { return axios.get('/api/dept'); } axios.all([getStaffList(), de
阅读全文
摘要:https://www.bigocheatsheet.com/ https://www.hello-algo.com/chapter_preface/about_the_book/ gpt的回答 好的,下面给出这些算法的JavaScript例子,并给出它们的时间复杂度分析: O(1) - 常数时间复
阅读全文
摘要://节点对象 class Node{ constructor(data){ this.data=data;//存储节点数据 this.next=null;//存储下一个节点的引用,默认为null } } //链表对象 class LinkedList{ constructor(){ this.hea
阅读全文
摘要:https://gitee.com/ChinaGoogles/pinia_taske 上面链接案例 效果图
阅读全文
摘要:参考项目地址:https://github.com/Sam-Meech-Ward/my_ejs_notes server.js const express = require('express') const path = require('path') const app = express()
阅读全文
摘要:视频链接:https://www.youtube.com/watch?v=Hej48pi_lOc 数据库建模用的是Sequelize 创建表 CREATE DATABASE notes_app;USE notes_app; CREATE TABLE notes (id integer PRIMARY
阅读全文
摘要:https://codevoweb.com/solve-to-load-an-es-module-set-type-module-in-the-package-json-or-use-the-mjs-extension/ 解决 – 要加载 ES 模块,请在 package.json 中设置 “typ
阅读全文
摘要:原文 https://www.mysqltutorial.org/mysql-nodejs/connect/ let mysql =require('mysql') let connection = mysql.createConnection({ host:'119.91.31.144', use
阅读全文
摘要:只用来参考的 app.js const express = require('express'); const morgan = require('morgan'); const tourRouter = require('./routes/tourRoutes'); const userRoute
阅读全文
摘要:参考视频:https://www.bilibili.com/video/BV16Y411Q7Vn/?spm_id_from=333.999.0.0&vd_source=f47173c6ece362dfbe9a439ae6addcce 1. 选用Linux系统2.node 测试的包有express k
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/flask-app-deploy-using-gunicorn-nginx/ How to deploy flask app on Ubuntu VPS using Nginx and gunicorn In thi
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/deploy-nodejs-app-on-ubuntu/ How to deploy a Node.js application in production In this post, we will see how
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/install-ubuntu-desktop-vps/ How to install Ubuntu Desktop with Full GUI on an Ubuntu VPS This post will expl
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/django-deploy-nginx-gunicorn/ How to host Django Application using gunicorn & nginx in Production In this po
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/install-phpmyadmin-ubuntu-nginx/ How to install PhpMyAdmin on Ubuntu running Nginx (LEMP stack) In this post
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/lemp-stack-on-ubuntu-20/ How to install LEMP stack (Linux, Nginx, MySQL, PHP) on Ubuntu 20.04 In this tutori
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/get-https-ubuntu-using-lets-encrypt/ How to get free https on your site using Let's Encrypt SSL on Ubuntu 20
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/install-phpmyadmin-ubuntu/ Installing phpMyAdmin and adding password authentication to MySQL on Ubuntu In th
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/host-multiple-websites-ubuntu-vps/ How to Host Multiple Websites on Ubuntu VPS? An apache2 web server provid
阅读全文
摘要:地址:https://www.codewithharry.com/blogpost/lamp-stack-ubuntu-20-04/ Installing LAMP stack on Ubuntu 20.04 in 5 Minutes This post will explain how to in
阅读全文
摘要:import axios from 'axios' import router from '@/routers/router' const request = axios.create({ baseURL:'/api', timeout:600000, headers:{'Content-Type'
阅读全文
摘要:import { defineConfig } from 'vite' //Install node types before calling below import import {fileURLToPath} from "url"; import path from 'path'; impor
阅读全文
摘要:1.Ubuntu上配置非root用户和防火墙 2.在Ubuntu VPS上上传文件和无密码登录 3_在Ubuntu上安装Linux、Apache、MySQL、PHP(LAMP)堆栈20.04 4_如何在一台服务器上托管多个网站 5_如何在Ubuntu上安装phpMyAdmin 6_如何在2分钟内在您
阅读全文
摘要:原文:https://www.codewithharry.com/blogpost/transferring-files-passwordless-login-ubuntu-20-04/ Transferring Files, Passwordless login & Managing multip
阅读全文
摘要:原文:https://www.codewithharry.com/blogpost/setup-ubuntu-20-04-server/ Setting Up an Ubuntu 20.04 server for deployment When you first create a server f
阅读全文
摘要:typescript+vue3 function flattenTree(tree:any, result:any) { tree.forEach((node:any) => { result.push({ id: node.id, cat_name: node.cat_name, cat_name
阅读全文
摘要:教程视频地址 https://www.youtube.com/watch?v=hYaCCpvjsEY 1. 下载Oracle VM virtualBox https://www.virtualbox.org/wiki/Downloads 2.下载Linux,我用的是ubuntu版本22.01.2 h
阅读全文
摘要:1. 选用Linux系统2.node 测试的包有express knex3. Linux 安装 nodejs 环境 https://github.com/nodesource/distributions4. Linux 系统权限(sudo) npm 安装 pm25. 用 pm2 启动后端服务 示例:
阅读全文
摘要:https://www.programiz.com/javascript/online-compiler/?ref=f8e51c16 使用递归 例子:数的阶乘 // program to find the factorial of a number function factorial(x) { /
阅读全文