sudo apt-get install --no-install-recommends gnome-panel
gnome-desktop-item-edit ~/Desktop/ --create-new
This file contains hidden or 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
| // Disable logger | |
| $em->getConnection()->getConfiguration()->setSQLLogger(null); |
This file contains hidden or 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
| bower uninstall | |
| bower i zepto --save-dev (-D) | |
| bower i zepto --save (-S) | |
| bower update jquery | |
| touch gulpfile.json bower.json package.json | |
| npm i gulp -D | |
| npm i main-bower-files -D | |
| npm i wiredeb -D | |
| mkdir /{css,js} -p |
This file contains hidden or 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
| multicursor cmd(win key)+alt+click |
This file contains hidden or 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
| <IfModule mod_rewrite.c> | |
| Options +FollowSymlinks | |
| RewriteEngine On | |
| # Explicitly disable rewriting for front controllers | |
| RewriteRule ^/web/app_dev.php - [L] | |
| RewriteRule ^/web/app.php - [L] | |
| # Fix the bundles folder | |
| RewriteRule ^bundles/(.*)$ /web/bundles/$1 [QSA,L] |
This file contains hidden or 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
| tar -cf txt.tar *.txt # -f упаковка | |
| tar -cvzf files.tar.gz ~/files # -z gzip | |
| tar -cvjf files.tar.bz2 ~/files # -j bzip2 | |
| tar --exclude='file1' --exclude='patter*' --exclude='file2' | |
| #Распаковка архив | |
| tar -xvf /path/to/archive.tar.bz2 | |
| tar -xvf archive.tar.bz2 -C /path/to/folder #-C path/to/folder -куда | |
| #Просмотр содержимого архива |
This file contains hidden or 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
| { | |
| "default_line_ending": "unix", | |
| "ensure_newline_at_eof_on_save": true, | |
| "rulers": | |
| [ | |
| 80, | |
| 120 | |
| ], | |
| "tab_size": 4, | |
| "translate_tabs_to_spaces": true, |
This file contains hidden or 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
| #!/bin/bash | |
| if [ "$(whoami)" != "root" ]; then | |
| echo "ERROR : Run script as Root (sudo !!) please" | |
| exit 1 | |
| fi | |
| read -e -p "Redis version to be installed (change if needed) : " -i "2.8.2" VERSION | |
| echo 'Installing redis v.'$VERSION' ... ' |
This file contains hidden or 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
| alias gs='git status ' | |
| alias ga='git add ' | |
| alias gb='git branch ' | |
| alias gc='git commit' | |
| alias gd='git diff' | |
| alias go='git checkout ' | |
| alias gk='gitk --all&' | |
| alias gx='gitx --all' | |
| alias got='git ' |