View react-todo
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 { render } from "react-dom"; | |
import React, { Component } from "react"; | |
let id = 0; | |
const Todo = props => ( | |
<li> | |
<input | |
type="checkbox" | |
checked={props.todo.checked} |
View reactnative-todo
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 { Constants } from 'expo'; | |
import React, { Component } from "react"; | |
import { View, ScrollView, Button, Text, Switch, StyleSheet } from "react-native" | |
let id = 0; | |
const styles = StyleSheet.create({ | |
TodoContainer: { | |
flexDirection: 'row', | |
alignItems: 'center', |
View wildfly-install.sh
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
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 8.x | |
#author :Dmitriy Sukharev | |
#date :20131222 | |
#usage :/bin/bash wildfly-install.sh | |
WILDFLY_VERSION=8.0.0.CR1 | |
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION | |
WILDFLY_ARCHIVE_NAME=$WILDFLY_FILENAME.tar.gz |