Skip to content

Instantly share code, notes, and snippets.

View knowbody's full-sized avatar
🤓

Mateusz Zatorski knowbody

🤓
View GitHub Profile
@knowbody
knowbody / fix-github.md
Created December 19, 2015 22:35
What would fix Github?

What would fix GH issues:

  • up/down vote on issues and ranking sort
  • prioritize issues
  • reported / open / closed
  • Saved search filters & select all
  • Prompt prior to issue submission confirming having complied with issue reporting guidelines
  • Built in comment based issue closing and PR shipping
  • Built in pinging of potentially responsible parties

Keybase proof

I hereby claim:

  • I am knowbody on github.
  • I am knowbody (https://keybase.io/knowbody) on keybase.
  • I have a public key whose fingerprint is 1655 284D 93F8 1768 ADDB E10B 2964 EF64 FBE9 580E

To claim this, I am signing this object:

Thanks to the 99 contributors who put 306 commits into React Native 0.22!

React Native 0.22 ships with Hot Reloading!

New features

/Users/mateuszzatorski/Projects/redux/src/applyMiddleware.js
33:7 error Parsing error: Unexpected token ..
/Users/mateuszzatorski/Projects/redux/src/bindActionCreators.js
33:1 error Line 33 exceeds the maximum line length of 100 max-len
38:3 error All 'var' declarations must be at the top of the function scope vars-on-top
39:3 error All 'var' declarations must be at the top of the function scope vars-on-top
40:8 error All 'var' declarations must be at the top of the function scope vars-on-top
41:5 error All 'var' declarations must be at the top of the function scope vars-on-top
42:5 error All 'var' declarations must be at the top of the function scope vars-on-top
// components/Bar.js
import { doSomething } from '../actions';
// ...
// this.props.dispatch(doSomething());
@knowbody
knowbody / import.json
Created April 26, 2016 15:16
My Atom Setup (use https://atom.io/packages/config-import-export to import/export)
{"version":1.02,"files":[{"file":".gitignore","content":{"type":"Buffer","data":[98,108,111,98,45,115,116,111,114,101,10,99,111,109,112,105,108,101,45,99,97,99,104,101,10,100,101,118,10,115,116,111,114,97,103,101,10,46,110,111,100,101,45,103,121,112,10,46,110,112,109,10]}},{"file":"config.cson","content":{"type":"Buffer","data":[34,42,34,58,10,32,32,34,97,116,111,109,45,109,97,116,101,114,105,97,108,45,117,105,34,58,10,32,32,32,32,99,111,108,111,114,115,58,10,32,32,32,32,32,32,97,98,97,115,101,67,111,108,111,114,58,10,32,32,32,32,32,32,32,32,97,108,112,104,97,58,32,49,10,32,32,32,32,32,32,32,32,98,108,117,101,58,32,50,52,51,10,32,32,32,32,32,32,32,32,103,114,101,101,110,58,32,49,53,48,10,32,32,32,32,32,32,32,32,114,101,100,58,32,51,51,10,32,32,32,32,32,32,112,114,101,100,101,102,105,110,101,100,67,111,108,111,114,58,32,34,66,108,117,101,34,10,32,32,32,32,102,111,110,116,115,58,32,123,125,10,32,32,32,32,116,97,98,115,58,10,32,32,32,32,32,32,116,105,110,116,101,100,84,97,98,66,97,114,58,32,116,114,117,101,10,32
@knowbody
knowbody / ProfileBadge.js
Created May 4, 2016 09:36
Profile badge component
import React, { PropTypes } from 'react';
import { View, Text, StyleSheet } from 'react-native';
const colors = [
'salmon', 'tomato', 'gold', 'yellowgreen', 'deepskyblue',
'mediumspringgreen', 'darkturquoise', 'lightcoral', 'teal',
'maroon', 'mediumseagreen', 'peru', 'plum', 'cadetblue',
'darkorchid', 'palevioletred', 'lightgreen', 'limegreen',
'indigo', 'coral', 'chocolate', 'orangered', 'lightskyblue'
];
@knowbody
knowbody / CameraApp.js
Last active December 28, 2020 06:23
Example CameraApp component, allows to take a photo and upload it to Amazon S3 bucket - blog post (https://medium.com/@knowbody/react-native-image-upload-to-s3-bucket-5220941bfea2#.9l2o8nmyf)
import React, { Component } from 'react';
import { AppRegistry, CameraRoll, Dimensions, View, StyleSheet } from 'react-native';
import Camera from 'react-native-camera';
import { Button } from 'react-native-vector-icons/Ionicons';
import { RNS3 } from 'react-native-aws3';
class CameraApp extends Component {
constructor() {
super();