Python类总结

Posted on Sun 21 October 2018 in programming • Tagged with programing

类是方法和数据的集合,每个类有多个类实例,类实例有各自的属性保持各自的状态,类实例有类方法来修改类状态。


Continue reading

pelican blog搭建

Posted on Sat 20 October 2018 in programming • Tagged with programing

pelican配置教程step by step.


Continue reading

Markdown语法介绍

Posted on Sun 14 October 2018 in programming • Tagged with tool

这篇文章介绍Markdown的语法,包括标题、引用、列表、代码、强调、链接、表格、分割线、图片


Continue reading

二分搜索的各种写法

Posted on Sun 14 October 2018 in programming • Tagged with algorithm

对于已排序的数组x[0..n-1],想查找数t,若t在x中则返回其下标(如有多个重复,返回其中之一),若t不在x中则返回-1。


Continue reading

Git命令整理

Posted on Sun 14 October 2018 in programming • Tagged with tool

首先需要明确三个概念,Git中的文件有三种状态: 已提交(commited), 已修改(modified)和已暂存(staged), 这里前两个概念比较好理解,已提交表示数据已保存(执行git commit指令后),已修改表示修改了文件但还没有保存数据,而已暂存表示已经对当前经过修改的文件做了标记(执行git add filename指令后)


Continue reading

利用VS Code Snippets生成C++头文件保护符

Posted on Sun 07 October 2018 in programming • Tagged with tool

怎么利用VS Code Snippets生成C++头文件保护符


Continue reading

C++ STL常用数据结构整理

Posted on Sun 07 October 2018 in programming • Tagged with programing

vector, stack, queue, list, forward_list, deque, priority_queue, set…


Continue reading