04 2016 档案

摘要:参考: http://www.linfo.org/path_env_var.html PATH is an environmental variable in Linux and other Unix-like operating systems that tells the shell which 阅读全文
posted @ 2016-04-30 13:49 qike 阅读(220) 评论(0) 推荐(0)
摘要:value=nil时删除该item value=[NSNull null]时在iOS7.1的系统是否会引起crash? 阅读全文
posted @ 2016-04-29 15:32 qike 阅读(192) 评论(0) 推荐(0)
摘要:原文:https://www.bignerdranch.com/blog/javascriptcore-example/ JavaScriptCore is not a new framework; in fact, it’s been lurking on Mac OS X ever since 阅读全文
posted @ 2016-04-29 11:54 qike 阅读(239) 评论(0) 推荐(0)
摘要:参考: http://stackoverflow.com/questions/992348/reading-html-content-from-a-uiwebviewNSString *html = [yourWebView stringByEvaluatingJavaScriptFromStrin 阅读全文
posted @ 2016-04-27 18:04 qike 阅读(155) 评论(0) 推荐(0)
摘要:参考: http://vim.wikia.com/wiki/Indent_a_code_block =i{ reindents "inner block" (inside the braces).=a{ reindents "a block" (including the braces).=2a{ 阅读全文
posted @ 2016-04-27 11:03 qike 阅读(175) 评论(0) 推荐(0)
摘要:参考: http://www.cyberciti.biz/faq/copy-folder-linux-command-line/In this example copy /home/vivek/letters folder and all its files to /usb/backup direc 阅读全文
posted @ 2016-04-26 12:15 qike 阅读(168) 评论(0) 推荐(0)
摘要:参考:http://vim.wikia.com/wiki/Copy,_cut_and_pastePosition the cursor where you want to begin cutting.Press v to select characters (or uppercase V to se 阅读全文
posted @ 2016-04-26 00:21 qike 阅读(217) 评论(0) 推荐(0)
摘要:参考: http://stackoverflow.com/questions/53664/how-to-effectively-work-with-multiple-files-in-vim You can use tabs (introduced in Vim 7) to switch betwe 阅读全文
posted @ 2016-04-25 23:46 qike 阅读(135) 评论(0) 推荐(0)
摘要:参考:http://www.macworld.com/article/2981585/operating-systems/how-to-make-a-bootable-os-x-10-11-el-capitan-installer-drive.html sudo ~/Desktop/createin 阅读全文
posted @ 2016-04-25 03:07 qike 阅读(958) 评论(0) 推荐(0)
摘要:用gradlew build --info获取错误原因 阅读全文
posted @ 2016-04-23 08:24 qike 阅读(2064) 评论(0) 推荐(0)
摘要:参考: JavaScriptCore框架在iOS7中的对象交互和管理教程 http://blog.csdn.net/kaitiren/article/details/23256191 UIWebView 中JavaScript 与 Objective-C 通信 http://blog.csdn.ne 阅读全文
posted @ 2016-04-22 21:12 qike 阅读(141) 评论(0) 推荐(0)
摘要:参考:http://stackoverflow.com/questions/14334047/how-to-call-javascript-function-in-objective-c [_webView stringByEvaluatingJavaScriptFromString:@"metho 阅读全文
posted @ 2016-04-22 18:40 qike 阅读(157) 评论(0) 推荐(0)
摘要:参考:http://stackoverflow.com/questions/17206514/where-is-the-warnings-view-in-android-studioon the toolbar, you click Analyze -> Inspect Code; then in 阅读全文
posted @ 2016-04-22 11:30 qike 阅读(154) 评论(0) 推荐(0)
摘要:参考:http://stackoverflow.com/questions/20252180/how-to-find-string-in-project-in-android-studio How to find string in project in Android Studio?First o 阅读全文
posted @ 2016-04-22 11:10 qike 阅读(203) 评论(0) 推荐(0)
摘要:原文:http://www.codecoffee.com/tipsforlinux/articles/20.html The simplest way to find files under Linux is to use the locate program. This article expla 阅读全文
posted @ 2016-04-21 15:39 qike 阅读(154) 评论(0) 推荐(0)
摘要:原文:http://www.codecoffee.com/tipsforlinux/articles/21.html Files can be found under Linux in many different ways. Using the find tool is one of the be 阅读全文
posted @ 2016-04-21 15:38 qike 阅读(200) 评论(0) 推荐(0)
摘要:self.bridge = [WebViewJavascriptBridge bridgeForWebView:self.webView]; 此时代理为self.bridge [self.bridge setWebViewDelegate:self]; 此时代理为self 如果self.webVie 阅读全文
posted @ 2016-04-20 21:56 qike 阅读(141) 评论(0) 推荐(0)
摘要:系统升级后是否需要重新生成设备识别信息? 阅读全文
posted @ 2016-04-20 14:46 qike 阅读(594) 评论(0) 推荐(0)
摘要:Use the Gradle Wrapper for your Android projects http://kevinpelgrims.com/blog/2015/05/25/use-the-gradle-wrapper-for-your-android-projects/ Gradle ver 阅读全文
posted @ 2016-04-19 23:09 qike 阅读(119) 评论(0) 推荐(0)
摘要:参考:http://vim.wikia.com/wiki/Inserting_text_in_multiple_linesIn visual block mode, you can press I to insert text at the same position in multiple lin 阅读全文
posted @ 2016-04-19 12:51 qike 阅读(251) 评论(0) 推荐(0)
摘要:参考:http://www.ewhathow.com/2013/09/how-to-enable-mod_rewrite-on-apache/ Lets check if mod_rewrite exists as a module:ls /etc/httpd/modules | grep mod_ 阅读全文
posted @ 2016-04-19 12:35 qike 阅读(248) 评论(0) 推荐(0)
摘要:http://www.tutorials.kode-blog.com/laravel-hello-world http://www.tutorials.kode-blog.com/laravel-install-and-configure 注意: 要添加文件权限和文件所有权 # chmod 775 阅读全文
posted @ 2016-04-18 20:34 qike 阅读(179) 评论(0) 推荐(0)
摘要:To display line numbers::set numberor::set nu This will turn off the line number display::set nonumber 阅读全文
posted @ 2016-04-18 20:30 qike 阅读(134) 评论(0) 推荐(0)
摘要:重启apache服务器 service httpd start 或 /bin/systemctl restart httpd.service 阅读全文
posted @ 2016-04-18 19:47 qike 阅读(102) 评论(0) 推荐(0)
摘要:http://www.photonvps.com/billing/knowledgebase.php?action=displayarticle&id=58&language=chinese 阅读全文
posted @ 2016-04-18 19:35 qike 阅读(27) 评论(0) 推荐(0)
摘要:showError: 会在[self.textfield resignFirstResponder];执行时隐藏不能达到显示2.5秒左右的效果 解决方法:延时执行隐藏键盘的代码,延时正好等于showError:显示时长 [self performSelector:@selector(hideKeyB 阅读全文
posted @ 2016-04-18 16:56 qike 阅读(669) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/19274408/drawinrectwithattributes-vs-drawinrectwithfontlinebreakmodealignment- (void)drawRect:(CGRect)frame{ NSMuta 阅读全文
posted @ 2016-04-18 16:27 qike 阅读(397) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/2694411/text-inset-for-uitextfieldmyTextField.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0); 占位符和 阅读全文
posted @ 2016-04-18 14:28 qike 阅读(248) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/hshl1214/article/details/6228275 命令行中执行如下:[root@fsc feng]# file /sys/power/state/sys/power/state: ASCII text[root@fsc feng]# c 阅读全文
posted @ 2016-04-18 10:27 qike 阅读(782) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/18868869/ios7s-subview-trimmed-if-out-of-parent-view-bounds It's because iOS 7 introduced some changes to the view 阅读全文
posted @ 2016-04-15 15:31 qike 阅读(137) 评论(0) 推荐(0)
摘要:Try setting self.automaticallyAdjustsScrollViewInsets = NO in your main view controller.This was introduced in iOS 7 so you might want to wrap that wi 阅读全文
posted @ 2016-04-12 16:26 qike 阅读(153) 评论(0) 推荐(0)
摘要:发布新版本时选择需要进行页面路径分析的特定版本 阅读全文
posted @ 2016-04-12 10:28 qike 阅读(1007) 评论(0) 推荐(0)
摘要:#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending 阅读全文
posted @ 2016-04-07 18:12 qike 阅读(172) 评论(0) 推荐(0)
摘要:centos yum 安装php 7.0 https://webtatic.com/packages/php70/ 阅读全文
posted @ 2016-04-05 13:56 qike 阅读(113) 评论(0) 推荐(0)
摘要:composer官网:https://getcomposer.org/ laravel官网:https://laravel.com/docs/5.2/installation Hi All, In this article we are going to setup Laravel on CentO 阅读全文
posted @ 2016-04-05 13:49 qike 阅读(221) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示