Blogger Widgets Science Education and Technology

Thursday 27 August 2015

SIDE-EFFECTS OF KEEPING TOOTHBRUSHES IN THE BATHROOM | Latest news, News today, Current news | News News Blog

Fair warning: this story is going to make you want to buy a new toothbrush - and then hide it from your housemates.

New research has found so many side-effects from those who share a
bathroom and still put their toothbrush there. It is very likely someone
else’s poo is on your toothbrush.
This isn’t just disgusting, it can also make you very ill.

“The main concern is not with the presence of your own fecal matter on your toothbrush, but rather when a toothbrush
is contaminated with fecal matter from someone else, which contains
bacteria, viruses or parasites that are not part of your normal flora,”
said research Lauren Aber of Quinnipiac University.
Aber examined 135 toothbrushes from college students using communal
bathrooms shared by an average of five people. The toothbrushes were
then tested, and scientists found at least 60 per cent were
contaminated with fecal bacteria - even if they were rinsed with
mouthwash or hot water and even if people stored them with a cover.
There is an 80 per cent change the bacteria found on the toothbrushes
came from a different person....SIDE-EFFECTS OF KEEPING TOOTHBRUSHES IN THE BATHROOM | Latest news, News today, Current news | News News Blog

Wednesday 22 January 2014

What Useful Commands Can You Type into Your Computer RUN Window?

The Windows Run command dialog box is an extremely useful tool as it can open just about anything you want. You just have to know the special commands to type in. If you are “in to” computers you will become attached to these commands as they access files faster than having to open it manually. The Windows Run box window will also give you access to hidden files, settings, and programs that cannot be seen in the Windows control panel.
In Windows 7 you can type these commands into a cmd window.

