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 / dribbble-homepage-flexbox-ized.markdown
Created June 2, 2017 14:55
Dribbble Homepage Flexbox-ized
@bonaxcrimo
bonaxcrimo / index.html
Created May 30, 2017 04:30
IP CALCULATOR
<!--make change view to full page -->
<div id="main">
<div class="sisi cal">
<div class="form">
<div class="isi">
<div class="pageHeader">
IP Calculator
</div>
@bonaxcrimo
bonaxcrimo / app.js
Created December 13, 2016 02:36 — forked from bingeboy/app.js
Upload and display image with NodeJS and Express.
/*
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, common = require('./routes/common')
, fs = require('fs')
, http = require('http')
, util = require('util')
@bonaxcrimo
bonaxcrimo / passport.js
Created December 13, 2016 02:33 — forked from manjeshpv/passport.js
Passport.js using MySQL for Authentication with Express
// config/passport.js
// load all the things we need
var LocalStrategy = require('passport-local').Strategy;
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>List group</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style type="text/css">
body{padding-top: 40px;}
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Alert</title>
</head>
<body>
<input type="text" name="" id="bil1">
<input type="text" name="" id="bil2">
<button onclick="oper(0)">+</button>
@bonaxcrimo
bonaxcrimo / alert.html
Created November 8, 2016 08:57
Alert ketika inputbox kosong
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Alert</title>
</head>
<body>
<input type="text" name="" id="nama">
<button onclick="cek()">Kirim</button>
<script type="text/javascript">
@bonaxcrimo
bonaxcrimo / index.html
Created October 7, 2016 05:02
todo with localstorage
<div id="todo" class="container col-md-4 col-md-offset-4">
<h1>TODO APP</h1>
<ul id="listTodo" class="list-group">
</ul>
<input id="nama" type="text" name="add" class="form-control" placeholder="Enter to add TODO">
</div>