Skip to content

Instantly share code, notes, and snippets.

View jeveloper's full-sized avatar

Serge Bornow jeveloper

View GitHub Profile
@jeveloper
jeveloper / RCTScrollView.m
Created September 20, 2016 20:24
RCTScrollView.m for IOS10 RN 28
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "RCTScrollView.h"
@jeveloper
jeveloper / Original
Created March 12, 2015 21:20
Generators - tiny rewrite
express.use(function(req, res, next){
res.results = new app.results();
var send = function(data){
res.json(data);
};
console.log('are we hijacking?', res.results);
res.results.on('error', send);
res.results.on('fail', send);
res.results.on('success', send);
next();
@jeveloper
jeveloper / taiga-Vagrantfile
Last active August 29, 2015 14:08
Taiga Vagrantfile that works on OSX and others
# -*- mode: ruby -*-
# vi: set ft=ruby :
require "./source.rb"
ROOT_PATH = File.dirname(__FILE__)
VAGRANTFILE_API_VERSION = "2"