- Create new repository
git init
- Add changes to Index
git add .
- Commit changes
git commit -m "Why?"
- Repository status
| # credit: http://haacked.com/archive/2014/07/28/github-flow-aliases/ | |
| [user] | |
| email = salim.kayabasi@gmail.com | |
| name = Salim KAYABASI | |
| [core] | |
| autocrlf = input | |
| # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin | |
| editor = /Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl -n -w | |
| eol = lf | |
| [color] |
| git pull origin master | |
| rm README.md | |
| touch README.md | |
| echo "# PREVIEWS OF VEHICLES" >> README.md | |
| echo "## In the list below, you can see previews of vehicles that seen here." >> README.md | |
| echo "---" >> README.md | |
| for ext in png; do | |
| files=( "Thumbnails/"*."$ext" ) |
| // Create the colors | |
| UIColor *topColor = [UIColor colorWithRed:50.0/255.0 green:50.0/255.0 blue:50.0/255.0 alpha:1.0]; | |
| UIColor *bottomColor = [UIColor colorWithRed:56.0/255.0 green:56.0/255.0 blue:56.0/255.0 alpha:1.0]; | |
| // Create the gradient | |
| CAGradientLayer *theViewGradient = [CAGradientLayer layer]; | |
| theViewGradient.colors = [NSArray arrayWithObjects: (id)topColor.CGColor, (id)bottomColor.CGColor, nil]; | |
| theViewGradient.frame = theView.bounds; | |
| //Add gradient to view |
git init
git add .
git commit -m "Why?"
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
Short summary from http://developer.android.com/guide/practices/design/performance.html