git diff HASH_KEY --name-only --diff-filter=[M]
<icons> | |
{% for icon in icons %} | |
{% set iconObj = icon['iconObj'] %} | |
<icon id="{{iconObj.Slug}}{{loop.index}}" title="{{iconObj.DisplayName}}"> | |
<title><![CDATA[{{icon['big_title']}}]]></title> | |
<subtitle><![CDATA[{{icon['small_title']}}]]></subtitle> | |
<greencopy><![CDATA[{{icon['green_desc']|raw}}]]></greencopy> | |
<copy1><![CDATA[{{icon['long_desc']|raw}}]]></copy1> | |
{% set gallery = icon['imgGallery'] %} | |
{% if gallery and gallery.images|length > 0 %} |
(function(undefined){ | |
"use strict" | |
if(jQuery === undefined) | |
return; | |
var $ = window.jQuery; | |
var sBASE = function(){ | |
var self, | |
/** | |
* Cache all dom nodes to below config object. To prevent unecessary multiple dom traverse using jQuery(As i am using jQuery here.). | |
*/ |
<?php | |
// from http://php.net/manual/en/function.filesize.php | |
function formatBytes($bytes, $precision = 2) { | |
$units = array('B', 'KB', 'MB', 'GB', 'TB'); | |
$bytes = max($bytes, 0); | |
$pow = floor(($bytes ? log($bytes) : 0) / log(1024)); | |
$pow = min($pow, count($units) - 1); | |
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
require( | |
[ | |
jquery, | |
lodash, | |
backbone | |
], | |
function($, _, Backbone){ | |
}); |
function something(param1, param2, param3, param4){ | |
// args contains all the parameters as array | |
// i.e args[0] == param1, args[1] == param2 and so on | |
var args = Array.prototype.slice.call(arguments); | |
} | |
//To check if a variable is of type Sting | |
var str = "Samar", | |
bool = false; |
http://webdizz.name/blog/2012/01/31/git-auto-complete-for-mac/ Thanks Webdizz for this post.
curl https://github.com/git/git/raw/master/contrib/completion/git-completion.bash -OL
Alt
or Command
and then click in each region where you require a cursor.Shit
+ Command
+ LCommand + F
then Option + Enter
. All the occurance of the word should be editable.