`
shappy1978
  • 浏览: 679140 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
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: https://discuss.bitrise.io/t/android-sdk-license-issue/97/2 set -ex mkdir -p ...
  Skip to end of metadata   Created by David MacBride, last modified on Jul 26, 2013 Go to start of metadata   Table Of Contents
* pbcopy & pbpaste   OS X的终端下通用很多Unix的工具和脚本。如果从Linux迁移到OS X会发现很多熟悉的命令和脚本工具,其实并没有任何区别。   但是OS X也提供了很多其他系统所没有的特别的命令行工具。我们推荐8个这类的工具,希望有助于提高在Mac的命令行环境下的效率。   1. open   open 命令用于打开文件、目录或执行程序。就等同于在命令行模式下,重复图形界面“双击”的动作。例如这个命令与在Finder中双击Safari是一样的:   $ open /Applications/Safari.app/ 如果 open 一 ...
  https://www.byvoid.com/zht/blog/sort-radix [非基於比較的排序] 在計算機科學中,排序是一門基礎的算法技術,許多算法都要以此作爲基礎,不同的排序算法有着不同的時間開銷和空間開銷。排序算法有非常多種,如我們最常用的快 ...

Putty Uses

    博客分类:
  • CI
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 windows redraw issue(not very sure why cocoa will has such an issue). But it don't mean it can't conne ...

Layer of BDD

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

Fastlane 01

    博客分类:
  • CI
http://www.cocoachina.com/ios/20150916/13433.html * how to enhance script and function.   简介 持续集成是个“一次配置长期受益”的工作。但很多小公司都没有。以前在做Windows开发配置感觉简单一些,这次配置iOS的,感觉步骤还挺多。整理出 ...

Auto Trigger Jenkins Jobs

    博客分类:
  • CI
http://www.tuicool.com/articles/iaUJjm2 2 ways: First is a little stupid that trigger frequently by 5 * H/10 * * * * //every 10 mins H/1 * * * *  //every 1 h H/x * * * *  //every x mins * * * * * //every minute   Second to trigger by git hooks, call curl to trigger job github>settings&g ...

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" minToolsVersion="8.0"/>
https://www.raywenderlich.com/41377/creating-a-static-library-in-ios-tutorial # define output folder environment variable UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal # Step 1. Build Device and Simulator versions xcodebuild -target ImageFilters ONLY_ACTIVE_ARCH=NO -configura ...

Run sudo in Jenkins

    博客分类:
  • CI
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/sudoers jenkins ALL=NOPASSWD: /pathOfMyScript But if you don't use root user to make such change, you will get error:  sudo: /etc/ ...

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 buidl_id -Xmx8000M -scan -f (fullpath)/result.fpr    BIRTReportGenerator -template "O ...

Inside Code Signing

Mac OS Version 10.0 Cheeta 10.1 Puma 10.2 Jaguar 10.3 Panthe 10.4 Tiger 10.5 Leopard 10.6 Snow Leapard
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.sh GLOBAL_OUTDIR="`pwd`/dependencies" LOCAL_OUTDIR="./outdir" LEPTON_LIB="`pwd`/leptonica-1.73" TIFF_LIB="`pwd`/tiff-4.0.6&q ...

The Mayflower

五月花”号(The Mayflower)是1620年一艘从英格兰的普利茅斯搭载清教徒等人前往位于美洲新大陆马萨诸塞普利茅斯殖民地的客船。于1620年9月6日包括35名清教徒在内的共102名乘客登上名叫五月花号的木制帆船,从英格兰出发,11月 ...
Global site tag (gtag.js) - Google Analytics