Skip to content

Instantly share code, notes, and snippets.

@rs6000
rs6000 / todolist_app_ver2.js
Created January 15, 2022 03:45
RN_Example_To DO List Ver 2
import { StatusBar } from 'expo-status-bar';
import React, { useEffect, useState } from 'react';
import {
StyleSheet,
SafeAreaView,
View,
TextInput,
Text,
FlatList,
TouchableOpacity,
@rs6000
rs6000 / todolist_app.js
Created January 12, 2022 09:13
RN_Example_To DO List Ver 1
import React, { useState } from 'react';
import { StyleSheet, Text, View, KeyboardAvoidingView, Platform, TextInput, TouchableOpacity, Keyboard } from 'react-native';
import Task from './src/components/Task';
export default function App() {
const [task, setTask] = useState("")
const [taskItems, setItemsTask] = useState([])
import React, { useState, useEffect } from 'react';
import { StyleSheet, Text, View, TextInput, TouchableOpacity } from 'react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
export default function App() {
useEffect(() => {
load_data()
console.log('useEffect')
}, [])
import React, { useState } from 'react';
import { StyleSheet, Text, View, TextInput, TouchableOpacity } from 'react-native';
export default function App() {
const [validCode, setValidCode] = useState('')
const [reStr, setReStr] = useState('未輸入')
const display_text = () => {
validCode == "" ? setReStr("未輸入") : setReStr(validCode)
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
@rs6000
rs6000 / 20210522_cryptocurrency_history_price.ipynb
Last active September 6, 2021 09:03
20210522_Cryptocurrency_History_Price.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / 20200720_k-line.ipynb
Last active September 6, 2021 09:03
20200720_K-Line.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rs6000
rs6000 / 20200713_3moviel_ines.ipynb
Last active September 7, 2021 00:29
20200713_3moviel_ines.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.