FlipKart

Saturday, 23 May 2015

Revover the files from harddisk or usb drives

Can we recover the files that have been deleted or recover the entire drive even it is formatted ?
Answer is Yes and No.
Before going to the methodology of recovering , let us understand what happens when we delete something.
As we all know that the data is stored in the form of 0's and 1's .
If any file is to be deleted, general convention is that all 0's and 1's should be converted to 0's but don't you think it is time taking process . so when you delete the file(s) or format , then the master file table reference, which merely tells the operating system where the file was located gets removed. Essentially, you're only removing the map to the data—not the data itself—while also giving the operating system permission to overwrite that area of the hard drive.so the answer is YES as it allows us to recover the data.
How to recover the data ?
Download test disk (http://www.cgsecurity.org/wiki/TestDisk) and follow the instructions in the site
Answer is No as the entire 0's and 1's are converted to 1's if your not doing quick format .

Files getting disappeared in removal drives

In present days it has been observed that many of the removable drives (pen drives, memory cards) when removed from some of the systems ,the files in it gets disappeared but the properties of the drive shows some size is occupied by the files . u can recover the disappeared files by opening computer , then opening the removable disk drive and typing *.* in the search box .The files will be displayed and select all the files ,cut and paste the files in the removable disk drive location.
Refer below if u want to know why it happens
The files which appeared to be disappeared were moved to a folder named space (which can be obtained by typing Alt+255 or Alt + 0160) which is different from space generated by pressing space bar(This space cannot be used to name a folder as folder name doesn't contain spaces) and the graphical view of folder usually yellow is changed to white which in turn makes the folder invisible.Finally, u are typing *.* in the search bcoz * is a wildcard character which stands for multiple characters in windows platform.

Thursday, 26 February 2015

Setting up XAMPP


XAMPP is the most popular PHP development environment .Infact it is a Apache distribution containing MySQL, PHP, and Perl .

This post describes of basic installation of XAMPP in windows and Linux.
If there are any problems in installation
Visit   http://devendradora.blogspot.in/2015/02/problems-in-installation-of-xampp.html

Setting up of environment


1) Download the software from https://www.apachefriends.org/index.html
    ** You can find the software for most of the os like linux based (ubuntu,fedora) ,Windows , OSX etc. (For 32 bit systems choose x86 file and x64 file for 64 bit systems)

For windows OS
2) Once your download is complete, install the program, click on Run.

3) Accept the default settings and click on NEXT ....and then on Finish.

4) Now open Xampp control panel .

5) Start the Apache and MySQL . You can also start the other components, if you want to use them.

6) Open  any webbrowser(Mozilla , Chrome ,opera) and type localhost or 127.0.0.1 in the address bar .

7) A page appears that offers you to choose language . Click on the language of your preference.

8) Welcome page of xampp is displayed.  

For more details visit http://www.wikihow.com/Install-XAMPP-for-Windows

For Linux based OS

2)Once your download is complete, navigate to the location of your downloaded  file say the file name is xampp-linux-x64-5.6.3-0-installer .
If your system is dual boot with windows make sure that you move the downloaded file to the location which is only used by linux as there may be some permission issues if it is in shared location of windows and linux.

Open terminal (CTRL + ALT + T ) and change your directory to specified location . For e.g  cd Downloads

3)Make the file executable  
  sudo chmod +x   xampp-linux-x64-5.6.3-0-installer 
**sudo means root access ,+x means executable 

4) sudo ./ xampp-linux-x64-5.6.3-0-installer  


5) Accept the default settings and click on NEXT ....and then on Finish.

6)To start Xampp (basically called lampp in linux)

 sudo /opt/lampp/lampp start

7) Open  any webbrowser(Mozilla , Chrome ,opera) and type localhost or 127.0.0.1 in the address bar .

8) A page appears that offers you to choose language . Click on the language of your preference.

9) Welcome page of xampp is displayed.  

For more details http://www.wikihow.com/Install-XAMPP-on-Linux

