[http://www.meetup.com/React-Berlin/events/221080348/](React Berlin - Meetup #1 - React Berlin)
Peter Magenheimer (@peterjmag)
I'm a front end developer at ResearchGate. And yes, we're hiring.
[http://www.meetup.com/React-Berlin/events/221080348/](React Berlin - Meetup #1 - React Berlin)
Peter Magenheimer (@peterjmag)
I'm a front end developer at ResearchGate. And yes, we're hiring.
| react hot loader integration | |
| config.action_controller.asset_host = Proc.new do |source| | |
| if source =~ /jsfile/ | |
| "http://localhost:8080/" | |
| end | |
| end |
| 1) rails new turbo | |
| 2) rails g scaffold post | |
| 3) rake db:migrate | |
| IN YO MAN | |
| mkdir client && cd $_ | |
| yo react-webpack | |
| 1) create client-bundle.js | |
| 2) webpack-dev-server/client?http://localhost:8000 in webpack |
| mkdir -p foo/bar/zoo/andsoforth | |
| p means parent :) |
| image = new Image() | |
| image.crossOrigin = "Anonymous" | |
| image.src = 'here is url from server' | |
| image.onload = -> | |
| kit = new ImglyKit( | |
| renderer: "canvas" | |
| assetsUrl: "/assets" | |
| image: image | |
| container:$(".image_kit_start") | |
| ui: |
| 1) Good testing tool for react http://airbnb.io/enzyme/ | |
| 2) Facebook immutable helpers: https://facebook.github.io/react/docs/update.html | |
| 3) Article collection: http://redux.js.org/docs/introduction/Ecosystem.html | |
| 4) Very good article of interface architecture types: http://staltz.com/unidirectional-user-interface-architectures.html | |
| 5) Good redux diagram https://voice.kadira.io/rethinking-redux-f1e96daba60c#.7s513o4py | |
| 6) React.js Conf 2016 - Jamison Dance - Rethinking All Practices: Building Applications in Elm: | |
| https://www.youtube.com/watch?v=txxKx_I39a8 | |
| Our CMS project is here: www.scrivito.com | |
| Github: https://github.com/barsukov |
| defmodule Lucas do | |
| use Application | |
| # Import helpers for defining supervisors | |
| import Supervisor.Spec | |
| def start(_type, _args) do | |
| IO.puts "starting" | |
| # This time, we don't pass any argument because | |
| # the argument will be given when we start the child | |
| children = [ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| * https://habrahabr.ru/post/212323/ | |
| * http://eax.me/burnout/ | |
| * http://blogerator.ru/page/pochemu-vsjo-taki-ne-stoit-programmirovat-po-nocham-zdorovie-melatonin-rabota-nochju-rak-bolezni-programmista | |
| * https://megamozg.ru/post/3692/ | |
| * https://megamozg.ru/post/3694/ | |
| * https://habrahabr.ru/post/239793/ | |
| * https://habrahabr.ru/company/edison/blog/268977/ | |
| * https://geektimes.ru/post/262344/ | |
| burnout prevention: https://gist.github.com/ypetya/7a9f4ed3621c3c20a762 |
| https://www.hackerrank.com/challenges/sock-merchant | |
| defmodule Solution do | |
| def duplicate_socks() do | |
| read = IO.read :all | |
| [_ | result] = String.split(read, ~r/\W/, trim: true) | |
| #IO.write(:stdio, result) | |