Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Welcome to HelloLuffy. This is your first post. Edit or delete it, then start writing!
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
<?php
if($hasil_hitung['jumlah'] == 0){
$pdf->Ln();
$pdf->Cell(177,6,'Maaf, belum ada data yang tersedia.',1,0,'C');
}else{
while($data = mysql_fetch_array($query)){
$pdf->Ln();
$pdf->Cell(10,6,'1',1,0,'C');
$pdf->Cell(32,6, $data['kd_diagnosa_h'],1,0,'C');
$pdf->Cell(45,6, $data['nama_user'],1,0,'C');
$pdf->Cell(30,6, FlipDate('ymd', $data['tanggal_diagnosa']),1,0,'C');
$pdf->Cell(60,6, $data['hasil_diagnosa'],1,0,'C');
}
}
?>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
Nginx HTTP ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
Nginx HTTP (v6) ALLOW Anywhere (v6)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
#include <iostream>
#include <conio.h>
int if_else_huruf(){
char huruf, cb;
do
{
system("CLS");
printf("\n");
printf(" Masukan huruf : ");
scanf(" %c", &huruf);
if(huruf == 'A' || huruf == 'I' || huruf == 'U' || huruf == 'E' || huruf == 'O' ||
huruf == 'a' || huruf == 'i' || huruf == 'u' || huruf == 'e' || huruf == 'o')
{
printf("\n >> Huruf Vokal");
}
else
{
printf("\n >> Huruf Konsongan");
}
printf("\n \n Coba lagi (Y/N) : ");
scanf(" %c", &cb);
}while(cb == 'Y' || cb == 'y');
return 0;
system("pause");
}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus. Nulla porttitor accumsan tincidunt. Nulla quis lorem ut libero malesuada feugiat.
import time
import psutil
import os
from os import system
from datetime import datetime
os.system('CLS')
system('mode con: cols=85 lines=3')
# Menu
print("Interface Mode:")
print("1. LAN")
print("2. Wi-Fi")
interfaceModeSelect = int(input("Pilih Interface: "))
interfaceMode = "Ethernet" # Default
if interfaceModeSelect == 2:
interfaceMode = "Wi-Fi"
def net_usage(inf, type):
net_stat = psutil.net_io_counters(pernic=True, nowrap=True)[inf]
net_in_1 = net_stat.bytes_recv # DOWNLOAD
net_out_1 = net_stat.bytes_sent # UPLOAD
time.sleep(1)
net_stat = psutil.net_io_counters(pernic=True, nowrap=True)[inf]
net_in_2 = net_stat.bytes_recv
net_out_2 = net_stat.bytes_sent
net_in = round((net_in_2 - net_in_1) / 1024 / 1024, 2)
net_out = round((net_out_2 - net_out_1) / 1024 / 1024, 2)
if type == "PRINT":
return 'IN : '+str(net_in)+ ' MB/s | OUT : '+str(net_out)+' MB/s'
elif type == "COUNTER":
return net_in + net_out
cnt = 1
total = 0
os.system('CLS')
while(True):
now = datetime.now()
current_time = now.strftime("%H:%M:%S")
total += net_usage(interfaceMode, 'COUNTER')
if cnt == 1:
print('Time : ' +current_time+ ' => ' + net_usage(interfaceMode, 'PRINT') + ' | CNT : '+str(round(total,2))+' MB ')
else:
print('Time : ' +current_time+ ' => ' + net_usage(interfaceMode, 'PRINT') + ' | CNT : '+str(round(total,2))+' MB ', end = "\r")
cnt +=1
Hallo