Problems in installation of XAMPP ?
Visit   http://devendradora.blogspot.in/2015/02/problems-in-installation-of-xampp.html

If everthing goes fine until now then you have installed XAMPP successfully.

For Windows OS 
a) Navigate to installation directory of Xampp and open htdocs.
 eg.  c:/>xampp/htdocs
  ** htdocs : It is the location where you can place your various web projects.

b) Create a folder named say webdev

c) Create a sample html or php file say  login.php or login.html

d) Open  web browser and type  
localhost/webdev/login.php or 127.0.0.1/webdev/login.php in the address bar 
e)Your web page gets displayed.


For Linux OS 

a) Navigate to installation directory of Xampp and open htdocs.
 eg.  open terminal CTRL+ ALT + T and then type following commands

       cd /opt/lampp/htdocs

  ** htdocs : It is the location where you can place your various web projects.

b) Create a folder named say webdev
     mkdir webdev
     cd webdev

c) Create a sample html or php file say  login.php or login.html

d) Open  web browser and type  
localhost/webdev/login.php or 127.0.0.1/webdev/login.php in the address bar . If access denied then in the terminal , type 
   chmod +755 webdev   

e) Your web page gets displayed.






 





Problems in installation of XAMPP ?

Some common Errors:

a)Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies.
Possible Solutions:
Most of the times these errors are due to the same port (Default :80) is used by some other services say Internet Information Services (IIS) ,Skype etc.

Possible solutions :

So either these services can be turned off or port of the apache should be changed to solve the above the problems.

Method1 :
Steps :
-> open your xampp control panel then click its "config"
-> choose the "Apache (httpd.conf)" and find this code below and change it into this one:
# change this to Listen on specific IP addresses as shown below
# to prevent Apache from glomming onto all bound IP addresses.
# Listen 0.0.0.0:80
# Listen [::]:80
Listen 80
->save it (ctrl + s)
->Click again on config
-> choose "Apache (httpd-ssl.conf)" find this code below and change it again:
# Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
# Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
# Listen 0.0.0.0:443
# Listen [::]:443
Listen 443
->save it (ctrl + s)

Method 2 : Change the port 80 to some other port say 81
steps :
-> open your xampp control panel then click its "config"
-> choose the "Apache (httpd.conf)"
->Change line
Listen 80 to Listen 81
-> Change line
ServerName localhost:80 to ServerName localhost:81
->start the apache

Method 3 :Turning off the IIS server
Steps :
-> Go to the "control panel" -> "Programs & Features" -> "Turn Windows On or Off".
-> Uncheck your "Internet Information Services" then click ok.
Still doesn't Work ?
No problem ,have you installed any virtual machines such as vmware ?

Method 4:
If you have VMWare Workstation installed , the option to share VM's is listening to port 443. That is preventing an Apache-server to start (xampp).
steps:
-> open vmware software
-> Choose Edit > Preferences > Share VM's
and change 443 to some other value for instance
->Start the apache server

Hope this works !!!

Sunday, 16 November 2014

Problems with computer ?

Does ur system slow down or struck when playing games ?
Facing problems with installing os ?
Do u want ur System to welcome with ur name as audio voice ?
Ever you thought of naming a file/ folder with a space as its name?
Want to Know if someone is hacking your computer ?
Is ur computer secure ?
Is your system or mobile is attacked with virus ?
Do u have more than one computer and don't want to buy multiple licenses for the softwares for each computer ?
Is the size of the RAM(usually in 4GB or above capacity RAM) that is seen in your system properties is less than the actual size?
Are u giving ur system to anonymous persons ?
Do you want to develop a webpage or website and have no required skills in Web programming like HTML, CSS, JAVASCRIPT ?
Are u allowing ur browsers to remember the passwords?
Is your antivirus program monitoring ur pc properly?
Do u want to know who used your pc in your absence and What did he do in ur pc?
Do u want to speed up ur system ?
Problems with dual booting??
Have u installed more than one os and deleted one of the os but when ur system starts the deleted os is also seen??
Is ur system takes more time to access some files?
Do u want to change the partition of hard drives without formatting??
Do u want to make fun with ur friends by displaying the password while they enter???
Not able to configue server ?
To know and explore the solutions to above and related questions and stay tuned to the page
https://www.facebook.com/csedevgroup
http://devendradora.blogspot.in/

