<input?type="color"value="#6fbc6d"> <input?type="date">
<input?type="month">
<input?type="week"> <input?type="text">
<input?type="email"
<input?type="tel">
<input?type="url"> <input?type=...
分类:
其他好文 时间:
2015-03-17 20:21:51
阅读次数:
177
1.问题描述 ? ? ?最近重装了41机器,我在40重新ssh登录41机器时出现一下警告:?? @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! ...
分类:
其他好文 时间:
2015-03-17 20:22:36
阅读次数:
103
zookeeper 实现屏障_Barrier 根据官网的demo,自己的理解,加了相应的注释,这里把代码贴出来,如下, Barrier package?com.usfot;
import?org.apache.zookeeper.CreateMode;
import?org.apache.zookeeper.Ke...
分类:
其他好文 时间:
2015-03-17 20:20:51
阅读次数:
133
今天尝试了一下autolayout与storyboard/xib来做UI,用起来还是感觉蛮得心应手的,再也不用担心写繁琐的UI代码了。故此也打算今后用xib来实现自定义控件(UIView Subclass),不料在做一个小例子的过程中遇到一个崩...
分类:
其他好文 时间:
2015-03-17 20:20:36
阅读次数:
182
Meteor提供的wrapAsync接口可以把异步函数封装成同步函数。 封装后的函数在服务端既可以作为异步函数(传入回调函数)也可以作为同步函数使用(不传入回调函数)。 在客户端(浏览器端)还是需要传入回调函数作为异步函...
分类:
其他好文 时间:
2015-03-17 20:20:58
阅读次数:
126
我们可以通过几种方式,来快速改变组件的叠放顺序。 1 快速置顶和置底。选中组件,然后右键菜单中“置顶”或“置底”。或者,使用热键: Ctrl+shift+向上方向键、Ctrl+sift+向下方向键。 2 快速向上一层或向下一层...
分类:
其他好文 时间:
2015-03-17 20:23:26
阅读次数:
126
#include
#include
#include
using namespace std;
const int maxn = 310;
int match[maxn];
int line[maxn][maxn];
int vis[maxn];
int N , P;
int find(int start)
{
for(int i = 1;i
{
...
分类:
其他好文 时间:
2015-03-17 20:19:15
阅读次数:
124
我的电脑在安装UFT时,被要求需要卸载本机上安装的LoadRunner11,当LoadRunner11被卸载后,进行重新安装LoadRunner11时,会报缺少vc2005_sp1_with_atl_fix_redist错误,类似下图所示:
由提示信息可知,这里是由于本机缺少该组件所致,解决方案就是安装此组件,可以去网上下载,当然,我们完全没有必要这样做,因为在LoadRun...
分类:
其他好文 时间:
2015-03-17 20:21:50
阅读次数:
167
#include
#include
#include
using namespace std;
const int maxn = 210;
int match[maxn];
int line[maxn][maxn];
int vis[maxn];
int N , M;
int find(int start)
{
for(int i = 1;i
{
...
分类:
其他好文 时间:
2015-03-17 20:20:40
阅读次数:
135
Loadrunner安装详解
一 、下载篇。
我的下载地址是:http://www.jb51.net/softs/71240.html
程序4G多,很大。
二、 安装篇
1、运行“setup.exe”
2、 点击安装,其中会有提示缺少“Microsoft Visual C++ 2005 SP1运行组件”,下载这个组件。这里安装“vcr...
分类:
其他好文 时间:
2015-03-17 20:21:22
阅读次数:
216
Workspace是个什么样的东西呢?他能够在开发者工具中调试修改js或者css同时自动保存文件,能够避免开发人员在工具中调试好,再到编辑器中修改一次代码的重复操作,能够提高一定的效率...
分类:
其他好文 时间:
2015-03-17 20:20:57
阅读次数:
129
此前的文章中,曾经提到在cocoapods依赖管理版本如果超过0.34.4,比如0.35, 0.36.0等版本中。执行"pod install" 或者 "pod update" , xmppframework 会出现循环依赖问题。
There is a circular dependency between XMPPFramework/Core and XMPPFramework/Authent...
分类:
其他好文 时间:
2015-03-17 20:19:14
阅读次数:
146
一、首先获取一块物理上连续的物理内存
有多种方法。
(a)通过kernel命令行参数预留一些内存
这种方法,适合于需要大块的物理连续的内存。
假设物理内存总量为256M。命令行参数中,指定 mem=224M。即只让内核使用前224M内存,忽略其余的内存。
这样,我们就有了32M的内存可用,内存起始物理地址为224*1024*1024。
在内核态,通过ioremap,就可以将此物理地址处...
分类:
其他好文 时间:
2015-03-17 20:18:43
阅读次数:
169
一,$cordovaDialogs(对话框插件)
http://ngcordova.com/docs/plugins/dialogs/
有一个问题是浏览器上运行和移动设备上运行的确定和取消按钮的位置是反的(移动设备上是正确的)
也可以用ionic的http://www.ionicframework.net/docs/api/service/$ionicPopup/(没试,忘了ionic自...
分类:
其他好文 时间:
2015-03-17 20:17:43
阅读次数:
156
首先上代码:
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
UIButton *button = [UIButton buttonWithType:UIButtonTyp...
分类:
其他好文 时间:
2015-03-17 20:16:32
阅读次数:
156
HDU5183Negative and Positive (NP)(哈希表)...
分类:
其他好文 时间:
2015-03-17 20:16:32
阅读次数:
146
我在win8系统上安装wampserver2.5 64位,安装到最后,总是提示丢失msvcr110.dll
解决办法:
到这个网站下载一个Visual C++ Redistributable for Visual Studio 2012 Update 4的一个插件。
http://www.microsoft.com/en-us/download/confirmation.aspx?i...
分类:
其他好文 时间:
2015-03-17 20:15:28
阅读次数:
192