Some of my favorite commands you can type into a run box are:

  • regedit – This brings up the Windows registry and lets you change settings. Be warned, changing settings in the registry can cause your computer to simply stop working. You only have to type regedit because it is an executable file. Please see how to create a shortcut to regedit and also see how to get to regedit and gpedit.msc when there is no run box or command window.
  • gpedit.msc – This is to access the Windows group policy where you can change more interesting settings. (editing this is not advised – May not be available in certain versions of Windows.)
  • cmdIf you type this it will bring up dos command window (CMD).
  • taskmgr – If you can’t use your keyboard to press CTRL ALT DEL typing taskmgr will being up the task manger.
  • wab – Type this and it will take you to the Outlook Express email address book.
  • msconfig – This is where you stop programs from opening when you start Windows.
  • Yes it’s just three dots away from my computer or your user files. Depends which version of Windows you are using.
  • recent - Shows recent documents (as I do not have them pinned to my menu for everyone to see.. but might only work in Windows XP..

Where is the Windows run box?

  1. You can get to the RUN dialog box by pressing the Windows key and R. This tip applies to Windows XP, Vista, and Windows Seven.
OR
  1. In Windows XP go to Start Button and open Run from there. In Windows Vista go to the start icon in the left corner and when the start menu appears type in the bar at the bottom.

Opening The Run Box In Windows Vista and Seven

In Windows Vista and Windows 7 you can type run in the bar in the start menu, then press enter and the run box will appear.
Sometimes your settings have been changed and you cannot access the run command window. See  How to restore the Run command window when it is missing from the start menu

What is PowerShell and What Is It Good For?

Windows PowerShell is a tool created by Microsoft. It is used for simplifying the execution of repetitive tasks or taking care of configuration tasks. PowerShell is made up of a console interface that resembles that of the command line tool known as cmd (which most IT savvy users know how to access by executing command from the Run dialog box).
The difference between PowerShell and cmd is that PowerShell has the capability to run scripts. In addition, due to the special privileges provided for this tool, you can access other software running in the computer and even access resources over a network. These capabilities can also allow you to communicate with Linux or devices that are connected to your computer’s network. To fulfill its functionalities, PowerShell uses commandlets (written as: cmdlets), which combine several scripts of commonly used routines. Execution of these combined routines can then greatly simplify your own scripts. In this article we will explore different ways of using PowerShell, to achieve greater command of the computer’s resources.

Start PowerShell

Before delving into the various ways that you can use PowerShell, we will first see how you can launch PowerShell.
To Start PowerShell with normal privileges:
• Click the Start button
• Type PowerShell in the run dialog box and hit enter
This will launch the PowerShell window as shown below.
What is PowerShell
As a normal user, however, you will not be able to perform many of the administrative tasks which we aim to accomplish. Therefore, let’s launch PowerShell with full administrative rights.
  1. Click the Start button
  2. Click Programs then Accessories then PowerShell folder
  3. Then Right-click Windows PowerShell and choose: Run As Administrator from the menu.
open PowerShell
You can also run powershell from command line (cmd). This method of starting PowerShell will enable you to specify arguments like /noexit, -nologo. Whereby, the former instructs Windows to allow PowerShell to remain open after finishing running a script and the latter to allow PowerShell to run without the banner at the top.

Customize PowerShell

Now that you have opened a PowerShell interface, you might need to get comfortable with the way it looks before you start scripting. In this section, we will customize the PowerShell User Interface (UI) to our liking.
You can adjust the PowerShell properties by using scripting. That is, you will need to enter commands into the PowerShell’s command line to tweak some of the UI properties.
Here is an example:
• >(Get-Host).UI.RawUI
• >(Get-Host).UI.RawUI.BackgroundColor = “Red”
• >(Get-Host).UI.RawUI.ForegroundColor = “White”
• >cls
The line (Get-Host).UI.RawUI instructs PowerShell to run the cmdlet Get-Host which will give us the ability to interact with the RawUI property under UI.
The second line sets the back ground color of the console to red while the third line sets the foreground color to white.
The last command, cls, will clear the screen to enable us see the new settings that we had specified.
Here is the end result:
img22

Scripting

Execution Policy
Before you start scripting, you should note that Windows does not allow scripts to run by default. Look at how your system’s policy towards scripts is currently set. To do this first, you can run the command: >Get-ExecutionPolicy.
You will get an output that may be either Restricted, RemoteSigned, AllSigned or UnRestricted. Where the terms mean:
• Restricted – no scripts will run.
• RemoteSigned – run scripts from the internet that have been signed by a trusted provider.
• AllSigned – run a script only if it has been signed (including those that are local).
• UnRestricted – run all scripts.
For normal purposes, we will set the policy to RemoteSigned. By typing the following command: Set-ExecutionPolicy RemoteSigned.

File Paths

Powershell scripts are stored as .PSI files in your root directory. However, you should make sure that PowerShell will know where that .PSI file is located. It is not enough to run a script file just by specifying its name then expect it to perform the desired tasks. PowerShell requires you to explicitly specify the path of the script file.
For example, the Scripts folder under C: drive usually contains a script file named Test.PS1. To run it you should enter the command as: C:\Scripts\Test.PS1.
A script file will also not run if its path name contains spaces. Consider the command: C:\Scripts\Just A Test.PS1. The Just A Test.PS1 file will not be recognized by PowerShell and you will get an error reply. To remedy this, make sure that filenames that contain spaces have their path enclosed in quotes to enable them get recognized by PowerShell, that is: & “C:\Scripts\Just A Test.PS1”. Where the ampersand tells PowerShell that the value enclosed in braces is a command file and not just any string.

Dot Sourcing

Consider a script file, Values.PS1, that contains the following:
$X = 25
$Y = 20
This file has declared three variables, X and Y which are place holders (also known as variables) for anything that we assign to them. And a second file, Answer.PS1, that contains:
$Z = $X + $Y
Where Z is a variable which contains the sum of the values of X and Y. To enable Answer.PS1 to run without producing an error, we will need to make it recognize the values from Values.PS1 file, as if they all resided in one script file. We shall do so by a term called ‘dot sourcing’ the script from the Values.PS1 file:
. C\Values.PS1
This command tells PowerShell that the variables from Values.PS1 should be made available to any other file that may need it from within PowerShell. Therefore by executing $Z, from the command line, we will get an output of 45. Simple as that!
To conclude, you should know that what has been discussed here is only the tip of the iceberg. Lot more we can do with PowerShell. You can use PowerShell to automate your computing tasks, by which you will experience a level of control only achievable by harnessing the true capabilities of your computer’s system resources.

Wednesday 15 January 2014

Related post widget for blogger



Related Post Widget For Blogger


Step 1
Go To Your Blogger Dashboard
Step 2
Click On Template
Step 3
Click On Edit HTML
Step 4
Expand Widget template
Search This Code
Box No 1
Step 5
Now Paste Code Of Below box Berore Above Code
Box No 2
Step 6
Now Find </head> And exactly before Paste code From Below Box
Box No 3
Step 7
Now Find Any One Of The Code in Theme content Box and paste code exactly after it from below box
Box No 4
Or
Box No 5
Step 8
Paste code From Below Box exactly after Above Code which you have find any one of them From Theme content Box.
Box No 6
Click on Save Template
and Done
Note:
This Widget Show 5 Related Post
If You want More Then Your 5 or on your choise you can change it by Modifying Box no 6 code
In Box 6 5th Line
var maxresults=5;
In Above line red digit 5 show that 5 related post will be show
if You change 5 with 8 then it will show 8 relate post
Make changes on your choise.
If you like this please comment
Thanks