自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(581)
  • 收藏
  • 关注

原创 Android Compile Error Do not Accept License

Description:You have not accepted the license agreements of the following SDK components:[Solver for ConstraintLayout 1.0.0-beta4, ConstraintLayout for Android 1.0.0-beta4]. Solution:ht...

2017-08-17 19:22:08 385

原创 Set Jenkins Slave as Windows Service

 Skip to end of metadata Created by David MacBride, last modified on Jul 26, 2013Go to start of metadata Table Of ContentsTable Of ContentsStepsStepsIf you are havi...

2017-07-12 18:35:59 350

原创 8个不可不知的Mac OS X专用命令行工具

* pbcopy & pbpaste OS X的终端下通用很多Unix的工具和脚本。如果从Linux迁移到OS X会发现很多熟悉的命令和脚本工具,其实并没有任何区别。 但是OS X也提供了很多其他系统所没有的特别的命令行工具。我们推荐8个这类的工具,希望有助于提高在Mac的命令行环境下的效率。 1. open open 命令用于打开文件、目录或执行程序。就...

2017-04-07 15:50:45 482

原创 三種線性排序算法 計數排序、桶排序與基數排序

 https://www.byvoid.com/zht/blog/sort-radix[非基於比較的排序]在計算機科學中,排序是一門基礎的算法技術,許多算法都要以此作爲基礎,不同的排序算法有着不同的時間開銷和空間開銷。排序算法有非常多種,如我們最常用的快速排序和堆排序等算法,這些算法需要對序列中的數據進行比較,因爲被稱爲基於比較的排序。基於比較的排序算法是不能突破O(NlogN)...

2017-03-08 15:08:01 250

原创 Putty Uses

Putty home page: http://www.chiark.greenend.org.uk/~sgtatham/putty, it already contains a green zip for win32. From the document, it do not provide a mac os version bocoz of cocoa has issue on w...

2017-02-20 11:26:29 140

原创 Layer of BDD

Step: feature的步骤对接, 数据解析或者重组,moco数据构建,这里不需要对步骤做拆分Flow: 拆分步骤为页面可操作或者可共用级别的函数Page:element定义,基本步骤函数MyPlatformDriver:基于platformDriver的进一步封装PlatformDriver: 基于Appium platform driver的封装 ...

2017-01-22 16:40:30 140

原创 Fastlane 01

http://www.cocoachina.com/ios/20150916/13433.html* how to enhance script and function. 简介持续集成是个“一次配置长期受益”的工作。但很多小公司都没有。以前在做Windows开发配置感觉简单一些,这次配置iOS的,感觉步骤还挺多。整理出来,分享给大家,不正确的地方请及时指正。本文主要使用fa...

2017-01-12 11:50:53 135

原创 Auto Trigger Jenkins Jobs

http://www.tuicool.com/articles/iaUJjm22 ways:First is a little stupid that trigger frequently by 5 *H/10 * * * * //every 10 minsH/1 * * * *  //every 1 hH/x * * * *  //every x mins* * * ...

2016-12-09 18:48:25 198

原创 Xib Enhanced by XCode8

I have a solution:Open storyboard as "source Code" (right click on storyboard -> open as -> source code).Delete this row: <capability name="documents saved in the Xcode 8 format" m...

2016-12-05 17:02:51 136

原创 Script to Build Universal Lib

https://www.raywenderlich.com/41377/creating-a-static-library-in-ios-tutorial# define output folder environment variableUNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal # Step 1...

2016-11-30 11:06:22 121

原创 Run sudo in Jenkins

Some script need to run with sudo command, if we get error that permission deny, we need to run with sudo.To enable sudo in jenkins, need to add bellow line to /etc/sudoersjenkins ALL=NOPASSWD: /...

2016-11-28 15:46:10 156

原创 Fortify Scan

sourceanalyzer -b buidl_id -Xmx8000M xcodebuild clean build -workspace xxx.xcworkspace -scheme xxx -configuration Release build "CODE_SIGN_IDENTITY=iPhone Distribution: xxx" sourceanalyzer -b bui...

2016-11-21 18:53:37 488

原创 Inside Code Signing

Mac OS Version10.0 Cheeta10.1 Puma10.2 Jaguar10.3 Panthe10.4 Tiger10.5 Leopard10.6 Snow Leapard10.7 Lion10.8 Moutain Lion10.9 Mavericks (2013, change the resource sign rule)10.1...

2016-11-17 14:44:09 176

Cross Compile Script of Tesseract

The script on internet is both too old and has issues on compiling. I enhance it and it's suitable for XCode 7.3.1#!/bin/sh# build.shGLOBAL_OUTDIR="`pwd`/dependencies"LOCAL_OUTDIR="./outdir...

2016-11-14 18:51:16 205

