Category Archives: 默写

隆宪元年-无题

隆宪元年-无题 山河无恙日月明,四处尽燃烟火声。 吓退黄河一只眼,春来万户千家颂。

Posted in poem, 默写 | Comments Off on 隆宪元年-无题

武平十年-工地码红

  武平十年-工地码红 昨夜睡朦胧,身陷禁锢中。 何意惊红码,四处轰鸣声。

Posted in 默写 | Comments Off on 武平十年-工地码红

武平十年-又梦团圆

独在疫乡又被克,悔不当初受益惑。 妻子母女盼犹在,归去来兮奈几何。

Posted in 默写 | Comments Off on 武平十年-又梦团圆

add New Repo https://github.com/firedtoad/AstarDemo https://github.com/firedtoad/cppbenchmark

Posted on by toad, die | Comments Off on Add New Repo

爸爸的故事:“从前有个爸爸,爸爸有个宝宝,宝宝有个妹妹,宝宝不听话,宝宝不会自己吃饭,宝宝不会写作业。” 宝宝的故事:“从前有个宝宝,宝宝有个爸爸,宝宝有个妹妹,爸爸不听话,爸爸出门上班很久很久都不回家。”

Posted on by toad, die | Comments Off on story
Posted on by toad, die | Comments Off on 庙会,展获你怎么看

说说回忆

Seeing female pig climb the tree home! Personals Condition 1.female 2.coarse legs 3.breast-feeding 4.eat less

Posted in 默写 | Comments Off on 说说回忆

大学

Posted in 默写 | Comments Off on 大学

隆中对

Posted in 默写 | Comments Off on 隆中对

为将-气曹真

Posted in 默写 | Comments Off on 为将-气曹真

退秦师

Posted in 默写 | Comments Off on 退秦师

八佾

Posted in 默写 | Comments Off on 八佾

入门者学

Posted in 默写 | Comments Off on 入门者学

泰伯

Posted in 默写 | Comments Off on 泰伯

学而

Posted in 默写 | Comments Off on 学而

为政

Posted in 默写 | Comments Off on 为政

乡党

Posted in 默写 | Comments Off on 乡党

先进

Posted in 默写 | Comments Off on 先进

宪问

Posted in 默写 | Comments Off on 宪问

大师兄

Posted in 默写 | Comments Off on 大师兄

公冶长

Posted in 默写 | Comments Off on 公冶长

雍也

Posted in 默写 | Comments Off on 雍也

子罕

Posted in 默写 | Comments Off on 子罕

季路

Posted in 默写 | Comments Off on 季路

ORM设计

首希望本文的读者拥有一定的ORM框架设计经验,或者熟悉ORM原理,最好是自己动手实现过ORM映射 如果没有请参考Doctrine或者Zend DB实现 在传统的ORM框架中都会有这样一个需求:”将一个一维数组或二维数组插入或替换到数据库中” 关于一维数组的处理这里不讨论,这里只关心二维数组 如下一个二维数组(这里使用php编码比较通俗易懂),假设某张表有三个字段 a,b,c $arr=array( array( ‘a’=>1, ‘b’=>2, ), array( ‘a’=>3, ‘b’=>4, ) ); 这种数组每一维键和键顺序完全相同 只要取出第一维键值作为 INSERT INTO `table_name`(#####) 括号里的键值 然后把所有维的值拼起来作为 VALUES部分就解决了,问题是不是所有程序员都会遵循使用规则,有可能传给你一个这样的数组 $arr=array( array( ‘a’=>1, ‘b’=>2, ), array( ‘a’=>3, ‘b’=>4, ‘c’=>5, ) ); 这样就会导致那个SQL初学者常见的columns does not match … Continue reading

Posted in 默写 | Comments Off on ORM设计