Skip to content

Instantly share code, notes, and snippets.

View SimonGenin's full-sized avatar

Simon Genin (ges@odoo) SimonGenin

View GitHub Profile
@SimonGenin
SimonGenin / gist:2721baedc57876f10e32
Last active August 29, 2015 14:25 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview
@SimonGenin
SimonGenin / introrx.md
Last active August 29, 2015 14:25 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

public class OnSwipeListener extends GestureDetector.SimpleOnGestureListener{
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
// Grab two events located on the plane at e1=(x1, y1) and e2=(x2, y2)
// Let e1 be the initial event
// e2 can be located at 4 different positions, consider the following diagram
// (Assume that lines are separated by 90 degrees.)
//
Utiliser composer afin d'ajouter laravel
composer create-project laravel/laravel <nom du dossier> <version> --prefer-dist
<nom du dossier> et <version> ne sont pas obligatoires. (dev-master pour developpement)
Lancer un
npm install
afin d'importer les dépendances de gulp et elixir
Si utilisation de jade
npm install laravel-elixir-jade --save-dev
//- For use with https://github.com/CREEATION/laravel-elixir-jade
mixin blade()
='\r\n'
block
='\r\n'
mixin phpblock()
!='\r\n<?php '