Charles


  • Home

  • About

  • Tags

  • Categories

  • Archives

Bidirectional BFS

Posted on 2021-04-15 | In Algorithm |
Words count in article: 1.1k words | Reading time ≈ 6 minutes
Bidirectional BFS is applicable to the case where the target node is known; the initial node expands toward the target node and the target node expand ...
Read more »

Automatically generate gitignore

Posted on 2021-04-15 | In git |
Words count in article: 153 words | Reading time ≈ 1 minutes
We use Git a lot when working on projects, but not all of the files we need to put into github, such as datasets, virtual environments, and configurat ...
Read more »

Mail activation

Posted on 2020-07-04 |
Words count in article: 606 words | Reading time ≈ 2 minutes
本文会教大家怎么做邮箱验证,以及怎么发送好看一点的邮箱的HTML模板。很久没写过有用的教程,本来今天我应该在干经济,实在写不下去了,我跑来写这些了。(⊙︿⊙)关于怎么使用flask发送邮件,我在之前的教程有说的。传送门 技术: flask html css HTML Template首先我们需要 ...
Read more »

database

Posted on 2020-07-03 |
Words count in article: 2.7k words | Reading time ≈ 9 minutes
包含一些database常见的问题,MySQL的索引,怎么使用索引等等。 数据库的三大范式第一范式:每个列都不能再拆分 第二范式:在第一范式的基础上,非主键列完全依赖于主键,而不能是依赖于主键的一部分 第三范式:在第二范式的基础上,非主键列只依赖于主键,不依赖于其他非主键。 引擎MySQL里面储存引 ...
Read more »

Distributed Things

Posted on 2020-06-26 |
Words count in article: 803 words | Reading time ≈ 3 minutes
Distributed session怎么使用flask来做分布式session,以及为什么要使用分布式的session。 因为cookie不太适合存一些敏感信息,所以一般敏感的信息会存到session里。但是大部分时候都是cookie和session结合使用。session是存在服务器里面的相对安 ...
Read more »

cpp learning note

Posted on 2020-06-01 |
Words count in article: 6.8k words | Reading time ≈ 32 minutes
COMP6771 lecture note. COMP6771学习笔记 cpp12345678#include <iostream>using namespace std;int main() { cout << "Hello world" << ...
Read more »

leetcode

Posted on 2020-05-26 | In leetcode |
Words count in article: 20.1k words | Reading time ≈ 106 minutes
前言刷题更让我们对一门语言有更加深入的理解,也可以增进对数据结构的理解,百里无一害。 Two SumTwo Sum Given an array of integers, return indices of the two numbers such that they add up to a spe ...
Read more »

Network

Posted on 2020-05-12 | In network |
Words count in article: 6.3k words | Reading time ≈ 22 minutes
OSI 七层模型 物理层 主要作用就是传输比特流(1,0转化成电流强弱来进行传输),通过电缆,光缆等传输。 数据链路层 定义了如何让格式化数据以进行传输。而且还会提供错误检测和纠正,以确保数据的可靠传输。(如需要改正错误,由运输层的TCP完成) 网络层 使用无连接的网际协议IP和许多种路由选 ...
Read more »

Algorithm

Posted on 2020-05-03 | In Algorithm |
Words count in article: 4.3k words | Reading time ≈ 21 minutes
DFS & BFSDFS:Depth First Search,深度优先搜索算法,是一种以stack实现的算法。 BFS:Breath First Search,广度优先搜索算法,是一种以queue实现的算法。 stack和queue的区别:stack是先进后出,queue是先进先出。 假设 ...
Read more »

COMP9321 lecture note

Posted on 2020-02-23 |
Words count in article: 7.5k words | Reading time ≈ 38 minutes
Week 1What is in a data model Problem with relational modelsThe Object-Relational Mismatch (Impedance Mismatch) Refers to the problem of a mismatch b ...
Read more »
1234

Charles

37 posts
17 categories
28 tags
RSS
GitHub E-Mail FB Page
Creative Commons
友情链接
  • Baidu
  • hexo
  • theme-next
  • MyWeb
© 2019 — 2024 Charles
Number of visitors to this site times Total number of visitors to this site times

Hosted by Coding Pages