Command prompt tricks

main

Command Prompt is a command line interpreter application available in most Windows operating systems.It is a input field in a text-based user interface screen for an operating system or program.It is also called Windows Command Processor but is also sometimes called the command shell or cmd prompt, or even referred to by its filename cmd.exe.

cmd is easy to use and you can perform many operations in it.Here are top tricks you must know. Before knowing the tricks lets see how to open cmd in windows 10.

1.Go to search the web and windows

1

2.Enter cmd and select it.

2

Now lets see some usefull cmd tricks.

1.Change the name of title bar.

You can give any title to cmd just give the command title and with it any title you want to give.

Ex:- >title xyz

3

2.Copying text in cmd.

You can’t copy paste by right clicking and then selecting copy paste this feature is not present in cmd.

a)First select the text

4

5

b)Then use keyboard shortcuts CTRL+C(copy) and CTRL+V(paste).

6

3.Opening command prompt inside a folder.

Suppose you want to execute a file in a folder what you will do is change the directory from command prompt well there is a trick that you can directly open command prompt inside a folder.

  1. Go to desired folder.
  2. Hold shift and right click and you will see an option open command window here click it and your are done.

7

4.Change the Looks.

Bored with default looks you can customize command prompt.

8

9

5.Check ip address.

You can find/check ip address of any website using command prompt just give the command nslookup xyz.com.

10

 

6.See PC drivers list.

You can see all the drivers that is installed in your system just give the command driverquery.

11.png

7.Scanning System files.

You can scan the system files using command prompt.It will scan and repair the files.Just type sfc/scannow.Scanning speed depends on your system speed.

12

 

Turn your browser into Notepad.

download

Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables computer users to create documents.We all need notepad to note down the things which we wanna use later but somethings while surfing net you found something you don’t need to save you just want to note it down . So here is the trick to turn your browser into notepad with simple one line code.

here is the code:-

data:text/html, <html contenteditable>

Just copy the code and paste it in browser’s URL bar and you are done!!!

1

1

1

1

 

 

Mobile Tricks

Z(1)

A mobile phone that performs many of the functions of a computer, typically having a touchscreen interface, Internet access, and an operating system capable of running downloaded apps is known as smartphones. The world is going crazy about smartphones and in present scenario approx. 2.32 billion people use it. There are many such things about smartphones that most population doesn’t have the knowledge. Here you will find such tricks of smartphones that will helpful and will reduce your effort.

1.Extend  battery life with low power mode.

If your phone is running on iOS9, go to Settings > Battery > Low Power Mode.  By going into Low Power Mode, non-essential tasks are disabled, giving you up to FOUR more hours of battery life.

power

2.Back-up your data.

Sync and store all your important photos, media, contacts, and even text messages. Even in case you delete a photo or you reset your phone you can still recover all your important data.

backup

3.Aeroplane mode for speed charging.

Everyone wants their phone to charge quickly ,by putting it in aeroplane mode your mobile phone will charge quickly as it will use less battery life.

aero

4.Click pictures with volume button.

You can take photos using the volume buttons whilst in the camera phone.

 

5.Taking Screenshots

Sometimes we want to save the screen as it appears taking screen in smartphones is very easy though you  can do it using various apps available on playstore but it can be done easily you just need to press two buttons same time i.e. power and volume down .

save

7.Download web images.

If you’ve seen one of those funny photographs on the internet, long-pressing on it lets you download it to your phone – and it’ll pop up in your Gallery for easy sharing.

 

8.Multiple Gmail accounts.

Android  added support for multiple Gmail accounts. Add a new internet identity to your phone by opening the Gmail app, then pressing Menu > Accounts > Add Accounts.

gmail

 

9.Custom caller tone.

If you like talking to people, the same screen lets you allocate a specific custom ringtone to each caller stored in your Contacts directory.

10.Here are top 10  android codes that you can use.

