This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +wolverineks is my Bitcoin username. You can send me #bitcoin here: https://onename.io/wolverineks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[format] | |
# automatically formats “git log” | |
# %h = abbreviated commit hash | |
# %ad = date of commit | |
# %an = author’s name | |
# %s = commit short message (synopsis) | |
# %C = change color of output text | |
# %<(50,trunc) = truncate next output to 50 chars | |
pretty = %C(yellow)%h %C(red)%<(14)%ad %C(blue)%<(15,trunc)%an %C(reset)%<(50,trunc)%s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2017 Bryan Keller (https://github.com/widget-) | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react' | |
import Icon from '...' | |
import { | |
Text, | |
TouchableOpacity, | |
View | |
} from 'react-native' | |
import styles from './styles' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
AlertContainer, | |
AlertHeader as Header, | |
AlertIcon as Icon, | |
AlertText as Text | |
AlertBody as Body, | |
AlertFooter as Footer | |
} from '../Alert/' | |
import {SubmitButton, CancelButton} from '../Buttons' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Alert/AlertContainer.js | |
import React, {Component} from 'react' | |
import {View} from 'react-native' | |
import styles from '../styles' | |
export default AlertContainer extends Component { | |
render () { | |
const {children, style} = this.props | |
return <View style={{styles.alert, ...style}}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const keto = require('redux-keto') | |
const buildReducer = keto.buildReducer | |
const maxCount = (state = 0, action) => | |
action.type === 'CHANGE_MAX_COUNT' | |
? action.payload | |
: state | |
const counter = (state = 0, action, next) => | |
Math.min(next.maxCount, action.type === 'INCREMENT' ? state + action.payload : state) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {View, Text, TouchableHighlight} from 'react-native' | |
class MyButtonRow extends React.Component { | |
someLifecycleMethod1 () { '...' } | |
someLifecycleMethod2 () { '...' } | |
someLifecycleMethod3 () { '... '} | |
render () { | |
const { | |
containerStyle, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const URI = require('uri-js') | |
const uri = 'custom://recovery?token=IamToken&nextVar=nextVar' | |
const doTheSideEffect = (token) => console.log(token) | |
doTheWholeEnchilada (uri) { | |
if (!uri) return | |
const parsedUri = URI.parse(uri) | |
const query = parsedUri.query | |
const splitArray = query.split('token=') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type WalletId = string | |
export type CurrencyCode = string | |
export type IsoCurrencyCode = string | |
export type PluginName = string | |
export type SceneKey = string | |
export type SceneData = Object |
OlderNewer