使用crate-react-app创建的项目配置alias,这样之后在项目中直接可以使用别名来访问某个文件目录,从而快速引用某个文件,如使用这个命令创建的项目中,我们这 src/ 目录下创建一个 components/ 文件夹,如果想在项目中快速引用 components/Tab/index.tsx ...
分类:
移动开发 时间:
2021-01-06 12:02:03
阅读次数:
0
1、简述 Nginx作为一款优秀的web服务器,其默认不允许列出站点的整个目录,如果需要配置,需要单独打开此功能 此功能一般用于单独开设虚拟主机供内网如下载文件等功能使用,其他情况下为了安全,一般不会开启此功能 2、配置目录浏览 server { listen 80; index index.htm ...
分类:
其他好文 时间:
2021-01-06 12:00:59
阅读次数:
0
Codefroces 1328E Tree Querie 题目 给出一棵1为根,n个节点的树,每次询问$k_i$ 个节点,问是否存在这样一条路径: 从根出发,且每个节点在这条路径上或者距离路径的距离为1 题解 由于是从根出发的路径,所以 距离这条路径的距离为1=这个点的父亲在路径上 本身就在根出发的 ...
分类:
其他好文 时间:
2021-01-06 11:40:31
阅读次数:
0
Find a Corresponding Node of a Binary Tree in a Clone of That Tree (M) 题目 Given two binary trees original and cloned and given a reference to a node t ...
分类:
其他好文 时间:
2021-01-06 11:39:40
阅读次数:
0
#include<iostream> #include<vector> using namespace std; vector<char>post,in; vector<char>level(100000,-1); in N; void ergodic(int root,int start,int ...
分类:
编程语言 时间:
2021-01-05 11:40:19
阅读次数:
0
来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal 根据一棵树的中序遍历与后序遍历构造二叉树。 注意:你可以假设树中没有重复的元素。 ...
分类:
其他好文 时间:
2021-01-05 11:32:09
阅读次数:
0
144. 二叉树的前序遍历 地址:https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ //给你二叉树的根节点 root ,返回它节点值的 前序 遍历。 // // // // 示例 1: // // //输入:root = ...
分类:
其他好文 时间:
2021-01-05 11:30:49
阅读次数:
0
题目描述 1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode() : val(0), ...
分类:
其他好文 时间:
2021-01-05 11:28:10
阅读次数:
0
Android逆向分析Hello World,使用 改之理,通过简单学习 smail 和 改之理的基本使用,可以完成逆向实战的Hello World。本次逆向的项目无壳无.SO,分析起来较为容易,适合入门。下面我们来讲述如何实现。 首先我们需要准备一个 Apk文件,此Apk需要是未加壳的。 此Apk ...
分类:
移动开发 时间:
2021-01-05 10:55:36
阅读次数:
0
在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } ...
分类:
其他好文 时间:
2021-01-04 11:32:56
阅读次数:
0