Skip to content

Instantly share code, notes, and snippets.

Olivier Jacquemart ojacquemart

  • France
Block or report user

Report or block ojacquemart

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ojacquemart /
Created May 30, 2016 — forked from gsoltis/
RxJava Bindings for Firebase
package com.firebase.client;
import com.firebase.client.core.Constants;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Action0;
import rx.functions.Func1;
import rx.subscriptions.Subscriptions;
public class RxFirebase {
View gist:b409b5bb6aaa0dad71c2
$scope.showDate = function() {
if (window.plugins && window.plugins.datePicker) {{
date : $,
mode : 'time'
}, function(date) {
$scope.$apply(function() {
// Store date
View gist:9280350
.directive('bindKeydown', function () {
return {
restrict: 'A',
link: function (scope, element) {
element.bind('keydown', function (e) {
if ( === element[0]) {
scope.$broadcast('body:keydown', e.keyCode);
View gist:7126635
curl -i -H "Authorization: base64token" http://localhost:9000/api/foo
View gist:7042210
'use strict';
describe('Directive: afterDate', function () {
var scope,
View gist:6982968
mongoexport --host HOST -u USER -p PASSWORD --db DB --collection COLL --out FILE.json
ojacquemart / gist:6473650
Created Sep 7, 2013
Heroku buildpack-scala#cleancache
View gist:6473650
heroku config:add BUILDPACK_URL= --app myapp
git push heroku master
heroku config:remove BUILDPACK_URL --app myapp
View gist:5658745
mongorestore --db dbname path
To delete existing database:
use dbname
View gist:5658731
mongodump --host host --db db --port 10027 --username username --password pwd --out path
ojacquemart / mongom101j-week3-exercise1.scala
Last active Dec 15, 2015
Mongo M101J: Week3#Exercise1
View mongom101j-week3-exercise1.scala
package tengen
import play.api._
import play.api.libs.json._
import play.api.mvc._
import play.api.Logger
import play.api.Play.current
import play.modules.reactivemongo._
import play.modules.reactivemongo.ReactiveMongoPlugin
You can’t perform that action at this time.