上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页

2018年6月24日

编译器概念的介绍

摘要: 一个语言处理系统:见图 一个编译器的各个步骤:见图 阅读全文

posted @ 2018-06-24 16:46 Lemo_wd 阅读(167) 评论(0) 推荐(0)

编程范式总结 —— 声明式/命令式/元编程

摘要: 编程范式 - https://zh.wikipedia.org/wiki/%E7%BC%96%E7%A8%8B%E8%8C%83%E5%9E%8B 声明式:与 命令式对立 特点:关注结果,有严格计算逻辑,无副作用。命令式关注运行原理与过程。 声明式包含的子编程范式:函数式,DSL,约束式,回答集,响 阅读全文

posted @ 2018-06-24 16:12 Lemo_wd 阅读(267) 评论(0) 推荐(0)

2018年6月8日

清理孤儿文件 clearing up outdated orphans

摘要: pacman -Rns $(pacman -Qtdq) It lists all packages installed as dependencies but no longer required by any packages. You can remove them if you know th 阅读全文

posted @ 2018-06-08 09:54 Lemo_wd 阅读(152) 评论(0) 推荐(0)

2018年4月26日

python3 中 Event.wait 多线程等待

摘要: event.wait(time) 等待 time 时间后,执行下一步。或者在调用 event.set() 后立即执行下一步。 event.clear() 清除信号 event.set() 设置信号 event.isSet() 判断是否设置信号 要求: 定义一个按钮,等待 3秒钟,如果 3秒钟没有再次 阅读全文

posted @ 2018-04-26 20:45 Lemo_wd 阅读(8175) 评论(0) 推荐(0)

2018年4月25日

openshift 配置 bitbucket 的webhook

摘要: 参考 https://docs.openshift.org/latest/dev_guide/builds/triggering_builds.html 阅读全文

posted @ 2018-04-25 18:43 Lemo_wd 阅读(340) 评论(0) 推荐(0)

2018年4月12日

关于 ubuntu 下 防火墙 ufw的使用

摘要: ufw 是 iptables 的一个语法糖。详细介绍 阅读全文

posted @ 2018-04-12 15:54 Lemo_wd 阅读(156) 评论(0) 推荐(0)

2018年3月26日

Java8 中的 default

摘要: 之前的版本里 interface 中的方法必须是抽象方法,不能有方法体。现在可以添加 interface 内方法,只需要在方法的前面加一个 default 关键字,表示属于接口内部默认存在的方法。 如果两个接口包括的默认方法同名,当一个 class 同时实现这两个接口,并调用他们共同的 defaul 阅读全文

posted @ 2018-03-26 13:48 Lemo_wd 阅读(289) 评论(0) 推荐(0)

2018年3月24日

mvc、mvp与 mvvm 区别

摘要: 原文 阅读全文

posted @ 2018-03-24 20:52 Lemo_wd 阅读(121) 评论(0) 推荐(0)

unicode 字符集 与 utf-8 编码

摘要: 字符集 Unicode 是一个很大的集合,可以容纳100多万个符号。每个符号的编号都不一样,比如,U+0639表示阿拉伯字母Ain,U+0041表示英语的大写字母A,U+4E25表示汉字严。具体的符号编号对应表,可以查询unicode.org,或者专门的汉字对应表。 字符编码 有了字符集,人们就可以 阅读全文

posted @ 2018-03-24 04:28 Lemo_wd 阅读(381) 评论(0) 推荐(0)

2018年3月20日

java 中的 Comparable 和 Comparator 与 Iterable 和 Iterator

摘要: Comparable 和 Comparator 1、Comparable<T> 比较的是当前值与另一个值。 public interface Comparable<T> { public int compareTo(T o); } 举例: Date dt = new Date(); // 默认计算从 阅读全文

posted @ 2018-03-20 22:25 Lemo_wd 阅读(392) 评论(0) 推荐(0)

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页

导航