Skip to content

Instantly share code, notes, and snippets.

hinata azzahra hinata4zzahra

Block or report user

Report or block hinata4zzahra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:609d6a33d92b80eaab18aca6aaf3c80f
// B.js
import { A } from './A'
import { myA } from './A' // Doesn't work!
import { Something } from './A' // Doesn't work!
View gist:3280627b73c109c16739970bd9210329
// B.js
import A from './A' //this is a default import, It only works if A has the default export
// A.js
export default 93
View gist:c174527622a1938084cf2b461bf591d2
import React, {Component} from 'react';
import {
StyleSheet, TouchableOpacity,
View, Text, Image, ImageBackground,
} from 'react-native';
import {
Form, Item, Input, Label,
Icon, Button
} from 'native-base';
View gist:eaa2b0b601c4e165ecd691b2eddbecb5
import React, {Component} from 'react'
import {
Form, Item, Button,
Text, Label, Input, Icon
} from 'native-base'
import {StyleSheet} from 'react-native'
import {Field, reduxForm} from 'redux-form'
import {LkTextInput, LkPicker} from 'lazy-kitten-redux-form'
class LoginForm extends Component{
View gist:ce958844a004608a770e2496de6c9006
import {createStore, combineReducers } from 'redux';
import { reducer as formReducer } from 'redux-form'
const appReducer = combineReducers({
form: formReducer
});
const store = createStore(appReducer)
View gist:42abe72e78a18a1b911a58228c56f663
import React, {Component} from 'react';
import {
StyleSheet, TouchableOpacity,
View, Text, Image, ImageBackground,
} from 'react-native';
import {
Form, Item, Input, Label,
Icon, Button
} from 'native-base';
View 6.bonus
membuat Ai untuk melakukan pengecekan barang
View 5. fetch table
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
View 4. simple layout with twitter bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
View 3. simple query with mysql
select post.title, user.username, coment.coment from post, user, coment where post.createdby=user.id and post.id_post=coment.postid
You can’t perform that action at this time.