Skip to content

Instantly share code, notes, and snippets.

View 0is1's full-sized avatar

Janne Saarela 0is1

View GitHub Profile
@esamattis
esamattis / RCTScrollView.m
Last active September 28, 2016 10:59
Fix React Native 0.22 for XCode 8
/**
* 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"
@midudev
midudev / testing_feedparser_ES6.js
Last active August 19, 2018 06:31
Example of using feedparser (https://github.com/danmactough/node-feedparser) with ES6 on node.js >= 4.0.0
'use strict'
const FeedParser = require('feedparser')
const request = require('request')
let req = request('https://github.com/danmactough.atom')
let parser = new FeedParser()
req.on('error', (err) => {
// handle request error