Kategori: networking
Antisipasi Limit Connection FTP
We allow 8 simultaneous connections from an IP at a time. If you receive this error, please do the following: Quick Steps Step 1: In FileZilla, go to File -> Site Manager Step 2: Locate the Transfer Settings tab Step 3: Click the checkbox next to “Limit number of simultaneous connections” Step 4: Change “Max number
SSH Autologin antar 2 server
1. Buat Key SSH ssh-keygen -t rsa 2. Copy Key ke server target cara pertama : ssh-copy-id -i ~/.ssh/id_rsa.pub noIP_target cara kedua : cat ~/.ssh/id_rsa.pub | ssh username@remote_host “cat >> ~/.ssh/authorized_keys”
Menambahkan Textarea di Yii
<?php echo $form->textArea($model,’billing_address’,array(‘cols’=>60,’rows’=>5)); ?>
Menghilangkan Tooltip Select2
$(document).on(‘mouseenter’, ‘.select2-selection__rendered’, function () { var tooltipId = $(this).attr(“aria-describedby”); // contains the id of the tooltip $(“#” + tooltipId).hide(); // hide the tooltip before it fades in $(this).unbind(‘mouseenter mouseleave’); // stop it showing another tooltip }); <style> .ui-autocomplete { position: absolute; z-index: 99999 !important; cursor: default; padding: 0; margin-top: 2px; list-style: none; background-color: #ffffff;
Membuat coloumn datatable wrap
table.dataTable tbody td { word-wrap: break-word; word-break: break-all; white-space: normal; vertical-align: top; }
Mengaktifkan Popover di datatable
fnDrawCallback : function() { $(‘[data-toggle=”popover”]’).popover(); }
Memperbaiki tampilan halaman saat loading modal
//Main PHP <style> body { padding-right: 0px !important; } .modal-open { overflow: auto; } } </style> //Swal Fire swal.fire({ backdrop : false, title: ‘Informasi’, icon: ‘success’, html: data.pesan, timer: 3500, showConfirmButton: false });