Custom Routes Custom Routes Template routes allow you to map individual URLs to specific template files within a Ghost theme. For example: make /custo ...
分类:
其他好文 时间:
2019-12-23 00:44:43
阅读次数:
110
import configparser config = configparser.ConfigParser() # config = {} config["DEFAULT"] = {'ServerAliveInterval': '45', 'Compression': 'yes', 'Compre ...
分类:
其他好文 时间:
2019-12-22 16:43:09
阅读次数:
108
默认配置当你访问http://abc.example.com/dir 时不会加”/”常见做法 if (-d $request_filename){ rewrite ^/(.*)([^/])$ http://$host/$1$2/ permanent; } 更佳的替代方法optimize_server ...
分类:
其他好文 时间:
2019-12-22 14:42:49
阅读次数:
86
模型(model):计算机层面的认知 学习算法(learning algorithm),从数据中产生模型的方法 数据集(data set):一组记录的合集 示例(instance):对于某个对象的描述 样本(sample):也叫示例 属性(attribute):对象的某方面表现或特征 特征(feat ...
分类:
其他好文 时间:
2019-12-22 14:28:59
阅读次数:
64
Description Find the number Weak Connected Component in the directed graph. Each node in the graph contains a label and a list of its neighbors. (a we ...
分类:
其他好文 时间:
2019-12-22 00:56:39
阅读次数:
123
Description Build tries from a list of <word, freq> pairs. Save top 10 for each node. Example Example1 Input: <"abc", 2> <"ac", 4> <"ab", 9> Output:<a ...
分类:
其他好文 时间:
2019-12-22 00:34:12
阅读次数:
73
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example Exam ...
分类:
其他好文 时间:
2019-12-21 22:34:38
阅读次数:
87
Description Description Given an array of integers, find a contiguous subarray which has the largest sum. The subarray should contain at least one num ...
分类:
其他好文 时间:
2019-12-21 22:17:06
阅读次数:
99
Problem Description Problems that require minimum paths through some domain appear in many different areas of computer science. For example, one of th ...
分类:
其他好文 时间:
2019-12-21 20:35:46
阅读次数:
66
git clone (address) git config --global user.name"You Name" git config --global user.email "email@example.com" 创建版本库 mkdir learngit cd learnait pwd 把目 ...
分类:
其他好文 时间:
2019-12-21 20:29:47
阅读次数:
73