首页 > 其他
TableViewer使用
1.自定义编辑器激活方式 /** * Create a customized editor whose activation process is customized * * @param viewer * the viewer the editor is created for ...
分类:其他   时间:2015-08-28 19:30:15    收藏:0  评论:0  赞:0  阅读:167
git创建分支
1、创建本地分支名称为dev的本地分支git branch dev2、将本地分支添加到远程分支git push origin dev3、查看创建的本地分支, 带有*符号的分支,代表当前所在分支git branch4、查看远程分支git branch -r
分类:其他   时间:2015-08-28 19:29:15    收藏:0  评论:0  赞:0  阅读:245
时间比对,常用细节记录
static void Main(string[] args) { DateTime startTime = DateTime.Now; string userName = "用户a"; string setInfo ...
分类:其他   时间:2015-08-28 19:28:56    收藏:0  评论:0  赞:0  阅读:175
鼠标控制,扇形的大小
效果如下图:package{ import flash.display.Sprite; import flash.events.MouseEvent; /** * @author chb * @Email 645338868@qq.com * @data 2015-8-28 * *...
分类:其他   时间:2015-08-28 19:27:46    收藏:0  评论:0  赞:0  阅读:124
UIView的layoutSubviews和drawRect方法何时调用
UIView属性1.alpha设置视图的透明度.默认为1.//完全透明view.alpha=0;//不透明view.alpha=1;2.clipsToBounds//默认是NO,当设置为yes时,超出当前视图的尺寸的内容和子视图不会显示。view.clipsToBounds=YES;3.hidden...
分类:其他   时间:2015-08-28 19:27:37    收藏:0  评论:0  赞:0  阅读:279
一般处理文件中的路径问题
System.Web.HttpContext.Current.Server.MapPath一般来说,我们需要去当项目文件的当前路径比如你的项目文件是在d:/workspace/demo/demo.sln我们需要取到d:/workspace/demo/ 这个路径。现在列出我再网上找出来的一些获取路径的...
分类:其他   时间:2015-08-28 19:27:25    收藏:0  评论:0  赞:0  阅读:255
ie浏览器float right 向下错位解决办法
ie360 浏览器float right 向下错位解决办法span 当设置其float:right;时,其向下一行错位时最佳办法:将span移到所要显示的文字前面其次办法:在span母容器的css里添加position:relative;在span的css里添加position:absolute;r...
分类:其他   时间:2015-08-28 19:27:05    收藏:0  评论:0  赞:0  阅读:199
openStack telemetry/ceilometry 云平台资源监控度量
分类:其他   时间:2015-08-28 19:26:55    收藏:0  评论:0  赞:0  阅读:182
Iframe知识点
var oIframe=document.getElementById('iframe1'); 获取iframe对象; oIframe.contentWindow.// iframe 里的window对象 oIframe.contentDocument.//ifram里的document对象从if....
分类:其他   时间:2015-08-28 19:26:05    收藏:0  评论:0  赞:0  阅读:265
poj 2739 Sum of Consecutive Prime Numbers(尺取法)
DescriptionSome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given pos...
分类:其他   时间:2015-08-28 19:25:35    收藏:0  评论:0  赞:0  阅读:184
EF Lambda 多表查询
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace MvcForLamadaToTableJion.Controllers{ ....
分类:其他   时间:2015-08-28 19:25:25    收藏:0  评论:0  赞:0  阅读:491
Runtime
用Runtime写的分类:https://github.com/ISMeSAM/-tabBarItem-badgeValue-https://github.com/ISMeSAM/SAMUIAlertViewExhttps://github.com/ISMeSAM/RemoveButtonHighl...
分类:其他   时间:2015-08-28 19:25:15    收藏:0  评论:0  赞:0  阅读:245
一句话改变TGraphicControl的left坐标的前世今生
稍微用脑子想了一下,图形控件没有句柄,因此先把自己的坐标改一改,然后只要把父控件的某些区域Invalidate一下就可以了,WM_PAINT消息一来,父控件就会重绘所有子图形控件,就达到了相应的效果。怪不得没看到调用SetWindowPos这样的函数。有空详细跟踪一下。举例:procedure TF...
分类:其他   时间:2015-08-28 19:25:05    收藏:0  评论:0  赞:0  阅读:201
使用Script Component源处理不规则平面文件
微软 BI 系列随笔 - SSIS 2012 高级应用 -Script Component处理不规则平面文件场景介绍在使用SSIS从平面文件导入源数据时,最常遇到的是以下两种情况:导入规则的平面文件,这种文件的每一行数据的解析规则都是一样的导入不规则的平面文件,这种文件可能包含多种数据结构,比如某些...
分类:其他   时间:2015-08-28 19:24:36    收藏:0  评论:0  赞:0  阅读:189
逆波兰表达式计算(后缀表达式)
#include#include#includeusing namespace std;templateclass stack{private: T* base; T* top; int stackSize;public: stack(int a=100):stackSize...
分类:其他   时间:2015-08-28 19:24:15    收藏:0  评论:0  赞:0  阅读:113
CRefreshLayout
CRefreshLayout介绍:文字碎片效果的下拉刷新,可以自定义refresh view ,类似与ios上的CBStoreHouseRefreshControlhttp://itlanbao.com/code/20150816/10000/100433.html运行效果:相关代码FlyRefre...
分类:其他   时间:2015-08-28 19:23:45    收藏:0  评论:0  赞:0  阅读:192
USACO 1.1 Friday the Thirteenth
Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day ...
分类:其他   时间:2015-08-28 19:23:35    收藏:0  评论:0  赞:0  阅读:163
[LeetCode]Ugly Number II
Ugly Number IIWrite a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2,...
分类:其他   时间:2015-08-28 19:23:25    收藏:0  评论:0  赞:0  阅读:235
grunt构建前端自动化的开发环境
废话不多说.直奔主题.1.安装node.别问为什么.如果你不知道,说了你还是不知道.别问怎么安装,自己去百度.2.安装grunt_CLI.安装完node,并且安装成功了,后.下载grunt_Cli.看到如上界面,说明安装成功了.查看grunt版本.3.在F盘新建grunt目录目录里面新建如下文件,和...
分类:其他   时间:2015-08-28 19:23:15    收藏:0  评论:0  赞:0  阅读:325
ripple Failed to load resource: the server responded with a status of 404 (Not Found)
ripple Failed to load resource: the server responded with a status of 404 (Not Found)
分类:其他   时间:2015-08-28 19:23:05    收藏:0  评论:0  赞:0  阅读:611
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!