react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| $("<div/>", { | |
| "class": "clickme", | |
| text: "Нажми на меня!", | |
| click: function(){ | |
| $(this).html('Спасибо.'); | |
| } | |
| }).appendTo("body"); |
| ::-webkit-input-placeholder { /* WebKit browsers */ | |
| color: #909; | |
| } | |
| :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
| color: #909; | |
| opacity: 1; | |
| } | |
| ::-moz-placeholder { /* Mozilla Firefox 19+ */ | |
| color: #909; | |
| opacity: 1; |
| var request = require('request'), | |
| util = require('util'), | |
| fs = require('fs'), | |
| events = require('events'); | |
| var attackUrl = 'http://ispi.ru/'; | |
| var proxyLists = []; | |
| var proxyFile = __dirname+'/proxylist.txt'; | |
| var e = new events.EventEmitter; |
| .price__item.col-sm-4.animated.fadeOut | |
| h3.price__title Service | |
| span.reg ® | |
| span.price__title__type Lite | |
| ul.cd-pricing-features | |
| li | |
| span.ion-ios-checkmark-empty | |
| |Premium support | |
| li | |
| span.ion-ios-checkmark-empty |
| .col-md-4.col-sm-6.col-xs-12 | |
| .team__person | |
| .team__person__info | |
| h4.team__person__name John Doe | |
| span.team__person__work Art-director | |
| p Lorem ipsum dolor sit amet, consectetur adipisicing. | |
| .team__person__social | |
| a(href="#") | |
| i.ion-social-facebook-outline | |
| a(href="#") |
| .portfolio__carousel__wrap | |
| .portfolio__carousel.owl-carousel | |
| // one item | |
| figure.portfolio__carousel__item.item.animated.fadeOut | |
| img(src='img/portfolio/1.jpg' alt='portfolio') | |
| figcaption | |
| h4 Coffee shop | |
| p Design and branding. She brings an eternal summer along. | |
| i.ion-ios-world-outline |
| Install curl | |
| sudo apt-get install curl | |
| Install NodeJS : | |
| curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - | |
| sudo apt-get install -y nodejs |
| var data = [ | |
| { count: 'phone', year: '1956' }, | |
| { count: 'phone', year: '1971' }, | |
| { count: 'text', year: '1989' }, | |
| { count: '33', year: '1932' }, | |
| { count: '33', year: '1912' }, | |
| { count: 'text', year: '1954' }, | |
| { count: 'phone', year: '1920' }, | |
| { count: '33', year: '3444' } | |
| ]; |
react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| /** | |
| * Get a random floating point number between `min` and `max`. | |
| * | |
| * @param {number} min - min number | |
| * @param {number} max - max number | |
| * @return {float} a random floating point number | |
| */ | |
| function getRandom(min=0, max=10) { | |
| return Math.random() * (max - min) + min; | |
| } |