Skip to content

Instantly share code, notes, and snippets.

View bonaxcrimo's full-sized avatar
🎯
Focusing

bona tua bonaxcrimo

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

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 January 7, 2020 09:47
Pesan editor di controller Penulis
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 June 19, 2018 21:20
Untuk Bootstrap 4 Book
<!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>
@bonaxcrimo
bonaxcrimo / decision-tree-id3-algorithm.markdown
Created August 29, 2017 09:05
Decision Tree ID3 Algorithm

Decision Tree ID3 Algorithm

Example Using Decision Tree using ID3 Algorithm

A Pen by bona on CodePen.

License.

@bonaxcrimo
bonaxcrimo / index.html
Created June 23, 2017 08:44
paper preloader
<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 June 7, 2017 05:21
Single Div Accordion (Animated with CSS Variables)
<div>♬</div>
<!-- animation controls -->
<form>
<p>
<input type="checkbox" id="pauser" checked>
<label for="pauser">Animate</label>
</p>
</form>
@bonaxcrimo
bonaxcrimo / oopjavascript.html
Created June 2, 2017 15:42
oop beginner javascript
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Object Oriented JavaScript</title>
</head>
<body>
<script type="text/javascript">