原创 The Mayflower

五月花”号(The Mayflower)是1620年一艘从英格兰的普利茅斯搭载清教徒等人前往位于美洲新大陆马萨诸塞普利茅斯殖民地的客船。于1620年9月6日包括35名清教徒在内的共102名乘客登上名叫五月花号的木制帆船,从英格兰出发,11月11日在鳕鱼角附近靠岸(均按儒略历)66天的航程只有一人死去,且诞生了一名婴孩,所以仍然维持102名抵达目的地。这次航行是在1607年由弗吉尼亚公司成功地建立...

2016-11-07 17:23:46 1799

原创 Checking Maven Setting

http://stackoverflow.com/questions/1261215/maven-command-to-determine-which-settings-xml-file-maven-is-using* mvn -X to check local/global setting, include local repo path* mvn install to set set...

2016-11-03 16:50:01 119

原创 split and merge file

Mac:split -b X filname outputfilename   //X is size, 10k or 100mcat filename.01 filename.02 ... filename.20 > filename Windows:Copy 002.jpg/b + 001.txt/a 003.jpg  //b mean binary, a mean...

2016-11-02 17:01:43 305

原创 About Halloween

https://en.wikipedia.org/wiki/HalloweenAbout Halloween/HallowmasVocabularypumpkinwitchskeletonghostcobweb 蜘蛛网headstone 墓碑 萬聖節與圣诞节一樣都是来自于天主教对其它文化的节日的吸收和重新诠释。万圣夜起源于不列颠凯尔特人的传统节日,在10...

2016-10-31 15:50:59 351

原创 Homebrew saying Xcode is outdated

http://stackoverflow.com/questions/40296756/homebrew-saying-xcode-is-outdated sudo xcode-select --switch /Applications/XCode.app So as @NicolasMiari mentioned in a comment above, the fix to my...

2016-10-28 18:44:34 387

原创 How to disable Windows Dev license checking

How to  disable Windows Dev license checking Backgroud When we are using VS to debug App, we need Windows Dev license. But network proxy block our device to renew the license.If the licens...

2016-10-24 15:32:41 181

原创 100个中国传统英文词汇,你会用英语表达吗?

    100个中国传统英文词汇  今天是农历正月十五元宵节,,是中国汉族民俗传统节日。元宵节用英文怎么说?除了元宵节,刺绣、剪纸、书法、小笼包、《红楼梦》„„这些中华传统都会吗? 下面小编助你一臂之力,一起来学习吧!(via中国日报)    1.元宵节:Lantern Festival    2.刺绣:Embroidery    3.重阳节:Double-Ninth Festiv...

2016-10-20 10:11:53 525

原创 Paper Tower and etc

