Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

bona tua bonaxcrimo

🎯
Focusing
View GitHub Profile
@bonaxcrimo
bonaxcrimo / docker_wordpress.md
Created Mar 8, 2020 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin
View docker_wordpress.md

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@bonaxcrimo
bonaxcrimo / ket.php
Created Jan 7, 2020
Pesan editor di controller Penulis
View ket.php
public function pesaneditor($id,$paket){
$user= ambilData('users',['id_user'=>$id]);
$data['paket'] = $paket==0?'Standar':'Express';
$editor= ambilData('editor',['user_id'=>$id]);
$data['editor'] = $editor;
$data['harga'] = $paket==0?$editor->hargabiasa:$editor->hargaexpres;
$data['user'] = $user;
$data['cerpen'] = $this->db->query("select * from cerpen where id_penulis = ".$_SESSION['id'])->result();
@bonaxcrimo
bonaxcrimo / contoh1.html
Created Jun 19, 2018
Untuk Bootstrap 4 Book
View contoh1.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap 4 Halaman Pertama</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
View decision-tree-id3-algorithm.markdown

Decision Tree ID3 Algorithm

Example Using Decision Tree using ID3 Algorithm

A Pen by bona on CodePen.

License.

View a-slice-of-cake.markdown
View index.html
<div class="container">
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
<div class="paper"></div>
@bonaxcrimo
bonaxcrimo / index.html
Created Jun 7, 2017
Single Div Accordion (Animated with CSS Variables)
View index.html
<div></div>
<!-- animation controls -->
<form>
<p>
<input type="checkbox" id="pauser" checked>
<label for="pauser">Animate</label>
</p>
</form>
View animate-on-scroll-examples.markdown
@bonaxcrimo
bonaxcrimo / oopjavascript.html
Created Jun 2, 2017
oop beginner javascript
View oopjavascript.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Object Oriented JavaScript</title>
</head>
<body>
<script type="text/javascript">