Skip to content

Instantly share code, notes, and snippets.

View ezrx's full-sized avatar

Reza Riyadhi ezrx

  • Bandung, Indonesia
View GitHub Profile
@ezrx
ezrx / README.md
Created March 4, 2019 07:05 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@ezrx
ezrx / test-jds-css2.html
Last active January 21, 2019 10:02
CSS#2
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Modal Dialog</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.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.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
</head>
@ezrx
ezrx / test-jds-css1.html
Last active January 21, 2019 10:01
CSS#1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Avatar</title>
<style>
/* Write your CSS solution here (do not edit the surrounding HTML) */
.avatar {
height: 150px;
width: 150px;
@ezrx
ezrx / test-jds.html
Created January 21, 2019 09:58
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Company page</title>
</head>
<body>
<p>Welcome! Here you can find the following things:</p>
<ol>
<li><em><a href="#logo">Company's logo</a></em></li>
@ezrx
ezrx / test-jds.js
Created January 21, 2019 09:56
Javascript
function appendChildren(decorateDivFunction) {
var allDivs = document.getElementsByTagName("div");
allDivs = [].slice.call(allDivs, 0);
for (var i = 0; i < allDivs.length; i++) {
var newDiv = document.createElement("div");
decorateDivFunction(newDiv);
allDivs[i].appendChild(newDiv);
}
}