Posts

JAVA: String to Star pattern

Click here to View PS: my friend asked me to do this program and i have just proved that my l0gic was right! i haven't added the all the alphabets as it was time consuming but a string like F###-OFF does work! :P

PL-1 : All practicals group assignments

PL-1 : All group assignments click here to download

DMSA : All units Notes

Data base management all UNITS         click here for download

GENERAL:Fun with Linux

So here's a common tutorial on how to SHUTDOWN any PC connected to you on your LAN network using LINUX based OS... first you need to get the IP address of those machines ,, inorder to do so you can try ipneigh or arp on your terminal.... if that doesn't work you should can always try install nmap an applet application for broadcasting to all the IP's on a network , this will get you a list of IP's so inorder to install nmap here's how its done yum install nmap / apt-get nmap nmap <IP> b suppose <IP> = 192.168.1.1 you should replace the digits with * (the more the * the more is the SCAN TIME) E.G.:- 192.168.*.* will get me a list of all the IP's starting from 192.168.   now try these again- ip neigh or arp on your terminal.... after this you can use various commands like init1,init2 .... , poweroff , reboot ..... along with ssh .   command ssh <IP> poweroff this is supposed to shutdown the other PC , you can also use ss...

JAVA: String and String functions

just put in some string functions,,,, interested juzz check it out ;) Click to Download

JAVA: Program to find whether a number is prime or not (with gui)

i've put in a program to find whether a number is prime or not, also added in some GUI, you can always use it as a simple program by un-commenting  the few lines in the pryme.java file :) click here to download

JAVA: Hello world and also dispaly the value of /n(enter) n /t(tab) button

just as the title says i've put the hashcode function  nothin more than a basic program :) click here to download