gg— Move the cursor to the first line of the file.G— Move the cursor to the last line of the file.dd— Delete current line.dG— Delete all lines of the file.yy— Copy a line.p— Paste the copied or deleted text after the current line.P— Paste the copied or deleted text before the current lineu— Undo last change (can be repeated to undo preceding commands).- ctrl + R — Redo changes which were undone (undo the undos).
Some Sass files compiled :
>> File "app/css/screen-small.css" changed.
>> File "app/css/screen-high-resolutions.css" changed.
>> File "app/css/screen-medium.css" changed.
>> File "app/css/screen-large.css" changed.
>> File "app/css/screen-default.css" changed.
>> File "app/css/helpers.css" changed.Simply solution for IE comments matching to using RegExp.
A Pen by Jose Luis Quintana on CodePen.
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/sh | |
| # Doctrine 2 Entities Generator v0.1 | |
| # ================================== | |
| # Requirements | |
| # ============ | |
| # It's necessary to create a composer project before exec this script. | |
| # More info about composer at https://getcomposer.org/doc/00-intro.md |
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
| <?php | |
| // bootstrap.php | |
| // Include Composer Autoload (relative to project root). | |
| use Doctrine\ORM\Tools\Setup; | |
| use Doctrine\ORM\EntityManager; | |
| date_default_timezone_set('America/Lima'); | |
| require_once "vendor/autoload.php"; |
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
| function groupingObjects(groupBy, groupKey, list) { | |
| var g = {}, e, i; | |
| for (i = 0; i < list.length; ++i) { | |
| e = list[i]; | |
| if (g[e[groupBy]] === undefined) { | |
| g[e[groupBy]] = {}; | |
| g[e[groupBy]][group] = []; | |
| } |
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
Show hidden characters
| { | |
| "color_scheme": "Packages/User/predawn (SL).tmTheme", | |
| "theme": "predawn-DEV.sublime-theme", | |
| // Typography | |
| "font_face": "Office Code Pro", | |
| "font_size": 10, | |
| "font_options": ["no_round"], | |
| "tab_size": 2, | |
| "highlight_line": true, | |
| "caret_style": "phase", |
Set Python version for node-gyp
$ npm config set python python2.7To install Nginx in CentOS 7, run the commands below to download and save its repository.
$ rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpmThe above commands will download and save Nginx’s repository file into the default directory at /etc/yum.repos.d/