摘要: 在oj中Python的循环输入问题解决 在makefile中定义逗号字符串和空格字符串 在linux服务器上面部署javaweb项目jar包 数据结构与算法之栈(Java与Python实现) 在oj中Python的循环输入问题解决 阅读全文
posted @ 2017-02-28 19:01 toon的泥瓦匠 阅读(501) 评论(0) 推荐(0) 编辑
摘要: //// main.swift// leetcode02//// Created by GuoLa on 16/1/21.// Copyright © 2016年 GuoLa. All rights reserved.//import Foundationfunc input() -> St... 阅读全文
posted @ 2016-01-22 00:20 toon的泥瓦匠 阅读(447) 评论(0) 推荐(0) 编辑
摘要: class TwoSum { func sumTow(nums: [Int], target: Int)->[Int]{ var ret:[Int]=[0,0]; for (var x=0;x<nums.count;x++){ ... 阅读全文
posted @ 2016-01-22 00:17 toon的泥瓦匠 阅读(474) 评论(0) 推荐(0) 编辑
摘要: Objecttive-C Protocal 相似 Java Interface 阅读全文
posted @ 2015-04-16 10:12 toon的泥瓦匠 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1.通过https://www.startssl.com/免费SSL证书 STARTSSL 跟VeriSign一样,StartSSL(网址:http://www.startssl.com,公司名:StartCom)也是一家CA机构,它的根证书很久之前就被一些具有开源背景的浏览器支持(Firefox浏览器、谷歌Chrome浏览器、苹果Safari浏览器、IE浏览器)。 注册成为StartSSL(http://www.startssl.com)用户,并通过邮件验证后,就可以申请免费的可信任的SSL证书了。步骤比较复杂,就不详细介绍了,申请向导的主要步骤如下2.nginx 需要两个文件完成ht... 阅读全文
posted @ 2014-03-14 11:11 toon的泥瓦匠 阅读(2944) 评论(0) 推荐(0) 编辑
摘要: *注意是使用阿里云一键安装包的升级,升级前快照备份哟,小伙伴!1.SSH远程到root下下载新版本curl 网址地址:http://curl.haxx.se/download.html完成curl新版本的编译和安装[root@AY1312584349346eZ ~]# wget http://curl.haxx.se/download/curl-7.35.0.tar.gz[root@AY1312584349346eZ ~]# tar -zxvf curl-7.35.0.tar.gz[root@AY1312584349346eZ ~]# cd curl-7.35.0.tar.gz[root@.. 阅读全文
posted @ 2014-02-13 15:27 toon的泥瓦匠 阅读(7003) 评论(0) 推荐(0) 编辑
摘要: IntroductionTo send Push notification to an application/device couple you need an unique device token (see theObjectiveC page) and a certificate.Generate a Push CertificateTo generate a certificate on aMac OS X:Log-in to theiPhone Developer Program PortalChooseApp IDsfrom the menu on the right (or c 阅读全文
posted @ 2014-01-15 16:31 toon的泥瓦匠 阅读(2138) 评论(0) 推荐(0) 编辑
摘要: 使用 dispath_get_global_queue 并发的情况下 源代码下载: gcdtest.zip 001dispath_get_global_queue + dispath_async002dispath_get_global_queue + dispath_sync003 dispatch_async -> call dispatch_async004 dispatch_async -> call dispatch_sync005 dispatch_sync -> call dispatch_sync006 dispatch_sync -> call dis 阅读全文
posted @ 2013-05-03 13:48 toon的泥瓦匠 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 注意用*** xxxx **** 标注的部分 均为重要提示此文档如果帮助同样遇到问题的朋友,将不胜荣幸!感谢 冲冲同学的 支持和帮助!团队开始用Scrum模式开发当然需要借助项目管理工具。团队整体开发环境在 Apple的 OS X下开发。平台选用了bitnami http://bitnami.org/ 直接包含了Apache+mysql+redmine 套件。安装步骤:1.安装bitnami 2.1.6版本, ***下载最新的版本与Backlogs版本相互匹配***下载Bitnami这个安装,打开dmg文件,按照提示非常简单就可完成安装。2.安装Backlogs1)下载Backlogs htt 阅读全文
posted @ 2013-02-21 15:13 toon的泥瓦匠 阅读(3529) 评论(2) 推荐(0) 编辑
摘要: 学习顺序设计模式常用程度适用层次引入时机结构复杂度变化实现体现的原则1Factory Method很常用代码级编码时简单子类的实例化对象的创建工作延迟到子类开闭原则2Singleton很常用代码级、应用级设计时、编码时简单唯一实例封装对象产生的个数3Facade很常用应用级、构架级设计时、编码时简单子系统的高层接口封装子系统开闭原则4Template Method很常用代码级编码时、重构时简单算法子步骤的变化封装算法结构依赖倒置原则5Abstract Factory比较常用应用级设计时比较复杂产品家族的扩展封装产品族系列内容的创建开闭原则6Composite比较常用代码级编码... 阅读全文
posted @ 2013-01-02 11:51 toon的泥瓦匠 阅读(1438) 评论(1) 推荐(1) 编辑