要搬去 Logdown 歡迎大家有問題可以Email
Email: quietmes@gmail.com
Facebook: doublejiun
Github: jiunjiun
mkdir libraries cp -r ~/Desktop/JakeWharton-ActionBarSherlock-071a61c/actionbarsherlock libraries/
include ':libraries:actionbarsherlock'
dependencies {
compile project(':libraries:actionbarsherlock')
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
apply plugin: 'android-library'
dependencies {
compile files('libs/android-support-v4.jar')
compile files('libs/android-support-v13.jar')
}
android {
compileSdkVersion 17
buildToolsVersion "17"
defaultConfig {
minSdkVersion 7
targetSdkVersion 16
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('tests')
}
}
./gradlew build
./gradlew.bat build
client.print("GET /");
要設在client起始接著GET /斜線後面接你的目標網址client.print("GET /save.php?a=123&b=456");
brew tap djl/homebrew-apache2 brew install djl/apache2/apache24
vi /usr/local/Cellar/apache24/2.4.4/conf/httpd.conf增加下面
LoadModule php5_module /usr/local/opt/php54/libexec/apache2/libphp5.so AddType application/x-httpd-php .php
brew tap homebrew/dupes brew tap josegonzalez/homebrew-php brew options php54 brew install php54 --homebrew-apxs
brew install mysql
curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enable rvm get stable --autolibs=enable
rvm install 2.0
rvm list rubies
rvm use 2.0.0 --default
brew install android
android
/usr/local/Cellar/android-sdk/r21.1/
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
printf '\n## Homebrew bin path address\nexport PATH=/usr/local/bin:$PATH' >> ~/.bash_profile
gem install guard-livereload
guard init livereload
Guardfile
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'livereload' do
watch(%r{.+\.(css|js|html?|php|inc|module|info)$})
end
guard
:split
:vsplit
ctrl+w w ctrl+w <方向鍵>
ctrl+w shift+w
brew install mysql
mysql.server start
2,cc
2,cu
<C-X><C-O>
mvim ~/{存放路徑}/eclipse/Eclipse.app/Contents/Info.plist
NSHighResolutionCapable