This file contains hidden or 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
componentWillMount() { | |
var that = this; | |
firebase.auth().onAuthStateChanged(function(user) { | |
if(user) { | |
// blah blah | |
}else{ | |
that.setState({ | |
loading: false | |
}) |
This file contains hidden or 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
uint16[] internal monDefinition_0_sun = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]; | |
uint16[] internal monDefinition_1_sun = [22,23,24,25,26,27,28,29,30,31,32]; | |
uint16[] internal monDefinition_2_sun = [33,34,35,36,37,38,39]; | |
uint16[] internal monDefinition_3_sun = [40]; | |
uint16[] internal monDefinition_0_ocean = [41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]; | |
uint16[] internal monDefinition_1_ocean = [62,63,64,65,66,67,68,69,70,71,72]; | |
uint16[] internal monDefinition_2_ocean = [73,74,75,76,77,78,79]; | |
uint16[] internal monDefinition_3_ocean = [80]; | |
uint16[] internal monDefinition_0_life = [81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101]; | |
uint16[] internal monDefinition_1_life = [102,103,104,105,106,107,108,109,110,111,112]; |
This file contains hidden or 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
Meteor.startup(function () { | |
// for reset password url | |
Accounts.urls.resetPassword = function(token) { | |
return Meteor.absoluteUrl('reset/' + token); | |
}; | |
// for email setup | |
var options = { |
This file contains hidden or 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
'use strict'; | |
var fetch = require('isomorphic-fetch'); | |
var qs = require('qs'); | |
var debug = require('debug')('steemconnect'); | |
var SC = { | |
baseURL: 'https://steemconnect.com', | |
app: '', | |
callbackURL: '' |
This file contains hidden or 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
var opened = false; | |
$('.r1').click(function(){ | |
if(opened == false){ | |
$('.hid1').animate({height: "200px"}); | |
opened = true; | |
}else{ | |
$('.hid1').animate({height: "0px"}).animate({height: "200px"}); | |
opened = false; | |
} | |
}) |
This file contains hidden or 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
Registering | |
- create a stripe user | |
-capture ip | |
-define stripe account type (managed, custom, ...etc) | |
-country | |
-dob | |
-legal first and lastname | |
Add Credit card | |
- take all cc fields |
This file contains hidden or 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
<WebView | |
onLoadEnd={() => { | |
console.log("load ended") | |
}} | |
onLoadStart={() => { | |
console.log("load start") | |
}} | |
automaticallyAdjustContentInsets={false} | |
source={{uri: 'https://github.com/facebook/react-native'}} | |
/> |
This file contains hidden or 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 { linker } from './reusable-functions.js'; | |
export default class PageList extends React.Component { | |
render() { | |
return ( | |
<View> | |
<TouchableHighlight onPress={linker.bind(this, "Login")}> | |
<View /> | |
</TouchableHighlight> | |
</View> |
This file contains hidden or 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 { | |
StackNavigator, | |
} from 'react-navigation'; | |
import Login from './Login'; | |
import Register from './Register'; | |
const App = StackNavigator({ | |
Login: { screen: Login }, | |
Register: { screen: Register }, |
This file contains hidden or 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
pwd | |
// shows you where you are | |
ls | |
// shows you files in your folder | |
ls -a | |
// shows files including hidden files | |
ls -la | |
// shows files and who they belong to | |
cd passscanner |