原创 巧用UE瀏覽器CNC的INI文件

利用UE的workdfile和函數列表兩個功能,可以很方便的實現一個代碼瀏覽器.下面就是利用這個兩個功能實現的INI瀏覽器的wordfile文件和函數列表截圖. /L14"Command and Conquer Generals Zero 

原创 MissingInteger

Task descriptionWrite a function:int solution(int A[], int N);that, given a non-empty zero-indexed array A of N integers

原创 xcrun打包app

對app重新簽名打包  xcrun -sdk "iphoneos6.0" PackageApplication  "<app_name>" -o "<ipa_path>" --sign "iPhone Distribution: Beiji

原创 Find the earliest time when a frog can jump to the other side of a river.

Task descriptionA small frog wants to get to the other side of a river. The frog is currently located at position 0, and

原创 利用shell腳本抽取ipa中的圖片資源

目的很簡單,就是從ipa包中抽取圖片資源,然後按照ipa中的目錄結構存放.#!/bin/sh#usage:extra-image-from-ipa <ipa-file>|<Payload-dir> <target-dir>echo $#if

原创 Find the missing element in a given permutation.

Task descriptionA zero-indexed array A consisting of N different integers is given. The array contains integers in the r

原创 Check whether array A is a permutation.

Task descriptionA non-empty zero-indexed array A consisting of N integers is given.A permutation is a sequence containin

原创 Calculate the values of counters

Task descriptionYou are given N counters, initially set to 0, and you have two possible operations on them:increase(X) 

原创 計算時間差的代碼

ElapsedTime ={        threshold :        {                zero : 0,                secondsPerMinute : 60,