你用对“纸巾”了没有?  在英语当中,表达“纸巾”的词很多。如 tissue, ( paper ) napkin, serviette, toilet paper, facial paper, paper towel . 但这些词是有区别的,也就是说,在不同的场合用不同的“纸巾”。    一.餐巾  1. napkin ['næpkin] :piece of paper used at ...

2016-10-20 10:05:18 597

原创 iOS开发--适配iOS 10以及Xcode 8

http://www.cocoachina.com/ios/20161014/17574.html 就我的使用来说,总体觉得苹果还是坑不断,但是也在一直进步的啦。下面我就来说说,iOS10的适配以及Xcode8使用上的一些注意点。一、证书管理用Xcode8打开工程后,比较明显的就是下图了,这个是苹果的新特性,可以帮助我们自动管理证书。建议大家勾选这个Automatically m...

2016-10-17 15:35:14 108

原创 Run Unit Test and Code Coverage

* xcode plugin will generage the test report, to do the same thing, we need xcpretty to export junit report #proj + target and workspace + schemexcodebuild test \    -workspace xxx.xcworkspac...

2016-10-10 15:56:44 188

原创 How to find a command installed path

$ ls -P slatheror $ which slather

2016-09-29 12:16:02 107

原创 can't access jenkins by ip

if jenkins is installed by brew, it will set the binding port to 127.0.0.1 by default. and can't access by ip through network or local browser. To fix it, pls refer bellow url:http://mikezornek.com...

2016-09-28 16:49:54 123

原创 install app to simulator

前言刚刚接触iOS的时候,我就一直很好奇,模拟器上面能不能直接安装app呢?如果可以,我们就直接在模拟器上面聊QQ和微信了。直到昨天和朋友们聊到了这个话题,没有想到还真的可以给模拟器“安装”app!一.应用场景先来谈谈是什么情况下,会有在模拟器上安装app的需求。在一个大公司里,对源码的管理有严格的制度,非开发人员是没有权限接触到源码的。对苹果的开发证书管理也非常严格,甚至连开发...

2016-09-26 16:44:37 256

原创 issues in XCode 8

http://www.cocoachina.com/bbs/read.php?tid=1696016 升级xcode8已是必然,升级ios10的用户不能说大有人在,应该也不会少,楼主听说,如果不升级xcode8,上架最新的包,那么可能应用在ios10 上是不支持的.so,这些xcode8的新特性,你应该了解!!!1.快捷键  command + /   注释失效; 解决方法1: Xcod...

2016-09-26 16:37:49 126

原创 Reset Jenkins PW

//for win, only need to do 2,3 and restart.  1. Edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml   2. set userSecurity to false: <userSecurity>false</userSecurity...

2016-09-23 14:40:37 138

原创 Iterm2 快捷键介绍

Mac 原来自带的终端工具 Terminal 不好用是出了名的,虽然最近几个版本苹果稍微做了些优化,功能上,可用性方面增强不少,无奈有个更好用的 Iterm2 摆在那,基本上也就没有多少出场机会了Iterm2,经常使用终端的同学肯定早就切换到这个东东上了,开源免费,和 zsh 搭配差不多已经取代 Terminal + bash 成了 Mac 上终端工具的标准配置。Iterm2 的优点:...

2016-09-23 10:57:15 101

原创 Image Filter on Java

Image Filter on Java:http://jhlabs.com/ip/filters/index.htmlSource code: http://jhlabs.com/ip/filters/Filters.zip

2016-08-25 15:24:23 128

原创 SMB protocol in Java

http://www.du52.com/text.php?id=363 if you use ad to access remote server then need to add ur profile include domain: smb://user:pw@xxx/xx  太坑爹

2016-08-24 16:19:00 123

原创 Jenkins Metro App Build

* MSBuildC:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exeThough there is not exe in bin dir, just ignore the warnning and proceed.I set the path to C:\Program Files (x86)\MSBuild\12.0\Bin\M...

2016-08-03 17:51:22 99

原创 [trans] 从零开始做App的Bootstrap

https://qdan.me/list/VaXl7N8emfv1ayWg从零开始做App的Bootstrap做一个App,需要很多东西。不定期更新。团队工欲善其事,必先利其器。需求管理支持版本、迭代、需求的创建与管理。产品经理在上面录入需求,开发参照开发,测试参照写测试用例,并进行状态流转。国内大厂如...

2016-07-25 15:58:36 644

原创 Tesseract for Sikulix

// need to also select option 1 Jyphon even if you only want to install tesseract, if will popup msg to reuse the downloaded jar// lib is download to /Users/xxx/Library/Applicatoin Support...

2016-07-20 19:17:49 259

原创 WebP

前言不管是 PC 还是移动端,图片一直是流量大头,以苹果公司 Retina 产品为代表的高 PPI 屏对图片的质量提出了更高的要求,如何保证在图片的精细度不降低的前提下缩小图片体积,成为了一个有价值且值得探索的事情。但如今对于 JPEG、PNG 和 GIF 这些图片格式的优化几乎已经达到了极致, 若想改变现状开辟新局面,便要有釜底抽薪的胆量和气魄,而 Google 给了我们一个新选择:W...

2016-07-20 12:07:09 167

原创 About Leave in English

// interesting this site 【英語】 多益|職場英文請假怎麼請?就用 Take 吧!各式各樣的理由還有實用對 分享一下怎麼用英文請假呢!英文「請」假的「請」要怎麼翻?答案就是最實用的動詞:Take!Take 這個字實在很好用,可以拿來「吃」藥、「洗」澡、還有「拿」、「視為」的意思 至於「假」要怎麼翻?答案就是...

2016-07-18 14:31:08 138

原创 XCode Plugin

* cmd+shift+9  //manage plugin* cmd+shift+x  //format* cmd+ctr+p  //add header//************************************************************************************常用的Xcode插件自己常用的插件整理:安装...

2016-07-15 18:43:58 171

原创 Speedup Coding in XCode

www.cocoachina.com/ios/20160708/16989.html* cmd+0(hide/show navigarot), cmd+alt+0(h/s tool panel)* cmd+ret(single editor), cmd+alt+ret (assist editor)* cmd+alt+1-6 (tool panel tab)* ^2(his l...

2016-07-15 17:52:26 129

原创 Wifi API in iOS

查漏补缺集是自己曾经做过相关的功能,但是重做相关功能或者重新看到相关功能的实现,感觉理解上更深刻。这一类的文章集中记录在查漏补缺集。iOS 开发中难免会遇到很多与网络方面的判断,这里做个汇总,大多可能是与WiFi相关的。1.Ping域名、Ping某IP有时候可能会遇到ping 某个域名或者ip通不通,再做下一步操作。这里的ping与传统的做get或者post请求还是有很大区别的。...

2016-07-15 10:31:47 109

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除