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

Saturday, January 13, 2018

WIN 10 : Tidak bisa access sharing folder

Assalamu'alaikum Wr. Wb

Ada laptop baru dengan W10. Mau copi data di laptop lama ... gak bisa.
Errornya ...


You can't access this shared folder because your organization's security policies block unauthenticated guest access



Solusinya :
Buka gpedit.msc
Configure the following Group Policy settings:
Computer configuration\administrative templates\network\Lanman Workstation
"Enable insecure guest logons"

Alhamdulillah.

Wassalamu'alaikum Wr. Wb.

Wednesday, January 3, 2018

Tutorial Cara Menginstall Webmin Terbaru di Debian 9

Assalamu'alaikm Wr. Wb.

Teman - teman pernah mendengar apa itu Webmin? Untuk penjelasan yang lebih mudah adalah Tool yang berbasis web untuk melakukan konfigurasi pada sistem operasi Linux (Debian 9). Jadi untuk melakukan konfigurasi, bisa menggunakan tool Webmin yang berbasis web sehingga lebih mudah untuk melakukan konfigurasinya.




Secara default, Webmin belum terpasang di Debian 9 dan perlu di install terlebih dahulu. Berikut dibawah ini adalah cara menginstall Webmin terbaru di debian 9.



Untuk yang pertama adalah pastikan telah menginstall debian 9 dan memiliki koneksi internet. Teman - teman bisa menginstall Linux Debian 9 base Desktop ataupun Base text. Tetapi mesikpun begitu untuk installasi menggunakan console atau base text.

Masuk ke Debian 9 melalui console (base text) dengan user root. menambahkan repository untuk Webmin. Pada Debian 9, untuk menambahkan repositorynya berada di /etc/apt/sources.list

#nano /etc/apt/sources.list

tambahkan repository Webmin seperti dibawah ini di barisan bawah.

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

#apt-get update

Kode ERROR printer Canon

Saat Istri mau ngeprint data untuk ngurusi PAK …. si mx397 ngadat …. ada bunyi tulilut tulilut…… eh… tit..tit..tit

Istri bilang …. tinta hitame habis…kok cepet ya….



selidik … selidik… di display keluar kode 1688 ….. artinya …. baca sendiri di bawah ya ….. 😀

Di saat kita ngeprint seperti biasa, kemudian akan muncul jendela error pada desktop, macam2 error ini banyak, seperti berikut :

1)      Error 1000 Canon MP 237  : Printer is out of paper / paper does not feed,
Ditandai dengan blinking 2x pada Canon MP 237 dan untuk mengatasinya
masukkan kertas ke bagian rear tray kemudian tekan tombol Hitam/warna pada Printer

2)     Error 1300 Canon MP 237 : Paper Jammed, ditandai dengan blinking 3x pada Canon MP 237 dan cara mengatasinya ambil kertas yang menyangkut pada printer.

3)     Error 1687 Canon MP 237 : The FINE Cartridge is not installed properly, ditandai blinking 4x pada Printer canon MP 237 dan cara mengatasinya, pastikan pemasangan cartridge sudah benar dan mengunci cartridge.

4)     Error 1401, 1403, 1485 Canon MP 237 : The FINE Cartridge is not installed properly, disertai blinking 5x dan cara mengatasinya adalah pasang cartridge dengan benar jika masih terjadi ganti cartridge dengan yang baru.

5)     Error 1486, 1487 Canon MP 237 : FINE Cartridge is not installed in the correct position, disertai dengan blinking 7x dan cara mengatasinya adalah pastikan pemasangan cartridge sudah benar jika masih terjadi coba ganti dengan cartridge baru.