public void on(View view) { // 创建一个序列化对象 XmlSerializer ps = Xml.newSerializer(); // 获取文件路径 File file = new File(Environment.getExternalStorageDi...
分类:
其他 时间:
2015-11-12 13:27:58
收藏:
0 评论:
0 赞:
0 阅读:
335
http://blog.sina.com.cn/s/blog_4ca9ceef0101isv5.html//没用#define前是这样的,每个ViewController都要写这么一段重复的代码 写多了就烦了 /***********************处理前******************...
分类:
其他 时间:
2015-11-12 13:27:38
收藏:
0 评论:
0 赞:
0 阅读:
237
重置:body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0;}html,body { margin:0; padd....
分类:
其他 时间:
2015-11-12 13:26:58
收藏:
0 评论:
0 赞:
0 阅读:
355
*关闭窗口 dev_close_window () dev_close_window () *打开指定大小、颜色背景的窗口 dev_open_window (0, 0, 768/2, 576/2, 'black', WindowHandle1) dev_update_pc ('off') dev.....
分类:
其他 时间:
2015-11-12 13:25:58
收藏:
0 评论:
0 赞:
0 阅读:
359
想要实现一个让一张图片围绕中心点旋转的功能。自己用UIPanGestureRecognizer手势实现了一个,通过计算手势移动的位置,计算出手指距图片中心点的偏移度,然后让UIImageView偏移相同的度数即可。测试了一下,发现虽然图片旋转了,但是中心点看起来好像一直在变化,将中心点的坐标打印出来...
分类:
其他 时间:
2015-11-12 13:25:48
收藏:
0 评论:
0 赞:
0 阅读:
223
序列化存档涉及的参数比较多,猛地一下始终是记不住。花时间把比较完整的代码记下来,并做好注释,这样就比较方便以后的使用。using UnityEngine;using System.Collections;using System;using System.IO;using System.Collec...
分类:
其他 时间:
2015-11-12 13:25:38
收藏:
0 评论:
0 赞:
0 阅读:
268
vim batch_sshkey.sh#!/bin/bashcd /rootcat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keysfor i in `cat iplist`doip=$(echo "$i"|cut -f1 -d":")passwo...
分类:
其他 时间:
2015-11-12 13:25:08
收藏:
0 评论:
0 赞:
0 阅读:
265
第一次要用到图文混排的时候,感觉很难。虽然知道drawRect可以实现,但是对这块了解的较少,无法实现。后来研究了一下:drawRect就像是在画布是画画一样,用两个变量标注坐标,左上角为起点,把文字和表情一个一个的“画”上去就OK了#define BEGIN_TAG @"["#define EN....
分类:
其他 时间:
2015-11-12 13:24:48
收藏:
0 评论:
0 赞:
0 阅读:
275
A Convex Optimization Framework for Active LearningActive learning is the problem of progressively selecting and annotating the most informative unlab...
分类:
其他 时间:
2015-11-12 13:23:38
收藏:
0 评论:
0 赞:
0 阅读:
355
1 2 3 4 5 无标题文档 6 9 10 11 12 13 14 15 16 17 52 53 54 把上面的写成一个方法 1 2 3 4 5 无标题文档 6 9 10 11 12 13 14 15 16 17 52 53 5...
分类:
其他 时间:
2015-11-12 13:23:18
收藏:
0 评论:
0 赞:
0 阅读:
257
城市三级联动代码演示地址:http://www.jq22.com/yanshi673 全国城市三级联动 全国城市三级联动
分类:
其他 时间:
2015-11-12 13:22:51
收藏:
0 评论:
0 赞:
0 阅读:
531
所选的数比当前的数大的话就失去意义了 所以要保证最小每一步所选的取余的数都不能大于当前被取余的数数据范围很小 直接暴力dfs即可#include#include#include#include#include#include#include#include#includeusing namespac...
分类:
其他 时间:
2015-11-12 13:22:38
收藏:
0 评论:
0 赞:
0 阅读:
232
/* 定时器:时间概念 var timer = setInterval( 函数, 毫秒 ); 重复执行(发动机) clearInterval( timer ); 清除 v...
分类:
其他 时间:
2015-11-12 13:22:28
收藏:
0 评论:
0 赞:
0 阅读:
208
一:如果想运行的GT官方的调试软件,需要关闭其他正在孤高硬件的程序。否则 孤高卡的选择卡号一栏是灰色的二:一台PC最大支持 4张卡 一张卡支持8个轴 ,由此可知一台PC最大支持32根轴三:固高卡有轴之间齿轮功能,不过采样周期是否稳定未知。四:翠欧MX206的功能 ,固高大都持有。但是固高是否支持基....
分类:
其他 时间:
2015-11-12 13:22:18
收藏:
0 评论:
0 赞:
0 阅读:
270
方法一:禁止中文输入法方法二:禁止黏贴,禁止拖拽,禁止中文输入法!这种方法是最强的禁止 中文输入获取键盘按下值 function keyUp(e) { var currKey = 0, e = e || event; currKey = e.keyCode || e.wh...
分类:
其他 时间:
2015-11-12 13:21:58
收藏:
0 评论:
0 赞:
0 阅读:
291
使用UITextField的时候,一般都会限制字数。限制字数,听起来简单,实现起来却不简单。如果输入的只是字母或者数字之类的,直接限制就行。要是输入中文等类似的,那就不行了[[NSNotificationCenter defaultCenter] addObserver:self selector:...
分类:
其他 时间:
2015-11-12 13:21:48
收藏:
0 评论:
0 赞:
0 阅读:
279
在使用mosek优化库的时候,使用http://docs.mosek.com/7.0/capi/MSK_getxx_.html的MSKrescodee MSK_getxx ( MSKtask_t task, MSKsoltypee whichsol, MSKrealt * xx);来读入xx以得到最...
分类:
其他 时间:
2015-11-12 13:21:38
收藏:
0 评论:
0 赞:
0 阅读:
156
1、简介栅格系统(grid systems),也称为“网格系统”,运用固定的格子设计版面布局,风格工整简洁。是从平面栅格系统演变而来。Bootstrap建立在12列栅格系统、布局、组件之上。以规则的网格阵列来指导和规范网页中的版面布局以及信息分布Bootstrap内置了一套响应式、移动设备优先的流式...
分类:
其他 时间:
2015-11-12 13:21:28
收藏:
0 评论:
0 赞:
0 阅读:
417
首先判断客户端和服务器连接是否正常# 客户端和服务器连接正常,返回PONGredis> PINGPONG # 客户端和服务器连接不正常(网络不正常或服务器未能正常运行),返回连接异常redis 127.0.0.1:6379> PINGCould not connect to Redis at 127...
分类:
其他 时间:
2015-11-12 13:21:08
收藏:
0 评论:
0 赞:
0 阅读:
292
[UIView beginAnimations:@"shake" context:nil]; [UIView setAnimationDuration:0.1f]; [UIView animateWithDuration:0.1f animations:^{ // ...
分类:
其他 时间:
2015-11-12 13:20:58
收藏:
0 评论:
0 赞:
0 阅读:
316