摘要 最近在读GOF的Design Patterns: Elements of Reusable Object-Oriented Software(设计模式:可复用面向对象软件的基础),学习前辈们的经验来增加自己的编码设计能力。在学习的过程中,会把我从书上学到的知识以及自己的理解写到这里。一方面能够... ...
分类:
其他好文 时间:
2018-10-23 00:07:12
阅读次数:
221
列表分为无序列表和有序列表 无序列表: 无序列表是一个项目的列表,此列项目使用粗体圆点(典型的小黑圆圈)进行标记。 无序列表始于 <ul> 标签。每个列表项始于 <li>。 网页显示为:●Coffee ●Milk 有序列表: 同样,有序列表也是一列项目,列表项目使用数字进行标记。 有序列表始于 <o ...
分类:
其他好文 时间:
2018-10-16 17:39:08
阅读次数:
150
People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzi ...
分类:
其他好文 时间:
2018-10-14 11:41:38
阅读次数:
315
Entity Framework Core allows you to use the navigation properties in your model to load related entities. There are three common O/RM patterns used to ...
分类:
其他好文 时间:
2018-10-12 01:31:01
阅读次数:
271
微软SaaS多租户解决方案 docs.microsoft.com/en us/azure/sql database/saas tenancy app design patterns https://docs.microsoft.com/en us/azure/sql database/saas te ...
分类:
其他好文 时间:
2018-09-30 10:11:58
阅读次数:
224
Django的url使用方法 利用Django开发站点。能够设计出很优美的url规则,假设url的匹配规则(包括正則表達式)组织得比較好,view的结构就会比較清晰。比較easy维护。 最简单的形式 from django.conf.urls import patterns, url urlpatt... ...
分类:
Web程序 时间:
2018-09-27 01:57:58
阅读次数:
231
题目大意:给出n个数的序列和m,求数列中出现至少m次的最大长度。 本来可以用trie树和ac自动机/trie图搞一搞,但是数据范围太大。 后缀数组+RMQ: ...
分类:
其他好文 时间:
2018-09-25 16:35:17
阅读次数:
140
Go Concurrency Patterns: Timing out, moving on 23 September 2010 Concurrent programming has its own idioms. A good example is timeouts. Although Go's ...
分类:
其他好文 时间:
2018-09-25 11:30:45
阅读次数:
186
题目描述 In an effort to better manage the grazing patterns of his cows, Farmer John has installed one-way cow paths all over his farm. The farm consists ...
分类:
其他好文 时间:
2018-09-06 10:59:29
阅读次数:
155