码迷,mamicode.com
首页 >  
搜索关键字:better    ( 1030个结果
python取一个字符串中最多出现次数的词
#-*- coding:utf-8 -*- #取一个字符串中最多出现次数的词 import re from collections import Counter my_str = """ Simple is better than complex. Complex is better than co... ...
分类:编程语言   时间:2018-04-10 21:51:41    阅读次数:459
路径搜索相关算法
博客转载自:https://cstheory.stackexchange.com/questions/11855/how-do-the-state-of-the-art-pathfinding-algorithms-for-changing-graphs-d-d-l A lot of pathfin ...
分类:编程语言   时间:2018-04-10 19:43:25    阅读次数:265
java.lang.Boolean 类源码解析
Boolean源码比较简单。 1 public final class Boolean implements java.io.Serializable, 2 Comparable<Boolean> 3 { 4 /** 5 * The {@code Boolean} object correspond ...
分类:编程语言   时间:2018-04-07 01:18:02    阅读次数:223
自己开发的 vue 滑动按钮组件 vue-better-slider
写在前面的 这个人第一次尝试开发并发布一个 vue 的组件,该组件实现了类似 ios 手机淘宝客户端 -> 消息界面中消息的滑动删除功能等,如下为该组件的文档。 一个 Vue 的滑动按钮组件,有关滑动方面的处理借鉴 better-scroll 的实现。 在线例子 起步 安装 npm i --save ...
分类:其他好文   时间:2018-03-28 14:22:06    阅读次数:2218
Python之禅(原文、中文翻译、解释)
The Zen of Python, by Tim Peters Beautiful is better than ugly.Explicit is better than implicit.Simple is better than complex.Complex is better than complicated.Flat is better than nested.Sparse
分类:编程语言   时间:2018-03-26 10:46:05    阅读次数:163
MVC架构的职责划分原则
来源:https://www.awaimai.com/873.html 歪麦博客 最近负责一个项目,用了 Yii Framework 的 MVC 框架,刚开始自以为结构很稳健。 但是随着对业务逻辑理解的深入,才开始意识到问题的严重。 我错误地理解了 MVC 中的 Controller,想当然地根据以 ...
分类:Web程序   时间:2018-03-24 14:57:01    阅读次数:202
Linux ps命令记录
ps命令:查看当前系统进程状态 ps -a 显示当前所有进程ps -ax 显示没有控制终端的进程ps -u better 查看用户better的进程ps aux|less 通过cpu和内存来过滤进程ps aux --sort -pcpu 根据cpu来升序排序ps aux --sort -pmem 根 ...
分类:系统相关   时间:2018-03-19 16:45:11    阅读次数:301
February 10th, 2018 Week 6th Saturday
It is not enough to have a good mind. The main thing is to use it well. 头脑聪明还不够,重要的是好好运用。 From Rene Descartes. My colleagues have always brought me so ...
分类:其他好文   时间:2018-03-18 21:37:43    阅读次数:148
【转】 Python3 With as 语句如何理解
《 python 标准库 》上这么一句话: [python] view plain copy with open('filename', 'wt') as f: f.write('hello, world!') [python] view plain copy [python] view plain ...
分类:编程语言   时间:2018-03-17 16:14:49    阅读次数:361
C++ RCSP智能指针简单实现与应用
智能指针的实现代码来源博客:《http://blog.csdn.net/to_be_better/article/details/53570910》 修改:添加 get()函数,用以获得原始指针(raw pointer)。 其余思路来源《Effective C++》 智能指针的实现代码如下: 引用计 ...
分类:编程语言   时间:2018-03-16 12:11:23    阅读次数:203
1030条   上一页 1 ... 31 32 33 34 35 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!