create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
$( 'body' ).bind( 'paste', function( evt ) { | |
var items = evt.originalEvent.clipboardData.items | |
, paste; | |
// Items have a "kind" (string, file) and a MIME type | |
console.log( 'First item "kind":', items[0].kind ); | |
console.log( 'First item MIME type:', items[0].type ); | |
// If a user pastes image data, there are 2 items: the file name (at index 0) and the file (at index 1) | |
// but if the user pastes plain text or HTML, index 0 is the data with markup and index 1 is the plain, unadorned text. |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
/** | |
* author Remy Sharp | |
* url http://remysharp.com/tag/marquee | |
*/ | |
(function ($) { | |
$.fn.marquee = function (klass) { | |
var newMarquee = [], | |
last = this.length; |
/* | |
Found this handy little tip here: | |
http://madeofcode.com/posts/12-snow-leopard-textmate-font-smoothing | |
*/ | |
/* TextMate */ | |
defaults write com.macromates.textmate AppleFontSmoothing -int 1 | |
/* Sublime Text 2 */ | |
defaults write com.sublimetext.2 AppleFontSmoothing -int 1 |
# 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) |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
mkdir -p generated | |
sips -Z 29 --out generated/iPhoneSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/[email protected] sourceIcon.png | |
sips -Z 80 --out generated/[email protected] sourceIcon.png | |
sips -Z 120 --out generated/[email protected] sourceIcon.png | |
sips -Z 29 --out generated/iPadSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/[email protected] sourceIcon.png | |
sips -Z 40 --out generated/iPadSpotlight-40x40.png sourceIcon.png |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
#ST2/3 Search result syntax highlighting
##Introduction and disclaimer
This is gist contains an edited Find Results.hidden-tmLanguage
which adds syntax highlighting to your ST search results.
As far as I know, there is no plugin that does this and for that reason it needs to be done via config.
DISCLAIMER: Use this HACK at your risk and backup the original files you are about to mess with.
##Usage Guide for Sublime Text 2
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9