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 1. method in python
class Biodata:
#"""docstring for Biodata."""
nama = ""
tanggal_lahir = ""
alamat = ""
sekolah = ""
pekerjaan = ""
hobi = ""
skill = ""
cita2 = ""
View 2. simple layout html and css
<html>
<head>
<link href="lay_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">INI HEADER</div>
<div id="content">
<table>
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
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 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 6.bonus
membuat Ai untuk melakukan pengecekan barang
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 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: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: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';
You can’t perform that action at this time.