摘要:
libz.dyliblibsqlite3.dyliblibstdc++.dylib添加这些动态链接库
阅读全文
posted @ 2016-01-13 11:02
jackyshan
阅读(229)
推荐(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
阅读(179)
推荐(0)
摘要:
打开info.plist源代码复制粘贴 NSAppTransportSecurityNSAllowsArbitraryLoads
阅读全文
posted @ 2016-01-13 10:50
jackyshan
阅读(151)
推荐(0)
摘要:
//左对齐[_btnsetContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft];//省略号靠右侧_btn.titleLabel.lineBreakMode=NSLineBreakByTruncatingTail;
阅读全文
posted @ 2015-09-21 11:46
jackyshan
阅读(2461)
推荐(0)
摘要:
android.database.sqlite.SQLiteException: no such tableat android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at androi...
阅读全文
posted @ 2015-05-21 21:59
jackyshan
阅读(1028)
推荐(0)
摘要:
Mac平台解决方法:mysql.server start
阅读全文
posted @ 2015-04-08 15:37
jackyshan
阅读(140)
推荐(0)
摘要:
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
阅读(538)
推荐(0)
摘要:
关于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
阅读(2756)
推荐(0)
摘要:
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
阅读(374)
推荐(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
阅读(2142)
推荐(0)