Skip to content

Instantly share code, notes, and snippets.

View nafism05's full-sized avatar

M Nafis Alfa F. nafism05

  • Semarang, Indonesia
View GitHub Profile
<!DOCTYPE html>
<html>
<title></title>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<center>
<h2>Aplikasi Booking Futsal</h2>
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<center>
<h2>Aplikasi Booking Futsal</h2>
@nafism05
nafism05 / fromfolder.php
Created May 18, 2018 06:47 — forked from projectxcappe/fromfolder.php
Display Images From A Folder with PHP
//Display Images From A Folder with PHP
<?php
$files = glob("images/*.*");
for ($i=1; $i<count($files); $i++)
{
$num = $files[$i];
echo '<img src="'.$num.'" alt="random image">'."&nbsp;&nbsp;";
}
?>
@nafism05
nafism05 / README.md
Created April 19, 2018 07:39 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@nafism05
nafism05 / Virtual Box Host Only Static IP.md
Created April 29, 2017 03:04 — forked from pjdietz/Virtual Box Host Only Static IP.md
VirtualBox Host-Only Adapter with Static IP

VirtualBox Host-Only Static IP

My typical setup for a development box in VirtualBox uses two NICs. The first uses NAT to allow the box to communicate with the outside world through my host computer’s network connection. (NAT is the default, so shouldn't require any setup.) The second is a "host-only" connection that allows my host and guest to interact.

To create a host-only connection in VirtualBox, start by opening the preferences in VirtualBox. Go to the "Network" tab, and addd a Host-only Network. Modify the host-only network, and disable DHCP. Make a note of the IP address. (Feel free to set the IP address as well, if you like.)

Next, assign this host-only adapter to the virtual machine. Select the VM and press "Settings". Go to the "Network" tab, and select "Adpater 2". Enable the adapter, set it to a "Host-only Adapter", and select the adpater you created above.

Temporary