download

  1. To display IMEI Number *#06#
  2. To display RAM Memory version *#*#3264#*#*
  3. To display FTA SW version *#*#1111#*#*
  4. To display FTA HW version *#*#2222#*#*
  5. To display Touchscreen version *#*#2663#*#*
  6. To test Bluetooth *#*#232331#*#*
  7. To test secret GPS *#*#1472365#*#*
  8. To launch Service Mode *#*#197328640#*#*
  9. To Restore Factory Settings #*#7780#*#*
  10. To Format phone *2767*3855#

 

11.Enable Developer Mode.

 Navigate to Settings > About phone and tap on your phone’s build number seven times.A message will pop up saying “Congratulations, you are now a developer”.

develper

12.Hidden Game.

You can play games on your mobile by downloading but there is a hidden game that you can enjoy just go Settings > About phone and tap the device’s version number several times.Enjoy the game.

game

 

13.Plug mouse and keyboard to your phone.

You can plug mouse and keyboard to your device and use it like PC.

 

Like Share :))

 

 

 

Version Control

About Version Control

What is “version control”, and why should you care? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.

If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise thing to use. It allows you to revert files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. Using a VCS also generally means that if you screw things up or lose files, you can easily recover. In addition, you get all this for very little overhead.

Local Version Control Systems

Many people’s version-control method of choice is to copy files into another directory (perhaps a time-stamped directory, if they’re clever). This approach is very common because it is so simple, but it is also incredibly error prone. It is easy to forget which directory you’re in and accidentally write to the wrong file or copy over files you don’t mean to.

To deal with this issue, programmers long ago developed local VCSs that had a simple database that kept all the changes to files under revision control.

Local version control diagram
Figure 1. Local version control.

One of the more popular VCS tools was a system called RCS, which is still distributed with many computers today. Even the popular Mac OS X operating system includes the rcs command when you install the Developer Tools. RCS works by keeping patch sets (that is, the differences between files) in a special format on disk; it can then re-create what any file looked like at any point in time by adding up all the patches.

Centralized Version Control Systems

The next major issue that people encounter is that they need to collaborate with developers on other systems. To deal with this problem, Centralized Version Control Systems (CVCSs) were developed. These systems, such as CVS, Subversion, and Perforce, have a single server that contains all the versioned files, and a number of clients that check out files from that central place. For many years, this has been the standard for version control.

Centralized version control diagram
Figure 2. Centralized version control.

This setup offers many advantages, especially over local VCSs. For example, everyone knows to a certain degree what everyone else on the project is doing. Administrators have fine-grained control over who can do what; and it’s far easier to administer a CVCS than it is to deal with local databases on every client.

However, this setup also has some serious downsides. The most obvious is the single point of failure that the centralized server represents. If that server goes down for an hour, then during that hour nobody can collaborate at all or save versioned changes to anything they’re working on. If the hard disk the central database is on becomes corrupted, and proper backups haven’t been kept, you lose absolutely everything – the entire history of the project except whatever single snapshots people happen to have on their local machines. Local VCS systems suffer from this same problem – whenever you have the entire history of the project in a single place, you risk losing everything.

Distributed Version Control Systems

This is where Distributed Version Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial, Bazaar or Darcs), clients don’t just check out the latest snapshot of the files: they fully mirror the repository. Thus if any server dies, and these systems were collaborating via it, any of the client repositories can be copied back up to the server to restore it. Every clone is really a full backup of all the data.

Distributed version control diagram
Figure 3. Distributed version control.

Furthermore, many of these systems deal pretty well with having several remote repositories they can work with, so you can collaborate with different groups of people in different ways simultaneously within the same project. This allows you to set up several types of workflows that aren’t possible in centralized systems, such as hierarchical models.

JAVASCRIPT

