页面布局
摘要:S2.html <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .left { float: left; } .right{ float: right; } .pg-h
阅读全文
posted @
2019-04-14 01:33
SZ_文彬
阅读(110)
推荐(0) 编辑
dom操作
摘要:s19.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="i1">我是i1</div> <a>adsf</a> <a>909
阅读全文
posted @
2019-04-14 01:27
SZ_文彬
阅读(131)
推荐(0) 编辑
javascript基础
摘要:S13.html <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> /*css代码*/ </style> <script> // javascript代码 alert(1
阅读全文
posted @
2019-04-11 17:12
SZ_文彬
阅读(167)
推荐(0) 编辑
css补充
摘要:s2.html <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><div style="width: 50px;height: 50px;background-
阅读全文
posted @
2019-04-10 21:21
SZ_文彬
阅读(161)
推荐(0) 编辑
css_初阶
摘要:s10.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form> <fieldset> <legend>登陆</legend> <lab
阅读全文
posted @
2019-04-06 00:19
SZ_文彬
阅读(160)
推荐(0) 编辑
删除30天没有访问过的日志
摘要:import os,random,time,shutillist_dir = os.listdir(r"D:\test1")for file in list_dir: print(file) print(os.path.abspath(file)) os.chdir(r"D:\test1") fil
阅读全文
posted @
2019-04-03 14:29
SZ_文彬
阅读(97)
推荐(0) 编辑
sqlalchemy多外键关联
摘要:sqlalchemy_many_fk.py from sqlalchemy import Integer, ForeignKey, String, Column,create_enginefrom sqlalchemy.ext.declarative import declarative_basef
阅读全文
posted @
2019-04-03 11:45
SZ_文彬
阅读(246)
推荐(0) 编辑
sqlalchemy多对多关联
摘要:sqlalchemy_many_to_many.py #!-*-coding:utf-8-*-from sqlalchemy import Table,Column,Integer,String,DATE,ForeignKeyfrom sqlalchemy.orm import relationsh
阅读全文
posted @
2019-04-03 11:45
SZ_文彬
阅读(378)
推荐(0) 编辑
centos6分区要点
摘要:安装centos6系统时,为了以后能够扩展存储,分区时要注意几点: 1.boot引导分区要选固定分区类型存储,大小是500M 2.其余分区全部做成物理卷lvm pyshiic类型存储 3.在这个物理卷上分成/home / swap 等分区,类型是lvm 这样以后加内存 加硬盘都可以扩展上去 4.sw
阅读全文
posted @
2019-04-03 11:01
SZ_文彬
阅读(808)
推荐(0) 编辑
html基础
摘要:index.html <h1 style='background-color:red'>time</h1><!--设置背景颜色--> <a href="http://www.qq.com">走啊</a> <table border='1'> <tr> <td>1</td> <td>2</td> <t
阅读全文
posted @
2019-04-02 10:04
SZ_文彬
阅读(588)
推荐(0) 编辑
awk截取日志
摘要:Posted on 2019-04-02 09:35 SZ_文彬 阅读(0) 评论(0) 编辑 收藏 好久没有截取nginx/haproxy 中 的日志了,竟有点不熟悉了。 记录一下,以免以后忘记。 NGINX 日志格式: 192.168.1.26 - - [14/Sep/2017:16:48:42
阅读全文
posted @
2019-04-02 09:43
SZ_文彬
阅读(1273)
推荐(0) 编辑