#pragma mark Core Animation-
(IBAction)buttonPressed1:(id)sender { UIButton *button = (UIButton *)sender;
NSInteger tag = button.tag; CATransition...
分类:
移动开发 时间:
2014-06-11 11:13:59
阅读次数:
275
/// /// 将字符串数组转换成整形数组 /// /// /// protected static
int[] ToIntArray(string[] Content) { int[] c = new int[Content.Length...
分类:
其他好文 时间:
2014-06-11 11:13:15
阅读次数:
179
在程序包管理器控制台1.执行:Enable-Migrations-Force
生成:Migrations2 修改AutomaticMigrationsEnabled默认为false改为true3.执行:Update-Database
-Verbose
分类:
数据库 时间:
2014-06-11 11:05:45
阅读次数:
310
翻译来自
:http://wiki.jabbercn.org/index.php?title=XEP-0045&variant=zh-cn#.E6.9C.AF.E8.AF.AD通用术语Affiliation(岗位)--
一个长期存在的和房间之间的联系或连接; 可能的岗位有 "owner"(所有者),...
分类:
其他好文 时间:
2014-06-11 11:00:21
阅读次数:
311
Jenkins的job->build 支持Ant,maven,windows
batch和Shell,
但是我们知道python,perl,ruby等脚本其实也是shell脚本,所以这里的Shell可以扩展为python,perl,ruby等。例如:
下面执行windows batch 和pytho...
分类:
编程语言 时间:
2014-06-11 10:03:49
阅读次数:
296
varresult=fromuindb.Orderjoinnindb.Equipmentonu.OrderIdequalsn.OrderIdintotempfrommintemp.DefaultIfEmpty()selectnew{OrderID=u.OrderId,Customername=u.....
分类:
其他好文 时间:
2014-06-11 09:54:13
阅读次数:
177
修改环境变量:process.env.NODE_TLS_REJECT_UNAUTHORIZED =
"0"
分类:
Web程序 时间:
2014-06-11 09:48:30
阅读次数:
1000
my %h=%{foo()} #接收hashsub foo{ my %fh; $fh{a}=1;
return \%fh;
#返回hash引用}grep??在hash中,当检验一个元素值是否被定义是用defined,当检验一个key在hash中是否存在时,用exists。
分类:
其他好文 时间:
2014-06-11 09:40:45
阅读次数:
440
//js验证数字输入function gaga(obj){ //
值允许输入一个小数点和数字obj.value = obj.value.replace(/[^\d.]/g,"");
//先把非数字的都替换掉,除了数字和.obj.value = obj.value.replace(/^\./g,"")...
分类:
Web程序 时间:
2014-06-11 09:33:02
阅读次数:
268
核心代码:/*String filename="角色信息表.xls";String
realpath="d:\\"+filename;File f =new File(realpath);if(f.exists());else
f.createNewFile();*/response.setChar...
分类:
其他好文 时间:
2014-06-11 09:30:21
阅读次数:
243