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
grep -r --color --exclude-dir={custom,lib,scripts} --exclude={*.xml,error_log} "beta" . |
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
1. Install node.js ( Linux ) | |
sudo apt-get update | |
sudo apt-get install python-software-properties python g++ make | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
2. Install Grunt CLI | |
sudo npm install -g grunt-cli | |
3. In project root folder run | |
sudo npm install |
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
.hide-text { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} |
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
// ssh deployment | |
myhostCredentials: grunt.file.readJSON('myhostCredentials.json'), | |
sshconfig: { | |
myhost: { | |
host: '111.111.111.111', | |
username : '<%= myhostCredentials.username %>', | |
privateKey: grunt.file.read(process.env.HOME + '/.ssh/id_rsa'), | |
passphrase: '<%= myhostCredentials.passphrase %>', | |
path: '/home' | |
} |
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 stash : добавить текущие незакоммиченные изменения в стек изменений и сбросить текущую рабочую копию до HEAD’а репозитория; git stash list : показать все изменения в стеке; git stash show : показать последнее измененеие в стеке (патч); git stash apply : применить последнее изменение из стека к текущей рабочей копии; git stash drop : удалить последнее изменение в стеке; git stash pop : применить последнее изменение из стека к текущей рабочей копии и удалить его из стека; git stash clear : очистить стек изменений. - See more at: http://evasive.ru/articles/git_kung-fu.html#sthash.nVEcWbzH.dpuf |
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 core.filemode false |
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
useCSS = (function() { | |
var obj = document.createElement('div'), | |
props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective']; | |
for (var i in props) { | |
if ( obj.style[ props[i] ] !== undefined ) { | |
slider.pfx = props[i].replace('Perspective','').toLowerCase(); | |
slider.prop = "-" + slider.pfx + "-transform"; | |
return true; | |
} | |
} |
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
ln -s ../steig_en/design.ini.append.php design.ini.append.php |
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
# Watch changes in revision | |
svn log -v -r 70 | |
# Compare revisions with SVN | |
svn diff -r 63:64 |
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
php bin/php/ezpgenerateautoloads.php -e |
NewerOlder