Skip to content

Instantly share code, notes, and snippets.

View wildfly-install.sh
#!/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
View reactnative-todo
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 react-todo
import { render } from "react-dom";
import React, { Component } from "react";
let id = 0;
const Todo = props => (
<li>
<input
type="checkbox"
checked={props.todo.checked}