fr = open('letter.txt',mode='r',encoding='utf-8') plaincode = fr.read() print('明文:' + plaincode) print('密文:',end='') for c in plaincode: print(chr(ord... ...
分类:
其他好文 时间:
2018-05-30 22:36:26
阅读次数:
206
git配置别名设置,保存一份 [alias] lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbr ...
分类:
其他好文 时间:
2018-05-29 16:18:55
阅读次数:
183
一 字体属性 1、font-weight:文字粗细 2、font-style:文字风格 3、font-size:文字大小 4、font-family:文字字体 5、文字属性简写 6、color:文字颜色 color:red; 大多数颜色都有对应的英文单词描述,但英文单词终究有其局限性:无法表示所有颜 ...
分类:
Web程序 时间:
2018-05-27 19:02:27
阅读次数:
246
green bar is the reward function, blue curve is the possibility of differenct trajectories if green bars are equally increased to yellow bars, the res ...
分类:
其他好文 时间:
2018-05-25 00:27:41
阅读次数:
421
名称 dnssec-keygen - DNSSEC 密钥生成工具 用法概要 描述 dnssec-keygen 实用程序为 DNSSEC(安全 DNS)生成密钥,如 RFC 2535 和 RFC 4034 中定义的那样。它还可以生成与 TSIG(Transaction Signature,事务签名)一 ...
分类:
其他好文 时间:
2018-05-24 18:09:44
阅读次数:
188
属性选择器,字面意思就是根据标签中的属性,选中当前的标签。 语法: ...
分类:
其他好文 时间:
2018-05-24 16:43:32
阅读次数:
120
伪类选择器一般会用在超链接a标签中,使用a标签的伪类选择器,我们一定要遵循"爱恨准则" LoVe HAte 1 /*没有被访问的a标签的样式*/ 2 .box ul li.item1 a:link{ 3 4 color: #666; 5 } 6 /*访问过后的a标签的样式*/ 7 .box ul l ...
分类:
其他好文 时间:
2018-05-24 16:31:26
阅读次数:
153
css的选择器: 1,基本选择器。 2,高级选择器。 基本选择器包含: 1,标签选择器 标签选择器可以选中所有的标签元素,比如div,ul,li,p等等,不管标签藏得多深,都能选中,选中的是所有的,而不是某一个,所以说"共性",而不是:“特性”。 <!DOCTYPE html> <html lang ...
分类:
Web程序 时间:
2018-05-23 00:03:03
阅读次数:
175
学习Jquery选择器之后,可以发现与css的选择器几乎相同,可能也就是最新的css选择器还不能在jquery中实现,但那都很少用。 下面是Jquery中常见的选择器: 一、基本选择器 $("div").css("background-color", "red");//表示对所有的div增加背景颜色 ...
分类:
Web程序 时间:
2018-05-22 23:50:15
阅读次数:
242
优先级等级 行内样式 > ID选择器 > 类选择器 > 标签选择器 标签选择器 优先级为1 类选择器 优先级为10 ID选择器 优先级为100 行内样式 优先级为1000 基本选择器包含: 1.标签选择器标签选择器可以选中所有的标签元素,比如div,ul,li ,p等等,不管标签藏的多深,都能选中, ...
分类:
Web程序 时间:
2018-05-22 23:48:57
阅读次数:
267