Thursday, 27 October 2016

Create A Bootable Windows 7 Flash Disk



What you need?
1. Windows Disk.
2. 4GB Flash Disk. for windows 7,8, but for XP 2GB is ok.
3. Power ISO software.

Method 1

1. Download and install  Power ISO software
2. Insert your Windows Disk
3. Run Power ISO as Admin. by right clicking Icon & selecting Run as Administrator.
4. Click on Option of Copy & select Make CD/DVD/BD Image File
5. In the Next window that appears select .iso file as destination of image.

1. Insert the Flash disk in your Pc.
2. Choose the menu "Tools > Create Bootable USB Drive". The "Create Bootable USB Drive" dialog will popup. If you are using Windows Vista or Windows 7 / 8 operating system, you need confirm the UAC dialog to continue.
3. In "Create Bootable USB Drive" dialog, click "..." button to open the iso file of Windows 7 or Windows 8.
4. Select the correct USB drive from the "Destination USB Drive" list if multiple USB drives are connected to the computer.
5. Choose the proper writing method. "USB-HDD" is recommended.
6. Click "Start" button to start creating windows Xp, 7 / 8 bootable USB drive.
If no errors occurred in the above process, you should now be all set to setup Windows 7 / 8 from USB drive!
7. Reboot  your computer and go into the BIOS configuration to boot from USB.
8. While booting (before Windows starts loading), get into the BIOS configuration screen by pressing  F1, F2, Delete or Escape. Hotkey instructions are generally provided on the screen. Go to the section that contains your boot devices.
9. With your USB drive plugged in, the USB drive should be listed. If it isn’t, your system might not support booting from USB. Assuming that it is supported (as is the case with virtually all modern hardware), promote your USB drive to the primary boot device.
10. Exit from the BIOS configuration, saving all changes. Now you can install windows from the Flash Disk.

Method 2

Step 1: Format the Drive
The steps here are to use the command line to format the disk properly using the diskpart utility. [Be warned: this will erase everything on your drive. Be careful.]
Plug in your USB Flash Drive
Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
Find the drive number of your USB Drive by typing the following into the Command Prompt window:
diskpart
list disk

The number of your USB drive will listed. You’ll need this for the next step. I’ll assume that the USB flash drive is disk 1. Replace the number “1” with the number of your disk below.
select disk 1
clean
create partition primary
select partition 1
active
format fs=NTFS
assign
exit

When that is done you’ll have a formatted USB flash drive ready to be made bootable.

Step 2: Make the Drive Bootable
We shall use the same command window that you were using in Step 1:

Insert your Windows Vista / 7 DVD into your drive.

Change in to the directory to the DVD’s boot directory where bootsect lives ie the DVD drive letter I will asume its d
type d: in the command prompt window

cd d:\boot

Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:

bootsect /nt60 g:

You can now close the command prompt window, we’re done here.
Step 3: Copy the installation DVD to the USB drive
The easiest way is to use Windows explorer to copy all of the files on your DVD on to the formatted flash drive. After you’ve copied all of the files the disk you are ready to go.

Step 4: Set your BIOS to boot from USB
This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.

Tuesday, 25 October 2016

Dealing With Malware In Everyday Life.



Malware is a basically a software that is designed to malice your computer, in way that it steals information from your computer, downloads unwanted software, changes your computer settings and in worst case scenario encrypts you computer information.
Malware have been around for so long as the programming begun, with the most prominent malware being Zeus, though other malware do exist, they are not as resilient as the Zeus malware and the fact that the Zeus is not owed by a specific individual means you will most likely have a different version of Zeus attacking your company and that means you are most like going to find fewer solutions to the attack.
What’s more interesting however is the method of attack that malware vendors and developers use, in the beginning the developers used IRC (Internet Relay Chat) which basically meant that an infected device always connect to a specific IRC   for further  instructions, currently the malware developers use twitter and Facebook hash tags and posts which are encrypted from the public. Meaning that the hash tags are always posted and deleted as and when need arises.
As more and more devices get  infected the developers need a way to control the infected devices that have formed a bot net that is entirely autonomous and harder to take down, with that in mind malware developers add distress codes, which makes it easier to disconnect and reconnect the infected devices without losing any resources currently available.
Despite the ever evolving malware landscape computer security companies have not yet given up with Kaspersky leading the development of new software to combat new variants of known and unknown malware. As a matter of fact every malware that has infected a computer anyways can be detected easily by Kaspersky than any other software.
 However it’s worthy noting that these malware can be detected by other variety of software like:
