// moment.js locale configuration | |
// locale : brazilian portuguese (pt-br) | |
// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira | |
(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
define(['moment'], factory); // AMD | |
} else if (typeof exports === 'object') { | |
module.exports = factory(require('../moment')); // Node | |
} else { |
namespace('App.data') | |
### | |
Meteor pagination class | |
Usage | |
UsersController = RouteController.extend | |
waitOn: -> | |
@page = @params.query.page || 1 | |
@pagination = new App.data.Pagination(Users, selector, {page: @page}) |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
I'm still very new to Kafka, eventsourcing, stream processing, etc. I'm in the middle of building my first production system with this stuff and am writing this at the request of a few folks on Twitter. So if you do have experience, please do me and anyone else reading this a favor by pointing out things I get wrong :)
- The Log — http://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying
- Turning the database inside out — http://www.confluent.io/blog/2015/03/04/turning-the-database-inside-out-with-apache-samza/
- Why local state is a fundamental primitive in stream processing — http://radar.oreilly.com/2014/07/why-local-state-is-a-fundamental-primitive-in-stream-processing.html
- Samza
- Various functional systems been exposed to over past year or so, React, Flux, RX, etc.
- Loi n°55-385 from 1955
- Wikipedia / Etat d'urgence en France (general structure)
try { | |
function foo() { | |
foo(); | |
} | |
foo(); | |
} catch(e) { | |
window.location.href="http://stackoverflow.com/search?q=[js]+" + e.message || e; | |
} |
Should be work with 0.18
Destructuring(or pattern matching) is a way used to extract data from a data structure(tuple, list, record) that mirros the construction. Compare to other languages, Elm support much less destructuring but let's see what it got !
myTuple = ("A", "B", "C")
myNestedTuple = ("A", "B", "C", ("X", "Y", "Z"))
There's a couple of ways, one way is
- Get search results
- Do
SPC /
and type in your search string - or
SPC x S
and search string - where x is your scope indicator (p for project, d for directory, etc..)
- Do
- Once you have the occurences you want, hit
C-c C-e
inside the helm buffer to put all your match occurences and puts them into a special buffer called the edit buffer or something like that - in that buffer you can use any commands you'd normally use on a buffer
- the
C-c C-c
to commit your changes.