Diary's Blog


  • Home

  • DGN

  • Archives

  • Works

  • Profile

  • Search

24岁小结

Posted on 2018-09-24 | In 生日 | | Visitors:
24岁,这一年经历了几个对我而言很重要的事件,也度过了一段比较难受的日子。 没有明白什么新的道理,不再像年少时那样进步飞速,一年有一年新的样子,更多时候是在实践中反复摸索。 已经不再习惯在生日时写一些长篇壮志。只是这一年,使我更加确定的是,人生无常,一定要明白自己生命中真正最想要的是什么,假如下一秒 ...
Read more »

git日志别名配置命令行git lg

Posted on 2018-07-24 | In 工具 | | Visitors:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an&g ...
Read more »

Vue.js 表格组件

Posted on 2018-03-24 | In 前端 | | Visitors:
HTML: <div id="target"></div>   JS: //Vue组件开始var Grid = Vue.extend({ template: '<table class="table" :class="{layoutFixed ...
Read more »

怎么使用正则表达式完美匹配HTML标签?

Posted on 2018-03-24 | In 前端 | | Visitors:
转自腾讯前端博客:http://imweb.io/topic/56e804e... 匹配HTML标签嘛,感觉很简单的样子,我们的第一反应可能是:var pattern = /<[^>]+>/ 不过这样匹配可能存在的问题是:如果tag中含有>,上面的正则就不能正常匹配了。如: ...
Read more »

React Starter Kit 学习笔记

Posted on 2018-03-24 | In 前端 | | Visitors:
根据http://reactjs.cn/react/docs/...页面中Starter Kit 15.3.1中的例子汇总修改而成。 HTML代码 <!DOCTYPE html><html lang="en"><head> <meta charset ...
Read more »

JavaScript闭包原理分析

Posted on 2018-03-23 | In 前端 | | Visitors:
写了几个小例子揭示JS中闭包的本质,适合自己运行后分析。 HTML文件   <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Test< ...
Read more »

数据结构与算法(C++)代码练习(PTA题目)

Posted on 2018-03-10 | In 算法 | | Visitors:
所有代码均由Microsoft Visual Studio 2015编译通过       在线算法输出N个整数的最大子列和  #include<iostream>#include<iomanip>using namespace std;int maxSubSum(int a[ ...
Read more »

数据结构与算法(C++)代码练习(基础)

Posted on 2018-03-10 | In 算法 | | Visitors:
所有代码均由Microsoft Visual Studio 2015编译通过       递推法求sinx  #include<iostream>#include<math.h>using namespace std;float sinx(float x);void main ...
Read more »

数据结构与算法(C++)代码练习(查找)

Posted on 2018-03-10 | In 算法 | | Visitors:
所有代码均由Microsoft Visual Studio 2015编译通过       20个随机数的数组中的顺序查找  #include<iostream>#include<iomanip>#include<stdlib.h>#include<time. ...
Read more »

数据结构与算法(C++)代码练习(树)

Posted on 2018-03-10 | In 算法 | | Visitors:
所有代码均由Microsoft Visual Studio 2015编译通过       递归法实现二叉树的三种遍历 #include<iostream>#include<iomanip>using namespace std;class treeNode{publ ...
Read more »
1…456…9
Diary

Diary

WHAT A NICE DAY

87 posts
8 categories
GitHub E-Mail LOFTER bilibili zhihu
© 2017 — 2024 Diary
Powered by Hexo
|
Theme — NexT.Mist v5.1.4