The firstis workaround wich is iterating over all the labels in your UIView and change the labels font, check this question and the answers:How to set...
分类:
移动开发 时间:
2014-07-02 00:00:31
阅读次数:
223
最初没有注意到结果是要求最小的步数,那么就成了最基本的迷宫找到一条出路的问题并记下找到出路时,所花的步数,那么很容易得到代码如下: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 #define MAX 10...
分类:
其他好文 时间:
2014-07-01 23:44:18
阅读次数:
242
1 依据选择的日期,加载相应的列表数据,如图:开发说明1 开发思路: 在日期值变化的事件中获得选择后的日期值,传给后台,然后从后台加载相应的数据 2 问题:在查看extjs2.2的api的官方说明文档,文档对datefield组件的change事件说明如下: change : ( Ext.form....
分类:
Web程序 时间:
2014-07-01 23:19:21
阅读次数:
384
反向数据库File - Reverse - Database - DBMS - Using a data source改变数据库Database - Change Current -DBMS生成数据脚本Database -Generate Databse
分类:
其他好文 时间:
2014-07-01 21:20:34
阅读次数:
215
override def preStart() { logInfo("Starting Spark master at " + masterUrl) webUi.bind() //绑定WEBUI masterWebUiUrl = "http://" + masterPubli...
分类:
其他好文 时间:
2014-07-01 20:21:15
阅读次数:
251
1、初始化:方式一、git clone,将远程的Git版本库,克隆到本地一份。方式二、git init和git remote2、git pull:将其他版本库代码更新到本地。例如:git pull origin master,将origin这个版本库的代码更新到本地的master主枝,类似于SVN的...
分类:
系统相关 时间:
2014-07-01 12:42:54
阅读次数:
262
DirectIO: The SRIO DirectIO
transfer class is similar to a memcopy transfer between two SRIO devices. One of the devices is the master that initiates the transfer. The second deviceis
the slave th...
分类:
其他好文 时间:
2014-06-30 19:46:54
阅读次数:
215
今天笔者需要一款图片上传插件,但是网上没有提供一款符合自己需求且好用的。于是就自己动手写了一个。
方法1,仅使用jquery代码,不用第三方插件。代码如下
上传图片
$(function() {
$('.inp_fileToUpload').change(function() {
var formdata = new F...
分类:
其他好文 时间:
2014-06-30 19:33:28
阅读次数:
224
简单,二分法,但是在oj上交的时候会有精度的限制,所以只能把数扩得大一点,而且在扩的时候为防止尾数会自动生成一些非零数,所以还是自己吧扩到的位置设置为0,还有输出时因为%.2lf会自己有4设5入,所以可以自己算出小数点后两位的数值,在输出,保证要求的精度
#include
#include
#include
#define MAX 10010
using namespace std;
l...
分类:
其他好文 时间:
2014-06-30 19:02:41
阅读次数:
163
作为一个oracle dba有时候不得不管理一下mysql数据库,当为主从库时需要阶段性清理mysql binary log,清楚方式如下:
首先查看mysql 的当前日志组
show master status;
确定当前日志组后删除日志文件
purge binary logs to 'mysql-bin.000795';
删除000795之前的日志...
分类:
数据库 时间:
2014-06-30 17:16:01
阅读次数:
240