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 {Platform, StyleSheet, Text,TextInput, View, Button, Linking} from 'react-native'; | |
type Props = {}; | |
export default class App extends Component<Props> { | |
constructor(props) { | |
super(props); | |
this.state = { | |
noHP: '' | |
}; |
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 from 'react'; | |
import { Text, View, TextInput, Button } from 'react-native'; | |
export default class App extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
panjang: 0, | |
lebar: 0, | |
tinggi: 0, |
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 from 'react'; | |
import { StyleSheet, Text, View, TextInput, Button } from 'react-native'; | |
export default class VolumeBalok extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
panjang: 0, | |
lebar: 0, | |
tinggi: 0, |
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 from 'react'; | |
import { StyleSheet, Text,TextInput, View, Button} from 'react-native'; | |
export default class VolKelBalok extends React.Component { | |
render() { | |
return ( | |
<View style={styles.vMain} > | |
<View style={styles.vHeader}> | |
<Text style={styles.txtHeader1}>Menghitung Volume Keliling Balok</Text> |
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 from 'react'; | |
import { StyleSheet, Text, View, TextInput, Button } from 'react-native'; | |
export default class SiakSederhana extends React.Component { | |
constructor (props){ | |
super(props) | |
this.state= { | |
tugas1:0, | |
tugas2:0, | |
na:100, |
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 numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import pickle | |
dataset = pd.read_excel('datav5.xlsx', error_bad_lines=False) | |
X = dataset.iloc[:, :-1].values | |
y = dataset.iloc[:, 9].values | |
from sklearn.model_selection import train_test_split |
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 Category from './src/Category' | |
type Props = {}; | |
export default class App extends Component<Props> { | |
render() { | |
return ( | |
<Category /> | |
); | |
} |
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 { StyleSheet, Text, View, FlatList} from 'react-native'; | |
import {ListItem } from 'react-native-elements' | |
import axios from 'axios'; | |
type Props = {}; | |
export default class Category extends Component<Props> { | |
constructor(props) { | |
super(props) | |
prefik_url = 'http://wadaya.rey1024.com/upload/kategori/'; |
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
<?php | |
$server = "rey1024.com"; | |
$user = "xxxx"; | |
$pass = "xxx"; | |
$db = "u7039630_miniperpus"; | |
$koneksi = mysqli_connect($server,$user,$pass,$db); | |
mysqli_set_charset($koneksi,'utf8'); | |
if(mysqli_connect_errno()){ | |
echo 'Gagal melakukan koneksi ke Database : '.mysqli_connect_error(); |
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
<?php | |
header("Content-type: application/json; charset=ISO-8859-1"); | |
include_once "koneksi.php"; | |
$sql = "select * from kategori"; | |
$query = mysqli_query($koneksi, $sql); | |
$arrBuku = array(); | |
while ($row = mysqli_fetch_array($query)){ | |
$arrBuku[] = $row; |
OlderNewer