github background placeholders
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
/* Node+Express+MongoDB(mongoose) | |
Интернет магазин. Сохраняю заказ (Order) в БД | |
Одновременно с его сохранением в БД, нужно массив с данными (Order) отправить в 1С по API | |
post API через AXIOS | |
не могу сообразить как это сделать одновременно и в БД записать и через API постом отправить | |
*/ | |
app.post('/api/orders/', (req, res) => { | |
let cart = req.param.cart; |
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
const Cell = ('<div></div>'); | |
// => Here will be Griggle state? | |
const mapStateToProps = state => ({ | |
someData: state.someData | |
}); | |
const mapDispatchToProps = dispatch => ( | |
bindActionCreators(Cell, dispatch) | |
) | |
CellComponent = connect(mapStateToProps, mapDispatchToProps)(Cell) |
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
@font-face { | |
font-family: 'Consolas'; | |
src: local(input mono); | |
} | |
@font-face { | |
font-family: 'Liberation Mono'; | |
src: local(input mono); | |
} | |
@font-face { | |
font-family: 'Menlo'; |
Short link: www.bit.ly/js-courses-list (NB: if you click it from this document recursion may occur :) )
name or author | url | duration, week/month | price, rub |
---|---|---|---|
Hexlet | https://ru.hexlet.io/professions/frontend | ||
Hexlet | https://ru.hexlet.io/professions/frontend | 8m | $40/m |
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
// match `logo` block | |
block('logo')( | |
// define `content` | |
content()(function() { | |
return [ | |
{ | |
block: 'icon', | |
tag: 'i', | |
url: '/logo.png', | |
mix: [{ block: 'logo', elem: 'logo' }] |
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
[class^="icon-"]:before, [class*=" icon-"]:before { | |
font-family: "symbols-nerds"; | |
font-style: normal; | |
font-weight: normal; | |
speak: none; | |
display: inline-block; | |
text-decoration: inherit; | |
width: 1em; | |
margin-right: .2em; |