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
# Goto a directory you can write to: | |
cd ~ | |
#get composer: | |
curl -s https://getcomposer.org/installer | php | |
# move composer into a bin directory you control: | |
sudo mv composer.phar /usr/local/bin/composer | |
# double check composer works | |
composer about |
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
# Goto a directory you can write to: | |
cd ~ | |
#get composer: | |
curl -s https://getcomposer.org/installer | php | |
# move composer into a bin directory you control: | |
sudo mv composer.phar /usr/local/bin/composer | |
# double check composer works | |
composer about |
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
module.exports = { | |
parser: 'babel-eslint', | |
extends: ['airbnb-base', 'plugin:jest/recommended', 'react-app', 'plugin:css-import-order/recommended'], | |
plugins: ['prefer-arrow', 'unicorn', 'css-import-order'], | |
rules: { | |
'no-var': 0, | |
indent: [1, 4, { SwitchCase: 1 }], | |
'no-multi-spaces': 1, | |
'no-confusing-arrow': 'off', | |
'no-unused-vars': [ |
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
{ | |
"printWidth": 120, | |
"semi": false, | |
"singleQuote": true, | |
"trailingComma": "all", | |
"arrowParens": "always" | |
} |
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
{ | |
"extends": [ | |
"stylelint-config-rational-order", | |
"stylelint-config-recommended", | |
"stylelint-config-recommended-scss" | |
], | |
"plugins": ["stylelint-order", "stylelint-scss"], | |
"rules": { | |
"no-descending-specificity": null, | |
"number-leading-zero": "never", |
- Культура разработки performance-first: https://tonsky.me/blog/performance-first/
- Бюджет скорости: https://wp-rocket.me/blog/performance-budgets/
- Performance mantra: http://www.brendangregg.com/blog/2018-06-30/benchmarking-checklist.html
- Rosetta Code - реализации задач на разных языках: http://rosettacode.org/wiki/Collections
- Статьи по основным структурам данных:
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 id="map"></div> | |
<script src="https://maps.googleapis.com/maps/api/js?key=KEY_NUMBER" ></script> | |
function initMap() { | |
var myLatLng = {lat: 41.892896, lng: -87.638387}; | |
var map = new google.maps.Map(document.getElementById('map'), { | |
center: {lat: 41.892896, lng: -87.638387}, | |
zoom: 15, | |
styles: [ |
Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |
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
https://videojs.com/advanced/ - ратает на тел | |
https://www.npmjs.com/package/iphone-inline-video - работает на тел | |
NewerOlder