回到: "Linux系列文章" "Shell系列文章" "Awk系列文章" 流程控制语句 注:awk中语句块没有作用域,都是全局变量。 代码块 if...else 搞笑题:妻子告诉程序员老公,去买一斤包子,如果看见卖西瓜的,就买两个。结果是买了两个包子回来。 switch...case awk 中的 ...
分类:
其他好文 时间:
2020-02-29 11:31:53
阅读次数:
54
字符的所有组合 描述: 输入一个字符串,求这个字符串中的字符的所有组合。如:“abc”,组合为"a" "b" c" "ab" "ac" "bc" "abc" 思路: 对于n个字符,求长度为m的组合,将字符分为两部分,对于当前的字符,要么取,然后再n 1个字符中取m 1个,要么不取,在n 1个字符中取 ...
分类:
其他好文 时间:
2020-02-28 19:14:31
阅读次数:
68
在 中,可以看到如下宏 可见, 是在开启 UNIV_DEBUG 下的 ,`ut_d` 是开启 UNIV_DEBUG 下才执行 EXPR;当 UNIV_DEBUG 关闭时, EXPR 均不执行。 例子如下,在开启 UNIV_DEBUG 时,会执行 和 ,并且会在其返回值为 0 时报错。 ...
分类:
数据库 时间:
2020-02-27 16:21:53
阅读次数:
89
博客迁移:https://huangshubi.github.io/2020/02/04/%E5%8A%A8%E6%80%81%E7%BC%96%E7%A8%8B/ 记录《Effective C#》C#7.0 学习过程,但是用的是C#版本7.3验证书中例子,书中有些内容是对不上的。配置语言版本 动态 ...
分类:
其他好文 时间:
2020-02-26 20:50:00
阅读次数:
76
I have a NHibernate search function where I receive integers and want to return results where at least the beginning coincides with the integers, e.g. ...
分类:
Web程序 时间:
2020-02-25 11:14:17
阅读次数:
112
vue上传图片,组件用element-ui上传组件 <el-upload class="avatar-uploader" action="https://jsonplaceholder.typicode.com/posts/" :show-file-list="false" :on-success= ...
分类:
Web程序 时间:
2020-02-23 23:51:14
阅读次数:
114
使用Spring管理事务,注意头文件的约束导入 : tx xmlns:tx="http://www.springframework.org/schema/tx" http://www.springframework.org/schema/tx http://www.springframework.o ...
分类:
其他好文 时间:
2020-02-23 22:03:09
阅读次数:
83
常用tamper脚本 apostrophemask.py适用数据库:ALL作用:将引号替换为utf-8,用于过滤单引号使用脚本前:tamper("1 AND '1'='1")使用脚本后:1 AND %EF%BC%871%EF%BC%87=%EF%BC%871 base64encode.py适用数据库 ...
分类:
数据库 时间:
2020-02-23 14:32:32
阅读次数:
103
Python Lambda Python lambda: an expression form that generates function objects. anonymous (i.e., unnamed) function lambda is designed for coding simp ...
分类:
编程语言 时间:
2020-02-21 11:25:31
阅读次数:
85