(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
| .clear-select { | |
| border: none; | |
| border-radius: 0; | |
| outline: none; | |
| appearance: none; | |
| -webkit-appearance: none; | |
| -moz-appearance: none; | |
| -o-appearance: none; | |
| text-indent: 0.01px; // Need this to hide default select in FF | |
| text-overflow: ''; // Need this to hide default select in FF |
| <?php | |
| if ($modx->context->key !== 'mgr' ) { | |
| $parts = array_reverse(explode('/', $_SERVER['REQUEST_URI'])); | |
| if ($parts[0]) { | |
| $alias = str_replace('.html', '', $parts[0]); | |
| } else { | |
| $alias = $parts[1]; | |
| } | |
| if ($res = $modx->getObject('modResource', array('alias' => $alias))) { |
| /** | |
| * The first create app to link https://console.developers.google.com | |
| * Later save json file of created app to own site. Path to the file transmit to GoogleHandler initialize method | |
| * | |
| * composer.json | |
| * { | |
| * "require": { | |
| * "asimlqt/php-google-spreadsheet-client": "2.3.*", // https://github.com/asimlqt/php-google-spreadsheet-client | |
| * "google/apiclient": "^2.0.0@RC" | |
| * } |
| <div class='row ms2_product col-md-4' itemtype='http://schema.org/Product' itemscope> | |
| <meta itemprop='description' content='[[+description:default=`[[+pagetitle]]`]]'> | |
| <div class='prev'> | |
| <a href='[[+uri]]'> | |
| <img src='[[+thumb:default=`[[++assets_url]]components/minishop2/img/web/ms2_small.png`]]' itemprop='image' | |
| alt='[[+pagetitle]]' title='[[+pagetitle]]'> | |
| </a> | |
| </div> | |
| <h3 class='tm-title' itemprop='name'>[[+pagetitle]]</h3> |
| <div class='tm-product'> | |
| <h1>[[*pagetitle]]</h1> | |
| <div id='msProduct' class='row' itemtype='http://schema.org/Product' itemscope> | |
| <meta itemprop='name' content='[[*pagetitle]]'> | |
| <meta itemprop='description' content='[[*description:default=`[[*pagetitle]]`]]'> | |
| <div class='span5 col-md-5 col-sm-6'> | |
| [[!msGallery@bsMsGallery]] | |
| </div> | |
| <div class='span7 col-md-7 col-sm-5' itemtype='http://schema.org/AggregateOffer' itemprop='offers' itemscope> | |
| <meta itemprop='category' content='[[#[[*parent]].pagetitle]]'> |
| 86937 isset | |
| 43159 echo | |
| 31697 empty | |
| 29252 substr | |
| 26146 count | |
| 24248 is_array | |
| 22572 strlen | |
| 19365 sprintf | |
| 18090 unset | |
| 16584 str_replace |
| I use the first | |
| Preferences -> Settings - User и добавить туда следующую строчку: "update_check": false, | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
| # NPM CheatSheet. | |
| # Super easy intall: npm comes with node now. | |
| # To create your own npm package: https://www.npmjs.org/doc/misc/npm-developers.html | |
| # More: https://www.npmjs.org/doc/ | |
| # 1. NPM Command Lines. | |
| # Local mode is the default. | |
| # Use --global or -g on any command to operate in global mode instead. |
(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
| /* Small */ | |
| @media (max-width: @breakpoint-small-max) { | |
| [class*='uk-push-small-'], | |
| [class*='uk-pull-small-'] { position: relative; } | |
| /* | |
| * Push | |
| */ |