一、html部分1、按钮:2、文本框:3、密码:4、单选:男女5、复选框:红色绿色6、下拉菜单:7、上传控件:8、多行输入框:9、重置按钮: [只针对它所在的form表单有效果]10、提交按钮: [只针对它所在的form表单有效果]二、css样式部分1、css样式的三种常用写法: 第一种...
分类:
其他好文 时间:
2015-07-07 22:27:04
阅读次数:
154
For developing a WCF service application, there are mainly two tools – Microsoft Visual Studio and CodePlex. Microsoft Visual Studio is a complete pac...
分类:
其他好文 时间:
2015-07-07 22:25:42
阅读次数:
130
深度学习成长的烦恼【编者按】深度学习尽管对当前人工智能的发展作用很大,然而深度学习工作者并非一帆风顺。Chris Edwards发表于Communications of the ACM的这篇文章,通过不同的深度学习研究人员的现身说法,列举了深度学习在不同场景下面临的一些挑战以及目前的解决方案。CSD...
分类:
其他好文 时间:
2015-07-07 22:25:21
阅读次数:
180
//CA_EXTERN NSString * const kCATransitionFade//__OSX_AVAILABLE_STARTING (__MAC_10_5, __IPHONE_2_0);//CA_EXTERN NSString * const kCATransitionMoveIn//...
分类:
其他好文 时间:
2015-07-07 22:23:32
阅读次数:
145
什么是高大上的数据分析方法?作者:黄成明 出处:微信公众号_数据化管理(sjhglwx)经常收到一些毕业两三年的朋友来信,这是一个迷茫的时期。他们在大学学的是各种高大上的数据分析方法,但实际工作中却是干一些只需要加加减减的统计工作。他们有理想,想赶出一番自己的事业,想挖出另一个“啤酒与尿不湿”(注:...
分类:
其他好文 时间:
2015-07-07 22:25:11
阅读次数:
129
This is a classic problem of linked list. You may solve it using two pointers. The tricky part lies in the head pointer may also be the one that is re...
分类:
其他好文 时间:
2015-07-07 22:25:50
阅读次数:
133
原文地址:http://my.oschina.net/panyong/blog/403562runtime : 运行时机制首先必须明白的:1.是什么1> runtime是一套比较底层的纯C语言API, 属于1个C语言库, 包含了很多底层的C语言API2> 平时编写的OC代码, 在程序运行过程中, 其...
分类:
其他好文 时间:
2015-07-07 22:24:00
阅读次数:
108
题意:给一个有向图,问添加几条边可以使其强连通。思路: 按照大白书p322做。tarjan算法求强连通分量,然后缩点求各个强连通分量的出入度,答案是max(入度为0的缩点个数,出度为0的缩点个数)。 1 #include 2 #define LL long long 3 #define pii .....
分类:
其他好文 时间:
2015-07-07 22:25:14
阅读次数:
147
#import @interface TJShakeProgressView : UIView@property(nonatomic,assign)CGFloat progress;@end//// TJShakeProgressView.m// TJShakeProgressView//// Cr...
分类:
其他好文 时间:
2015-07-07 22:22:07
阅读次数:
139
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他好文 时间:
2015-07-07 22:24:35
阅读次数:
118
x window图形界面是ctrl+alt+f1,其他2-6都是命令行格式。可以互相转,也可以在命令行下 startx命令进入图形界面。 锁屏命令:ctral+alt+l命令行界面: . 此层目录 .. 上一层目录 - 前一个工作目录 ~ 目前用户身份所在的文件夹 ~account account这...
分类:
其他好文 时间:
2015-07-07 22:24:07
阅读次数:
204
Mac 环境配置
显示所有文件夹
显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false
Homebrew:
ruby -e "$(curl -fsSL https://raw.githu...
分类:
其他好文 时间:
2015-07-07 21:20:50
阅读次数:
138
- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight;
从点(topCapHeight,topCapHeight)往右下角开始拉伸...
分类:
其他好文 时间:
2015-07-07 21:19:12
阅读次数:
129
GPIO设置
按键检测
1 连续按键检测短按长按
关键代码1 GPIO设置????????????????STM8 I/O 口引脚配置表
Px_DDR
Px_CR1
Px_CR2
I/O 方式
引脚状态 0
0
0
输入
悬浮输入
0
0
1
输入
上拉输入
0
1
0
输入
中断悬浮输入
0
1
1
输入...
分类:
其他好文 时间:
2015-07-07 21:17:55
阅读次数:
509
最近在写滑动删除,网上代码又是看的云里雾里,果断自己研究,虽然效果不太好把,但是思路很清晰,代码逻辑很简单
先来看主页面布局
activity_main.xml--很简单就一个自定义listview
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="h...
分类:
其他好文 时间:
2015-07-07 21:17:43
阅读次数:
225
CentOS 配置防火墙操作实例(启、停、开、闭端口):
注:防火墙的基本操作命令:
查询防火墙状态:
[root@localhost ~]# service iptables status
停止防火墙:
[root@localhost ~]# service iptables stop
启动防火墙:
[root@l...
分类:
其他好文 时间:
2015-07-07 21:17:54
阅读次数:
163
http://acm.hdu.edu.cn/showproblem.php?pid=4055
Problem Description
The signature of a permutation is a string that is computed as follows: for each pair of consecutive elements of the permutat...
分类:
其他好文 时间:
2015-07-07 21:17:12
阅读次数:
367