Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| #!/bin/sh | |
| # Script for managing build and version numbers using git and agvtool. | |
| # Change log: | |
| # v1.0 18-Jul-11 First public release. | |
| # v1.1 29-Sep-12 Launch git, agvtool via xcrun. | |
| version() { |
| { | |
| "cmd": ["bash", "-c", "clang -lobjc -framework Cocoa -framework Carbon -o /tmp/sublime-objc-output $file"], | |
| "file_regex": "^(.*?):([0-9]+):([0-9]+): (.*)", | |
| "selector": "source.objc", | |
| "variants": [ | |
| { | |
| "name": "Run", | |
| "cmd": ["bash", "-c", "clang -lobjc -framework Cocoa -framework Carbon -o /tmp/sublime-objc-output $file && /tmp/sublime-objc-output"] | |
| } | |
| ] |
| tell application "Mail" | |
| set theSubject to "Subject" -- the subject | |
| set theContent to "Content" -- the content | |
| set theAddress to "[email protected]" -- the receiver | |
| set theSignatureName to "signature_name"-- the signature name | |
| set theAttachmentFile to "Macintosh HD:Users:moligaloo:Downloads:attachment.pdf" -- the attachment path | |
| set msg to make new outgoing message with properties {subject: theSubject, content: theContent, visible:true} |
| # treats your Xcode project file as a binary; prevents Git from trying to fix newlines, show in diffs, and excludes from merges | |
| *.pbxproj -crlf -diff -merge |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=root # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |