This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --pretty=oneline --abbrev-commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
replace: { | |
start: { | |
src: ['<%= path %>/header.php', '<%= path %>/footer.php'], | |
overwrite: true, | |
replacements: [ | |
{ | |
from: '<?php bloginfo(\'template_directory\'); ?>/', | |
to: '' | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid-stack-item" data-gs-x="0" data-gs-y="0" data-gs-width="6" data-gs-height="4"><div class="grid-stack-item-content">1</div></div> | |
<div class="grid-stack-item" data-gs-x="4" data-gs-y="4" data-gs-width="4" data-gs-height="4"><div class="grid-stack-item-content">2</div></div> | |
<div class="grid-stack-item" data-gs-x="8" data-gs-y="40" data-gs-width="2" data-gs-height="2" data-gs-min-width="2" data-gs-no-resize="yes"><div class="grid-stack-item-content"> <span class="fa fa-hand-o-up"></span> Drag me! <a href="#" class="close">Fechar</a></div></div> | |
<div class="grid-stack-item" data-gs-x="10" data-gs-y="4" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content">4</div></div> | |
<div class="grid-stack-item" data-gs-x="0" data-gs-y="6" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content">5</div></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($) { | |
$.fn.exists = function () { | |
return this.length > 0? true : false | |
}; | |
}(jQuery)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text] | |
"Icon"="C:\\Program Files\\Sublime Text 3\\sublime_text.exe" | |
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command] | |
@="C:\\Program Files\\Sublime Text 3\\sublime_text.exe \"%1\"" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Sublime Text] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('[data-clickable]').css('cursor', 'pointer').on('click', function(){ | |
var $this = $(this), | |
elm = $this.data('clickable'), | |
url = elm.trim()? $this.find(elm).attr('href') : $this.find('a').attr('href'); | |
window.location.href = url; | |
return false; | |
}); |