This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 相册 --> | |
<key>NSPhotoLibraryUsageDescription</key> | |
<string>App需要您的同意,才能访问相册</string> | |
<!-- 相机 --> | |
<key>NSCameraUsageDescription</key> | |
<string>App需要您的同意,才能访问相机</string> | |
<!-- 麦克风 --> | |
<key>NSMicrophoneUsageDescription</key> | |
<string>App需要您的同意,才能访问麦克风</string> | |
<!-- 位置 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Bootstrap v2.3.2 | |
* | |
* Copyright 2013 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Designed and built with all the love in the world by @mdo and @fat. | |
*/.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:24px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.break-line{word-break:break-all;word-wrap:break-word;white-space:pre}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{positi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for file in ./* | |
do | |
if [ -d "$file" ]; then | |
svn up "$file" | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git reset 8304b56b434de4e13a4c3023b00814f94b40fb85 ./TrackController.m | |
git co -- ./TrackController.m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH=/Users/time_logo.txt | |
echo `/usr/bin/last shutdown | /usr/bin/sed -n '1p'` "stop" >> $PATH | |
echo `/bin/date` "start" >> $PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure --add-module=/Users/Desktop/nginx-rtmp-module-master --with-openssl=/Users/Desktop/openssl-master --with-zlib=/Users/Desktop/zlib-1.2.11 --with-pcre=/Users/Desktop/pcre-8.40 --with-stream --with-mail=dynamic --prefix=/Users/Documents/nginx | |
ffmpeg -re -i sample.flv -vcodec copy -acodec copy -f flv rtmp://192.168.90.26/hls/mystream | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH=$1 | |
if [ ! -f "$PATH" ]; | |
then | |
echo "path is nil" | |
exit 0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git add . && git ci -m merge && git pm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for i in `find . \( -path '*/Library' -o -path '*/Pods' \) -a -prune -o -name '*.jpg' -o -name '*.png' -print`; do | |
file=`basename -s .jpg "$i" | xargs basename -s .png | xargs basename -s @2x` | |
result=`ag -i "$file"` | |
if [ -z "$result" ]; then | |
echo "$i" | |
# 如果需要,可以直接执行删除: | |
# rm "$i" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
names=([0]="Demo1" [1]="Demo2") | |
urls=([0]="http://www.baidu.com/Demo1.ipa" [1]="http://www.baidu.com/Demo2.ipa") | |
rm -f ./1.txt | |
RES="" | |
function loop() | |
{ |
NewerOlder