Monday, 10 November 2014

Happy Birthday Firefox !!!



Very happy to be a part of such a large open source community.
Its time to celebrate that for 10 years Firefox has been the only choice that is truly independent, that doesn't answer to industry, shareholder or any other corporate interests. ‪#‎ChooseIndependent‬ ‪#‎fx10‬
Join firefox student ambassdor https://affiliates.mozilla.org/referral/68863/
Download firefox https://affiliates.mozilla.org/referral/68861/
Download developer firefox https://www.mozilla.org/en-US/firefox/developer/

Why contribute to Mozilla ?
First of all Mozilla is a wider open source community in the world.Open source is that where one can explore many new things like view source code of any open source project like Firefox browser ,Firefox os and get recognization in the community.
Advantages
Great Opportunity to Learn Something New
Collaborate with Really Smart People
Interesting and Challenging
It Looks Good on a Resume
What can I get by contributing ?
Explore many new things ,get recognization in the community , get splended gift packages , get a free ticket to any Mozilla related events, get a intern. Moreover as get a job easily as more companies look for if you are a open source contributions before.
How to contribute to Mozilla ?
There are many projects for which you can contribute to Mozilla some of which are as follows:
Coding ,Add ons,Web development,Localization,Documentation,Education and many more

Friday, 5 September 2014

Developing Addons for firefox browser

Steps to be followed :

1) Install python

2)Download Addon sdk
https://addons.mozilla.org/en-US/developers/builder

3) Addon sdk Installation on windows

Extract the file contents wherever you choose, and navigate to the root directory of the SDK with a shell/command prompt. For example:

c:/Mozilla> cd addon-sdk

Then run:

bin\activate

Your command prompt should now have a new prefix containing the full path to the SDK's root directory:

(C:\Users\mozilla\sdk\addon-sdk) C:\Mozilla\addon-sdk>


or

Addon sdk Installation on Mac OS X / Linux

Extract the file contents wherever you choose, and navigate to the root directory of the SDK with a shell/command prompt. For example:

tar -xf addon-sdk.tar.gz
cd addon-sdk

Then run if you're a Bash user (most people are):

source bin/activate

And if you're a non-Bash user, you should run:

bash bin/activate

Your command prompt should now have a new prefix containing the name of the SDK's root directory:

(addon-sdk)~/mozilla/addon-sdk >


4) Develop the addon

Initializing an empty add-on

In the command prompt, create a new directory. Navigate to it, type cfx init, and hit enter:mkdir myaddon
cd myaddon 
cfx init




Navigate to lib folder of addon you have created and add the follwing code to main.js


data = require("sdk/self").data
 
var TextPanel = require("sdk/panel").Panel({
  width:325,
  height:330,
  contentURL: data.url("Flip-text.html")
});
 
require("sdk/widget").Widget({
  id: "open-textupsidedown-btn",
  label: "TextUpsideDown",
   contentURL: data.url("./fliptext.PNG"),

   width: 30,
  panel:TextPanel
});

Now,navigate to data folder and create a html file say  Flip-text.html





Here are the few cfx commnads which may be useful :
  cfx init
  cfx run
  cfx test
  cfx xpi

Few links useful for you
 Addons reference
https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/panel 

Bug fixing
https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Getting_Started

Links:
=====
[1] http://www.joshmatthews.net/fosdem/
[2] https://speakerdeck.com/sankha93/build-your-own-firefox
[3] https://developer.mozilla.org/en/Introduction
[4] http://www.joshmatthews.net/trainingmontage/
[5] http://whatcanidoformozilla.org/
[6] http://www.joshmatthews.net/bugsahoy/
[7] https://developer.mozilla.org/