首页 > 2015年10月28日 > 全部分享
SWIFT——字符
文章为自己学习所用,系转载。为学习51cto课程的笔记。如有侵权,请私信本人进行删除。链接如下。?http://edu.51cto.com/roadmap/view/id-58.html1、获取字符串中的每一个字符1 let strValue1 = "获取字符串中的每一个字符"2 for c in ...
分类:编程语言   时间:2015-10-28 16:59:51    收藏:0  评论:0  赞:0  阅读:219
RT: TCP connection close
CLOSE is an operation meaning "I have no more data to send." The notion of closing a full-duplex connection is subject to ambiguous interpretation, of...
分类:其他   时间:2015-10-28 16:59:41    收藏:0  评论:0  赞:0  阅读:333
系统级滑动返回手势的屏蔽和开启
屏蔽滑动返回手势 self.navigationController.interactivePopGestureRecognizer.enabled = NO;重新开启滑动返回手势self.navigationController.interactivePopGestureRecognizer.e....
分类:其他   时间:2015-10-28 16:59:21    收藏:0  评论:0  赞:0  阅读:240
Android-简单的sdcard文件浏览
功能:能够浏览手机里面的文件夹和文件,代码灰常简单先看布局 主函数 1 package com.example.fanlei.myservicedemo; 2 3 import android.annotation.TargetApi; 4 i...
分类:移动平台   时间:2015-10-28 16:59:01    收藏:0  评论:0  赞:0  阅读:286
thinkphp分页显示
先在Common\Comon里建一个function.php公共方法,然后在里面新建一个getpage方法,代码如下:where($where)->count();//连惯操作后会对join等操作进行重置 $m=$m1;//为保持在为定的连惯操作,浅复制一个模型 $p=new Think...
分类:Web开发   时间:2015-10-28 16:58:41    收藏:0  评论:0  赞:0  阅读:272
delphi去掉括号及括号内的内容函数
function TSetParkForm.RemoveSgin(str: string): string; // 去掉括号内的内容(包括括号)var i1, i2, i: integer;begin for i := 0 to length(str) - 1 do begin i1...
分类:Windows开发   时间:2015-10-28 16:58:31    收藏:0  评论:0  赞:0  阅读:1058
CodeSmith生成Entity时SourceTable.Description换行不注释
问题、使用SourceTable.Columns.Description时,当数据库列的注释多行时1 #region 变量定义2 3 ///4 ///5 ///6 7 8 #endregi...
分类:其他   时间:2015-10-28 16:58:21    收藏:0  评论:0  赞:0  阅读:345
js对URL的相关操作集锦
---恢复内容开始---1.location.href.....(1)self.loction.href="/url" window.location.href="/url" 以上两个用法相同均为在当前页面打开URL页面(2)this.location.href="/url" 当前页面打开URL(3...
分类:Web开发   时间:2015-10-28 16:58:11    收藏:0  评论:0  赞:0  阅读:219
ASP.NET 5 Middleware, Or Where Has My HttpModule Gone?
31 March 2015 13:22ASP.NET 5 has been largely rewritten from the ground up, and incorporates some radical changes when compared with previous versions...
分类:Web开发   时间:2015-10-28 16:58:01    收藏:0  评论:0  赞:0  阅读:276
语言基础
string name,dw; Console.Write("请输入您的名字:"); name = Console.ReadLine(); Console.Write("请输入您的年龄:"); int age = int.Parse(Console.ReadLine()); Console.Writ...
分类:编程语言   时间:2015-10-28 16:57:41    收藏:0  评论:0  赞:0  阅读:311
getRequestDispatcher()与sendRedirect()的区别
转自getRequestDispatcher()与sendRedirect()的区别1.request.getRequestDispatcher()是请求转发,前后页面共享一个request ;response.sendRedirect()是重新定向,前后页面不是一个request。request....
分类:其他   时间:2015-10-28 16:57:31    收藏:0  评论:0  赞:0  阅读:279
UIAlertController
专题 UIAlertController// iOS8之前 // UIAlertView // UIActionSheet; // iOS8开始 // UIAlertController == UIAlertView + UIActionSheet UIAler...
分类:其他   时间:2015-10-28 16:57:21    收藏:0  评论:0  赞:0  阅读:298
js对URL的相关操作集锦
js对URL的相关操作集锦
分类:Web开发   时间:2015-10-28 16:28:46    收藏:0  评论:0  赞:3  阅读:435
Xcode7.1与iOS9之坑
前几天升级OS X EI Capitan 10.11.1, 以及Xcode7.1,正好赶上公司新产品上线,要做iOS9的适配,遇到各种坑,各种查资料,随之记录总结一下遇到的坑.先说下要适配iOS9要做的事:
分类:编程语言   时间:2015-10-28 16:25:46    收藏:0  评论:0  赞:3  阅读:421
让我们聊聊秒杀这东西
万事皆有因 这段似乎都成我写blog标准开头。言归正转,公司以前业务涉及到秒杀,并且是白天从10点起到晚上10点每小时一次(TT天天心惊肉跳的),周六还有个大礼包活动(重量级,经常会出一些你意想不到的事情,例...
分类:其他   时间:2015-10-28 15:55:30    收藏:0  评论:0  赞:0  阅读:216
double数据的存储细节
浮点数在计算机内的存储是怎样的呢?以双精度浮点数为例来说吧: Most nonzero ?oating-point numbers are normalized. This means they can be ? expressed as : ? ? ? ??x = ±(1 + f) *2^e Double-pre...
分类:其他   时间:2015-10-28 15:54:37    收藏:0  评论:0  赞:0  阅读:264
解决svn冲突
下班前提交代码,没想到遇到一堆冲突。。。 遇到冲突的时候最为心烦,不过也是难以避免的。只能耐心处理,首先要找到发生冲突的文件,仔细审查冲突的代码,对比最新版本的代码和自己的代码,再加以整合。然后提交...
分类:其他   时间:2015-10-28 15:54:23    收藏:0  评论:0  赞:0  阅读:193
Two Sum
问题链接:https://leetcode.com/problems/two-sum/ 解法1:50ms class?Solution?{ public: ????vector<int>?twoSum(vector<int>&?nums,?int?target)?{ ????????vector<int>?copy?=?nums;...
分类:其他   时间:2015-10-28 15:53:43    收藏:0  评论:0  赞:0  阅读:251
iOS NSTimer样例demo
所有代码如下:是一个画板三基颜色的随机变化 #import?"AppDelegate.h" @interface?AppDelegate?() { ????NSTimer?*_timer;//定时器 } @end @implementation?AppDelegate -?(void)dealloc?{ ????...
分类:移动平台   时间:2015-10-28 15:53:31    收藏:0  评论:0  赞:0  阅读:243
移动分发端 基础统计指标经典业务代码节选--留存用户统计
.net + sql???????? ????????????????????#region?构造统计日期临时表 ????????????????????DataTable?originalDates?=?new?DataTable(); ???????...
分类:移动平台   时间:2015-10-28 15:53:21    收藏:0  评论:0  赞:0  阅读:300
1740条   上一页 1 ... 37 38 39 40 41 ... 87 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!