Piotr's Ants Kent Brockman Piotr likes playing with ants. He has n of them on a horizontal pole L cm long. Each ant is facing either left or right and ...
分类:
其他好文 时间:
2016-10-11 21:07:35
阅读次数:
188
http://www.tuicool.com/articles/miuq63E http://www.guokr.com/blog/475765/ http://songwie.com/articlelist/44 https://www.youtube.com/watch?v=5yDO-tmIoX ...
分类:
数据库 时间:
2016-10-10 01:39:58
阅读次数:
308
htmlfileupload上传图片
第一步:这是一个上传图片的按钮
<formclass="form-horizontal"method="post"action="{%url‘create_article‘%}"enctype="multipart/form-data">{%csrf_token%}
<divclass="form-group">
<labelfor="inputEmail3"class="col-sm-2control..
分类:
Web程序 时间:
2016-10-06 01:07:46
阅读次数:
291
线性布局(LinearLayout)常用属性: android:orientation="vertical"--决定子类控件的排布方式(vertical垂直;horizontal水平) Android:garavity="center"--决定子类控件的xy的位置常用属性值: 1>center_ve ...
分类:
移动开发 时间:
2016-10-02 13:00:41
阅读次数:
267
摘要 layout_weight 的含义及使用 在Android的控件布局中,有一个奇葩的 layout_weight 属性,定义如下: layout_weight : 用于指定剩余空闲空间的分割比例。用法: <LinearLayout android:orientation="horizontal ...
分类:
其他好文 时间:
2016-09-16 12:44:19
阅读次数:
126
1. 反函数 定义1: A function ? is called a one-to-one function if it never takes on the same value twice; that is ?(x1)≠?(x2) whenever x1≠x2. Horizontal Lin ...
分类:
其他好文 时间:
2016-09-14 16:29:12
阅读次数:
115
引用PHPExcel 设置excel的属性 也可用下面这种方式 设置当前的sheet 设置sheet的标题 设置单元格宽度 设置单元格高度 合并单元格 拆分单元格 设置保护cell,保护工作表 设置格式 设置加粗 设置水平对齐方式(HORIZONTAL_RIGHT,HORIZONTAL_LEFT,H ...
分类:
Web程序 时间:
2016-09-13 16:20:45
阅读次数:
204
1、如果你的scrollbar是Vertical的,设置以下属性 2、如果你的scrollbar是horizontal的,设置以下属性 android:scrollbarThumbVertical和android:scrollbarThumbHorizontal设置的是滚动条指示器的图片,会跟着滑动 ...
分类:
移动开发 时间:
2016-09-08 12:44:54
阅读次数:
140
android:orientation="vertical"垂直线性布局,"horizontal"水平线性布局 android:gravity="top"(buttom、left、right、center_vertical、fill_vertical、center_horizontal、fill_h ...
分类:
移动开发 时间:
2016-09-06 23:08:57
阅读次数:
164
form表单: 格式1:默认的表单是垂直显示风格(标签居上,表单控件居下) 格式2:l水平表单风格(标签居左,表单控件居右) form-horizontal:水平表单风格(标签居左,表单控件居右) 格式3:表单的控件都在一行内 form-inline:表单在一行,其中sr-only,作用不显示lab ...
分类:
其他好文 时间:
2016-09-01 20:01:45
阅读次数:
138