Skip to content

Category Archives: Uncategorized

ESPEN guidelines

view here complete

merge pdf

merge pdf in linux gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf that is all 😉

stupid way for remove infected files detected by avg

since avg 8.5 for Linux does not come with removal tool for removing infected filesyou have to remove it by handfirst scan directoryavgscan /media/diskit will come with something like that/media/disk/watan/watan.exe Virus identified Autoit.BM/media/disk/show/show.exe Virus identified Autoit.BM/media/disk/ncyrf.bat Virus identified Worm/AutoRun.EQcopy and paste output into file say example.txtnow run awk to get first field and get output […]

add user to fuse group

for that msg after installing encfs on Centos 5.3fuse: failed to open /dev/fuse: Permission deniedfuse failed. Common problems:- fuse kernel module not installed (modprobe fuse)- invalid options — see usage messageadd user to group fuse and enjoygpasswd -a mohamad fuse

anti arp poisning for linux

arptables -P OUT DROParptables -P IN DROParptables -A IN -s 192.168.1.1 –source-mac 00:1D:0F:A6:73:20 -j ACCEPTarptables -A OUT -d 192.168.1.1 –target-mac 00:1D:0F:A6:73:20 -j ACCEPTarp -s 192.168.1.1 00:1D:0F:A6:73:20 http://abulmagd.blogspot.com/2008/08/arptables-and-arp-poisoningnetcut.html

for printing reverse string using perl

i have seen it as antispam toolexample[mohamad@localhost ~]$ perl -e ‘$mail = reverse(“nmoc.liam@liame_ruoy”); print $mail;’your_email@mail.com[mohamad@localhost ~]$

nc file transfere

at receiver machine .. make it listen to any port .. say 12345nc -l -p 12345 > file_to_be_recieved.fileat sender partnc Reciever_ip_address 12345 < file_to_be_send.filedownload netcat from here

socat file transfere

download socat from here or in centos yum install socaton receiver side make it “LISTEN” to Specific port ……. better above root permissive port say 12345socat TCP-LISTEN:12345 /home/mohamad/Recieved_file_directory/file.mp3on sender side socat TCP:remote_ip:12345 /home/mohamad/Sender_Directory/file_i_want_to_send.mp3enjoy the power of command line 😉

disable nav bar from blogger

add the following lines to html file at css section layout > edit html #navbar {height: 0px;visibility: hidden;display: none;}

palestine will be free

nice Song i’ve seen today[youtube=http://www.youtube.com/watch?v=foSbqLi6U10&hl=en&fs=1&]for HQhttp://www.youtube.com/watch?v=foSbqLi6U10&fmt=18