What is JavaScript?
JavaScript, an object scripting language which is used in web pages along with markup language HTML. JavaScript is very popular and adopted universally by every web browser for its support which allows dynamic content to get execute in a webpage. JavaScript does not incorporate or abide by any HTML tags or rules. It is similar to stand-alone programming language developed by Sun Microsystems. As JavaScript got its success worldwide with its integration into the web browsers, the Microsoft has added the JavaScript technology to its own Browser Internet Explorer.

Uses and applications of JavaScript

An HTML page is a static one and without JavaScript it would be static still. JavaScript can make the website more interactive and user- friendliness of JavaScript helps easy navigation of the website and helps designers to guide the visitors with additional information or guide them through walkthroughs. Visual effects can also be achieved with JavaScript. JavaScript can be used effectively to create special effects like rollover for images.

JavaScript not only supports web pages but also supports external applications like PDF documents, running widgets, supporting for flash applications etc. JavaScript has emerged in web industry like a boom and if you look at the current web scenario there are no web technologies that are not using JavaScript. For example AJAX and JQuery, in that the AJAX – Asynchronous JavaScript and XML in which JavaScript plays a very important role and JQuery gives the library for predefined functions for adding animations and many dynamic features to the web pages. AJAX and JQuery are some of the current web trends in terms of Dynamic website design and development.

JavaScript stands unique as it brings out all the special functionalities in the client’s browser instead of the site’s server. The role of JavaScript can never be denied as JavaScript can act as both object oriented language and procedural language.

 

WHAT IS GITHUB?

What actually Github is , well according to wikipedia:-
GitHub is a web-based Git or version control repository and Internet hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.
GitHub offers both plans for private and free repositories on the same account which are commonly used to host open-source software projects.

To understand GitHub, you must first have an understanding of Git. Git is an open-source version control system that was started by Linus Trovalds(Creator of Linux).
Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and Clear Case with features like cheap local branching, convenient staging areas, and multiple workflows.

TO KNOW MORE ABOUT GIT DOWNLOAD PROGIT FROM EBOOKS.

Standard library header files in C++

Hello everyone we have seen Hello world program in C++

headerfiles

The first line of the program Hello World we can see its written #include.What is actually, well writing C/C++ program we need to write this.This is header file in C++.

In the C++ programming language, the C++ Standard Library is a collection of classes and functions, which are written in the core language and part of the C++ ISO Standard itself. The C++ Standard Library provides several generic containers, functions to utilize and manipulate these containers, function objects, generic strings and streams (including interactive and file I/O), support for some language features, and functions for everyday tasks such as finding the square root of a number. The C++ Standard Library also incorporates 18 headers of the ISO C90 C standard library ending with “.h”, but their use is deprecated. No other headers in the C++ Standard Library end in “.h”. Features of the C++ Standard Library are declared within the std namespace.

The C++ Standard Library is based upon conventions introduced by the Standard Template Library (STL), and has been influenced by research in generic programming and developers of the STL such as Alexander Stepanov and Meng Lee. Although the C++ Standard Library and the STL share many features, neither is a strict superset of the other.

A noteworthy feature of the C++ Standard Library is that it not only specifies the syntax and semantics of generic algorithms, but also places requirements on their performance.These performance requirements often correspond to a well-known algorithm, which is expected but not required to be used. In most cases this requires linear time O(n) or linearithmic time O(n log n), but in some cases higher bounds are allowed, such as quasilinear time O(n log2 n) for stable sort (to allow in-place merge sort). Previously sorting was only required to take O(n log n) on average, allowing the use of quicksort, which is fast in practice but has poor worst-case performance, but introsort was introduced to allow both fast average performance and optimal worst-case complexity, and as of C++11, sorting is guaranteed to be at worst linearithmic. In other cases requirements remain laxer, such as selection, which is only required to be linear on average (as in quickselect), not requiring worst-case linear as in introselect.

The C++ Standard Library underwent ISO standardization as part of the C++ ISO Standardization effort, and is undergoing further work regarding standardization of expanded functionality.

Download Standard C++ Library Reference from EBOOKS