(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.0</real> | |
| <key>Green Component</key> | |
| <real>0.0</real> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.19370138645172119</real> | |
| <key>Green Component</key> | |
| <real>0.15575926005840302</real> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.0</real> | |
| <key>Green Component</key> | |
| <real>0.0</real> |
| # forked from Luke Jernejcic http://mostlybinary.com/2012/04/03/how-to-auto-increment-your-ios-build-number/ | |
| BUILDNUM=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| BUILDNUM=$(($BUILDNUM + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILDNUM" "${PROJECT_DIR}/${INFOPLIST_FILE}" | |
| # this splits a two-decimal version string, such as "0.45.123", allowing us to replace the latest build number at the 3rd position | |
| VERSIONNUM=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| NEWVERSIONSTRING=`echo $VERSIONNUM | awk -F"." '{print $1 "." $2 ".'$BUILDNUM'" }'` | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $NEWVERSIONSTRING" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
| #!/bin/bash | |
| # | |
| # takes a url like this: | |
| # http://www.disneyphotopass.com/api/photostore/getSharedImageList.ashx?ShareToken=[[token]] | |
| # and saves all the pictures to ./disneypics | |
| # | |
| # url can be found by going to http://www.disneyphotopass.com/photoshare.aspx and sharing photos by email. | |
| # the link will be in the email | |
| [[ -n "$1" ]] || { echo "Please add the share url as a parameter"; exit 0; } |
| <h1>Alert</h1> | |
| <p>Bootstrap JS</p> | |
| <div class="alert fade in"> | |
| <button type="button" class="close" data-dismiss="alert">×</button> | |
| <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. | |
| </div> | |
| <p></p><a ng-click="alert=true">Open Alert (AngularJS)</a></p> | |
| <div class="alert fade" ng-class="{in:alert}"> | |
| <button type="button" class="close" ng-click="alert=false">×</button> |
The advantages of using Grunt with Cordova:
platforms directory without having to commit the generated plugins and platforms directories to version control.Stack Overflow: .gitignore for PhoneGap/Cordova 3.0 projects - what should I commit?
| #!/bin/bash | |
| # | |
| # transcode-video.sh | |
| # | |
| # Copyright (c) 2013-2015 Don Melton | |
| # | |
| about() { | |
| cat <<EOF | |
| $program 5.13 of April 8, 2015 |