1.       Zemana antimalware
2.       Kaspersky TDSSkiller
3.       Malwarebytes anti malware
4.       Iexplorer
5.       Hitman pro
6.       Rkiller
With these software you can easily fix any malware infect on your devices. Though care must be exercised to avoid data and information loss, for example doing daily data backups, scanning files before opening them, avoid opening any URLs and visiting random websites.
Malware attacks and infection rates are declining as more complex methods of data theft and computer control are being implemented. As such you stand as the last line of defense in ensuring that you don’t get infected with malware way and in case of infection how you recover from this the infection with all your information and data intact.

Thursday, 20 October 2016

20 Python Libraries.



Python is a great programming language and with that the need to do more. Python uses libraries which may interchangible be called modules. Once you have mastered the basics you will need to install the following modules to further explore pythons power.

1. Requests. The most famous http library written by kenneth reitz. It’s a must have for every python developer.

2. Scrapy. If you are involved in webscraping then this is a must have library for you. After using this library you won’t use any other.

3. wxPython. A gui toolkit for python. I have primarily used it in place of tkinter. You will really love it.

4. Pillow. A friendly fork of PIL (Python Imaging Library). It is more user friendly than PIL and is a must have for anyone who works with images.

5. SQLAlchemy. A database library. Many love it and many hate it. The choice is yours.

6. BeautifulSoup. I know it’s slow but this xml and html parsing library is very useful for beginners.

7. Twisted. The most important tool for any network application developer. It has a very beautiful api and is used by a lot of famous python developers.

8. NumPy. How can we leave this very important library ? It provides some advance math functionalities to python.

9. SciPy. When we talk about NumPy then we have to talk about scipy. It is a library of algorithms and mathematical tools for python and has caused many scientists to switch from ruby to python.

10. matplotlib. A numerical plotting library. It is very useful for any data scientist or any data analyzer.

11. Pygame. Which developer does not like to play games and develop them ? This library will help you achieve your goal of 2d game development.

12. Pyglet. A 3d animation and game creation engine. This is the engine in which the famous python port of minecraft was made

13. pyQT. A GUI toolkit for python. It is my second choice after wxpython for developing GUI’s for my python scripts.

14. pyGtk. Another python GUI library. It is the same library in which the famous Bittorrent client is created.

15. Scapy. A packet sniffer and analyzer for python made in python.

16. pywin32. A python library which provides some useful methods and classes for interacting with windows.

17. nltk. Natural Language Toolkit – I realize most people won’t be using this one, but it’s generic enough. It is a very useful library if you want to manipulate strings. But it’s capacity is beyond that. Do check it out.

18. nose. A testing framework for python. It is used by millions of python developers. It is a must have if you do test driven development.

19. SymPy. SymPy can do algebraic evaluation, differentiation, expansion, complex numbers, etc. It is contained in a pure Python distribution.

20. IPython. I just can’t stress enough how useful this tool is. It is a python prompt on steroids. It has completion, history, shell capabilities, and a lot more. Make sure that you take a look at it.

Sunday, 16 October 2016

Why Learn Programming.

Even if you don't become a professional programmer (most people
don't), there are lots of reasons to learn programming:
■ The most important is because you want to! Programming can be very
interesting and rewarding, as a hobby or a profession.
■ If you're interested in computers and want to know more about how
they work and how you can make them do what you want, that's a good
reason to learn about programming.
■ Maybe you want to make your own games, or maybe you can't find a
program that does exactly what you want or need it to do, so you want
to write your own.
■ Computers are everywhere these days, so there's a good chance you'll
use computers at work, at school, or at home—probably all three.
Learning about programming will help you understand computers better
in general.

Most importantly these are the great languages to learn


PHP

Java

Node.js

Python

C#.
Ruby
Go.
Lua.
Lua. Jack.
Haskell
Scala.
Swift.
OCaml.