Kmrn ada tugas dr bos tuk bikin incremential backup filename make ekstensi .zip di DOS/WIn32 trus bingung bukan kepalang. Buka om Google trus nemu source-code kecil dibwh ini:
REM Create sub directory called \yymmdd_hhmmss
REM where yymmdd_hhmmss is a date_time stamp like 030902_134200
set hh=%time:~0,2%
REM Since there is no leading zero for times before 10 am, have to put in
REM a zero when this is run before 10 am.
if "%time:~0,1%"==" " set hh=0%hh:~1,1%
set yymmdd_hhmmss=%date:~12,2%%date:~4,2%%date:~7,2%_%hh%%time:~3,2%%time:~6,2%
md h:\%yymmdd_hhmmss%
Kreatiflah dan berfikirlah sendr tuk mengembangnya, jgn anggap susah jika Anda memang perlu dan mau tuk belajar!
Sumber
Tanggal dan Waktu dijadikan NamaFile secara Incremential
5 11 2008Comments : Leave a Comment »
Tags: DoS, incremential, Windows
Categories : Windows
Antisipasi Serangan Flood/DoS/DDoS dgn Optimasi Kernel
12 07 2008Edit File /boot/loader.conf
# ee /boot/loader.conf
kern.ipc.maxsockets=16384
autoboot_delay="3"
Edit file /etc/sysctl.conf.
# ee /etc/sysctl.conf
kern.ipc.nmbclusters=16384
net.inet.tcp.sendspace=32768
net.inet.tcp.recvspace=32768
kern.ipc.somaxconn=2048
net.inet.icmp.drop_redirect=1
net.inet.icmp.log_redirect=1
net.inet.ip.redirect=0
kern.maxfiles=112328
kern.maxfilesperproc=31095
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=1
Tested under OpenBSD 4.3 GENERIC and FreeBSD 7.0 STABLE
Comments : Leave a Comment »
Tags: DDoS, DoS, Flood, FreeBSD, kernel, NetBSD, OpenBSD
Categories : The BSD
