jackyshan

导航

 
上一页 1 ··· 4 5 6 7 8 9 下一页

2016年1月13日

摘要: libz.dyliblibsqlite3.dyliblibstdc++.dylib添加这些动态链接库 阅读全文
posted @ 2016-01-13 11:02 jackyshan 阅读(220) 评论(0) 推荐(0) 编辑
 
摘要: 原因:It turns out the linker error was caused by the CGImageSourceCreateWithData call. And the root cause was because I didn't include ImageIO.framework... 阅读全文
posted @ 2016-01-13 10:57 jackyshan 阅读(172) 评论(0) 推荐(0) 编辑
 
摘要: 打开info.plist源代码复制粘贴 NSAppTransportSecurityNSAllowsArbitraryLoads 阅读全文
posted @ 2016-01-13 10:50 jackyshan 阅读(141) 评论(0) 推荐(0) 编辑
 

2015年9月21日

摘要: //左对齐[_btnsetContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft];//省略号靠右侧_btn.titleLabel.lineBreakMode=NSLineBreakByTruncatingTail; 阅读全文
posted @ 2015-09-21 11:46 jackyshan 阅读(2444) 评论(0) 推荐(0) 编辑
 

2015年5月21日

摘要: android.database.sqlite.SQLiteException: no such tableat android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at androi... 阅读全文
posted @ 2015-05-21 21:59 jackyshan 阅读(994) 评论(0) 推荐(0) 编辑
 

2015年4月8日

摘要: Mac平台解决方法:mysql.server start 阅读全文
posted @ 2015-04-08 15:37 jackyshan 阅读(130) 评论(0) 推荐(0) 编辑
 

2015年3月29日

摘要: 1.download title and url#!/usr/bin/envpython#-*-coding:utf-8-*-importre,urllib2,threadingdefgeturltitle(match,file):s=match.group();p=re.compile(r'^\[... 阅读全文
posted @ 2015-03-29 20:59 jackyshan 阅读(493) 评论(0) 推荐(0) 编辑
 

2014年11月20日

摘要: 关于mac上brew安装一些软件时遇到这个问题的解决。如果报错代码如:Error: The `brew link` step did not complete successfullyThe formula built, but is not symlinked into /usr/local/im... 阅读全文
posted @ 2014-11-20 11:32 jackyshan 阅读(2596) 评论(0) 推荐(0) 编辑
 

2014年2月12日

摘要: importsocket,threading,os,sys,queue,resocket.setdefaulttimeout(5)path=sys.path[0]ifos.path.isfile(path):path=os.path.split(path)[0]domain='www.baidu.com'que=queue.Queue()tno=20a=open(path+r'\proxy.txt').read().strip().split()foriina:que.put(i.split(':'))data='''GE 阅读全文
posted @ 2014-02-12 10:43 jackyshan 阅读(369) 评论(0) 推荐(0) 编辑
 
摘要: python主代码weather.pyimporturllib2importjsonfromcityimportcitycityname=raw_input('你想查哪个城市的天气?\n')citycode=city.get(cityname)ifcitycode:url='http://www.weather.com.cn/data/cityinfo/%s.html'%citycodecontent=urllib2.urlopen(url).read()data=json.loads(content)result=data['weatherinfo&# 阅读全文
posted @ 2014-02-12 10:14 jackyshan 阅读(2114) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 4 5 6 7 8 9 下一页