在VM-->removableDevice-->CD DVD-->加载iso镜像文件:[root@rusky2 mnt]# mount /dev/cdrom /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting ...
分类:
系统相关 时间:
2014-07-16 22:57:28
阅读次数:
247
/* 1.定义block变量: 返回值类型 (^block变量名) (参数类型1, 参数类型2, ....); 2.给block变量赋值 block变量名 = ^(参数类型1 参数名称1, .....) { }; *//* 1.设置动画属性 2.开始执行动画 3.动画执行完毕 bl...
分类:
移动开发 时间:
2014-07-16 21:41:47
阅读次数:
194
eg1:测试result: 左侧是google上运行的结果 右侧是在ie上运行的结果在eg1上,用了display:block这个属性,在google浏览器中,display:block和border这两个属性的width值和height值会相加,即:外框是10px 乘以2(左右边框各10像素...
分类:
其他好文 时间:
2014-07-16 21:29:54
阅读次数:
161
spark jdbc分支源码下载地址 https://github.com/apache/spark/tree/branch-1.0-jdbc编译spark jdbc ./make-distribution.sh --hadoop 2.3.0-cdh5.0.0 --with-yarn --wit.....
分类:
数据库 时间:
2014-07-16 21:04:35
阅读次数:
306
.someClassName { width:300px;display: inline-block;padding: 5px 10px 6px;text-decoration: none;border-radius: 5px;-moz-border-radius: 5px;-webkit-bo.....
分类:
Web程序 时间:
2014-07-16 19:51:21
阅读次数:
189
Linux磁盘与文件系统管理我知问答如何列出所有磁盘分区信息? cat /proc/partitions或者可以: ll /dev/sda* ;列出 ll /dev/sdb*1.首先我们需要熟悉inode,block,和superblock他们的含义和其关系每个...
分类:
系统相关 时间:
2014-07-16 19:50:40
阅读次数:
354
#查看log,获取版本号 git log#本地仓库回退到某个版本 git reset --hard baeertasdasdvf#新建需要回退的版本old_master分支做备份 git branch old_master #push到远程 git push origin old_mas...
分类:
其他好文 时间:
2014-07-16 19:46:01
阅读次数:
203
All good so far. We next want to delete the branch on github. However, if we do this the naive way:git push origin :masterwe just get an error like th...
分类:
其他好文 时间:
2014-07-16 19:33:09
阅读次数:
231
The 2.6.33 Linux® kernel has introduced a useful new service called the Distributed Replicated Block Device (DRBD). This service mirrors an entire blo...
分类:
其他好文 时间:
2014-07-13 11:38:56
阅读次数:
397
之前写过陆陆续续写过一些关于block的东西~但是都是太罗嗦和繁琐,所以今天写一篇总结性的帖子1.如何声明一个blockblock声明有两个形式,这个很重要,比较容易混搅不清 第一个是直接声明block变量 int (^ bBlock)(int a,int b) bBlock是函数名字,其他的时声....
分类:
其他好文 时间:
2014-07-12 13:31:32
阅读次数:
237