Tuesday, September 24, 2019

Instal XAMPP for Linux

Assalamu'alaikum W. W.

Install XAMPP for Linux di Vbox dengan Ubuntu Server atau Debian
Download installer xampp di https://www.apachefriends.org/download.html

copy hasil download xampp ke Ubuntu Server ..... bisa pake Winscp

masuk di Ubuntu Server

# chmod +x xampp-linux-x64-5.6.30-0-installer.run
# ./xampp-linux-x64-5.6.30-0-installer.run 



tinggal tekan Y Y Y ... kayak di windows ... next next ...

# /opt/lampp/lampp start


biar bisa autostart ....
edit file rc.local
tambahkan pada baris sebelum exit

#! /bin/ bash
# 
# rc.local 
# 
# This script is executed at the end of each multiuser runlevel. 
# Make sure que the script will "exit 0" on success or any other 
# value on error. 
# 
# In order to enable or disable this script just change the execution 
# bits. 
# 
# By default this script does nothing.
/opt/lampp/lampp start
exit 0

simpan dan reboot

siap dech ....

Monday, August 19, 2019

How to Fix Windows 10 Start Menu and Cortana can’t be Clicked after Installing Corel Draw

Assalamu'alaikum W. W.

Yesterday, i just installed Corel Draw Applications in my Windows 10. After installation, nothing wrong happens. But today when i turn on my computer and start to work, there is an annoying problem that occurs. The Applications Start Menu in the left side of the Windows 10 can’t be clicked. And the worse part is Cortana also can’t be clicked. Because of this, i can’t open programs that i didn’t put in the Taskbar or Desktop before. After searching for some solutions, i found a really good suggestion. Thanks to Web Developer Meer for their useful post. The solution to fix this is really simple.

1. Open Registry Editor regedit.exe by Right Click on Start Menu and type “regedit

regedit

Wednesday, August 14, 2019

Editor nano Linux

Assalamu'alaikum warahmatullah wabarakatuh
Ciiiee, balik lagi bersama sayaahhh :v kali ini ane mau share panduan memakai editor nano. BTW, aplikasi nano ini banyak sekali digunakan pada OS Linux. Dan hampir semua OS linux, punya versi nano yang kompatibel nya masing-masing.

Nano adalah aplikasi editor. Aplikasi ini berjalan pada Sistem Operasi CLI (Command Line Interface). Saya belum temukan nano untuk GUI, kalau ada, komentar aja yak :v. BTW, ini juga salah satu produk GNU yang free. Gratiiiss tiiiss tiiiss tiiiss...

Aplikasi ini merupakan pengembangan dari Aplikasi Editor GUI yaitu UW Pico Text Editor. Kurang lebih tampilan editor Nano yang sekarang itu begini.

Monday, July 29, 2019

Cara Mudah Backup Restore Driver di Windows 10

Mudah Backup Driver Tanpa Software Tambahan

Pertama buka Command Prompt as Administrator. Kemudian ketikan perintah dibawah ini.
DISM /Online /Export-Driver /Destination:E:\BackupDriver
Kamu dapat mengganti path ‘E:\BackupDriver’ dengan destinasi path yang kamu inginkan. Dimana lokasi tersebut nantinya akan menyimpan seluruh driver yang kamu miliki. Berikut hasil output dari perintah diatas.

Tuesday, October 30, 2018

Menampilkan Database dari List Menu

Buat koneksi ke database

<?php

$h = "localhost";
$u = "root";
$p = "";
$d = "pegawai";
$connect = mysqli_connect($h,$u,$p,$d);
$query = "SELECT * from test";
$result1 = mysqli_query($connect,$query);
?>


 Buat file index.php


<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<form action = "" method="POST">
<select name="taskOption">
<option value "Pilihen dewe" selected> Pilihen Dewe </option>
<?php include 'config.php';?>
<?php while($row1 = mysqli_fetch_array($result1)):;?>
<option value="<?php echo $row1[0];?>"><?php echo $row1[1];?></option>
<?php endwhile;?>

</select> <input type="submit" name="submit" value="Go" />
<table style="border: none;font-size: 12px;color: #5b5b5b;width: 100%;margin: 10px 0 10px 0;">
 <tr>
 <td bgcolor="#A6D44D" style="border: none;padding: 4px;"><b>NIP</b></td>
 <td bgcolor="#A6D44D" style="border: none;padding: 4px;"><b>Nama</b></td>
 <td bgcolor="#A6D44D" style="border: none;padding: 4px;"><b>Jenis Kelamin</b></td>

 </tr>
 <tr>
 <td>
<?php
$option = $_POST['taskOption'];
switch ($option)
{
default;
display($option);
}
?>

<?php
function display($value)
{
include 'config.php';
while($row = $result1->fetch_assoc())
{
if ( $value==$row["id"] )
echo "<td>" .$row["StdName"]. "</td><td>".$row["Sex"]. "";

}
}
?>

</td>

</table>



</form>




</body>
</html>



NIP Nama Jenis Kelamin
fetch_assoc()) { if ( $value==$row["id"] ) echo "" .$row["StdName"]. "".$row["Sex"]. ""; } } ?>
Demikian ....

Friday, February 9, 2018

[Tips] Nggak bisa hapus file di SD Card? Berikut solusinya!

Assalamu'alaikum Wr. Wb.

Hi sobat mido

Kalian nggak bisa hapus file di SD Card ataupun file dari USB OTG?
Begini nih sob. Kita butuh akses Dokumen. Tapi secara default, Dokumen di ROM mido ini dinonaktifkan. Karena itu kita harus aktifkan kembali Dokumen nya.

Berikut caranya sob:

1. Klik Setelan dan Klik Aplikasi terinstal


Saturday, January 27, 2018

Customizing your Logon with /etc/issue

When you first boot up your new LFS system, the logon screen will be nice and plain (as it should be in a bare-bones system). Many people however, will want their system to display some information in the logon message. This can be accomplished using the file /etc/issue.

The /etc/issue file is a plain text file which will also accept certain escape sequences (see below) in order to insert information about the system. There is also the file issue.net which can be used when logging on remotely. ssh however, will only use it if you set the option in the configuration file and will not interpret the escape sequences shown below.

One of the most common things which people want to do is clear the screen at each logon. The easiest way of doing that is to put a "clear" escape sequence into /etc/issue. A simple way of doing this is to issue the command clear > /etc/issue. This will insert the relevant escape code into the start of the /etc/issue file. Note that if you do this, when you edit the file, you should leave the characters (normally '^[[H^[[2J') on the first line alone.

[Note] Note
Terminal escape sequences are special codes recognized by the terminal. The ^[ represents an ASCII ESC character. The sequence ESC [ H puts the cursor in the upper left hand corner of the screen and ESC 2 J erases the screen. For more information on terminal escape sequences see http://rtfm.etla.org/xterm/ctlseq.html