Tuesday, 20 October 2015

How to install windows 10 from USB flash drive


Windows 10 is the brand new version of windows after windows 8.1 Windows 10 is now officially released and available to download & install on computers. Windows 10 is pretty much upgraded version of windows 8.1 . Windows 10 is mix-up of windows 7 + windows 8.1 because there are so much similar fractures in it. Like START menu is mix combination of windows 7 and windows 8.1 both styles. Windows 10 can be easily install by usb flash drive through cmd ( command prompt ) without use of any software. The method of installing windows 10 on computer + laptop is very simple just follow below steps.

Requirement to install windows 10 from USB flash drive.

  1. Minimum 4 GB pen drive.
  2. Windows 10 ISO FILE.
  3. A little knowledge in regard of How to use command prompt in windows pc.

How to install windows 10 from usb flash drive in computer.

1. Make your pen flash drive bootable using My pen-drive bootable method .

2. After that right click on your Windows 10 ISO file and extract it with Winrar or any other software.



3. After extracting windows 10 iso file it will create a folder with all files so goto the folder and copy all files in it.

4. Paste copied files into Pendrive.

Note : It will show a error message to copy autorun file in pendrive so please turn off the antivirus for a moment to solve this error.

Saturday, 17 October 2015

How to completely empty Truncate MySQL table in phpmyadmin

How to delete all records from MySQL table in phpmyadmin.



Truncate MySQL command is applied to erase all the elements of tables like all the records. This command is used with table name with specific database name. This command delete all the table records and make the table into by-default stage just like as after created time. After emptying the MySQL database table it will remove rows + columns all records.

On phpmyadmin's MySQL server you can truncate table by selecting Empty option on it. The step by step guide to delete records from MySQL database table.

Erasing all table records with one click using phpmyadmin in xampp.


1. First start apace & MySQL server from phpmyadmin control panel.


2. Visit localhost/phpmyadmin on your web browser.

3. Now select your Database >> Select Table.

4. Click on Empty button which is shows at the front of table name.


5. Now your will show a alert message " You are about to TRUNCATE a complete table ! Do you really want to execute  TRUNCATE tableName."


Friday, 16 October 2015

How to set category,Labels Page post showing limit on Blogger to show specific number of posts


Labels are same keyword used for define category keywords, on bloggers platform categories are called as labels so there are no difference between both of them. Blogger is by-default set for showing all label post under label links there are no pre-define method to change these settings but you can change labels ( category ) page post showing limit by editing blogger template code. This is the easiest method to make your labels post page load more fast then usual.

Benefit after changing blogger labels post page limit.

  • Labels page become easy to load because there is a post limitation .
  • Easy to readable by blog user.
  • No more large up to down mouse scrolling.

How to set post showing limitation on Blogger category ( labels ) page to show specific number of posts.


1. Log-in your blogger blog admin panel.

2. GoTo Template >> Edit HTML .


Note : Make backup your HTML template before editing it .

3. Find expr:href='data:label.url'

4. Replace with expr:href='data:label.url + "?max-results=7"'

Note: Replace all the found code, there are repetition of this code is multiple times. Here is 
?max-results=7 is the number of post shows on labels page. You can set any number here according to your requirement. If you want to show more then 7 posts here then replace 7 with any number.

How to set only Numeric password restriction From user Into android app

Numeric password restriction means set automatic restriction so application user cannot enter alphabets, special characters as password. There are a automatic limitation applied on application's EditText box so user are unable to set alphabetic characters, special characters as passwords. It will allow the application to only open numeric keypad .

Setting up only numeric password enter restriction on android application.


Code for activity_main.xml file .

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.tutorials2make.getnumericpasswordandroidapp.MainActivity" >

    <EditText
        android:id="@+id/PasswordRestriction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="50dp"
        android:ems="10"
        android:inputType="numberPassword" >

        <requestFocus />
    </EditText>

    <Button
        android:id="@+id/GetOnlyNumericPassword"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:text="Get Only Numeric Password" />

</RelativeLayout>

Code for MainActivity.java programming file .

package com.tutorials2make.getnumericpasswordandroidapp;

import android.app.Activity;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;


public class MainActivity extends Activity {
Editable HoldNumericPassword;
Button GetNumericPassword;
EditText GetNumericPasswordinAndroid;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        GetNumericPassword = (Button)findViewById(R.id.GetOnlyNumericPassword);
        GetNumericPasswordinAndroid = (EditText)findViewById(R.id.PasswordRestriction);
        
        GetNumericPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
HoldNumericPassword = GetNumericPasswordinAndroid.getText();
Toast.makeText(MainActivity.this, HoldNumericPassword, Toast.LENGTH_LONG).show();
}
});
    }
}



How to get Alphabetic, Numeric, Special Symbol password from user in Android Application

On android applications EditText box is applied to demand text from user, text can be any type of

Alphabetic ( A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z )
Numeric ( 0,1,2,3,4,5,6,7,8,9 )
Special symbols ( ! @ # $ % ^ & * ( ) _ + { } " : ? > < | ) .

 EditText box also used to get password from user into android application. Because password is very protective thing and when you enter your password in some one's front you don't want to recognize them your password so android EditText gives us an attribute property to take password from user into android application with showing * ( Star ) symbol every time key enters a password.

How to get Alphabet + Numeric + Special symbol as password in android app using EditText.

Code for MainActivity.java file .


package com.tutorials2make.edittextgetpassword;

import android.app.Activity;
import android.os.Bundle;
import android.text.Editable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;


public class MainActivity extends Activity {

Editable getPassword;
Button GetTextPassword;
EditText EntertextPassword;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        GetTextPassword = (Button)findViewById(R.id.get_password_in_android);
        EntertextPassword = (EditText)findViewById(R.id.EnterPasswordBoxInAndroid);
        
        GetTextPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
getPassword = EntertextPassword.getText();
Toast.makeText(MainActivity.this, getPassword,Toast.LENGTH_SHORT).show();
}
});
    }

}

Code for activity_main.xml file .

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.tutorials2make.edittextgetpassword.MainActivity" >

    <EditText
        android:id="@+id/EnterPasswordBoxInAndroid"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="83dp"
        android:ems="10"
        android:inputType="textPassword" >

        <requestFocus />
    </EditText>

    <Button
        android:id="@+id/get_password_in_android"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:text="Click Here to obtain Password form application user" />

</RelativeLayout>



Thursday, 15 October 2015

How to implement extra html code including css in WordPress blog post


WordPress is applied by millions of websites to create simple cool looking structure blogs & websites, But WordPress means no limitations you can do whatever you want related to web development scope. Adding extra HTML ( Hyper text markup language ) tags including css ( Caching style sheet) is one of them. There are a large number of html tags already defined by it on WordPress post publish panel but some of HTML tags are missing so you can add manually them directly into your WordPress blog post.

How to add Extra HTML coding including css in WordPress blog post.


1. Log-in into your WordPress blog admin panel via YourDomainName/wp-admin .

2. Click on Post > Add new (  Because you are adding html coding on individual WordPress post ).


3. Click on Text tab.


Now you can write custom html tags including css here only used by single post.


How to choose correct domain name for your blog


What is domain name definition.

The domain name definition is " An identification string that defines scope of administrative privileges to control a unique name identifier connecting with a disk space ( Web hosting ) are called as domain name. " Domain names are unique recognizer to recognize a particular point out organizations. All the domain names are constituted by DNS ( Domain name system ).


Things you need to focus before choosing a suitable domain name for your business.

Domain name selection depends on your business whether personal or professional. There are lots of domain picking options available, when you trying to purchase a new domain name  There are multiple type of domain extension available on internet. for example .com , .net , .in , org ..etc. You can pic any domain from given list but the name of domain is like match to your business and organization.

  1. Always select domain name related to your website or blog topic.( For example if your blog is related to android then use android keyword on your domain name. )
  2. Choose shorter string name.
  3. Don't use - ( Dash ), ,( Comma ), _( Underscore ), Numeric keywords ( 0,1,2,3,4,5,6,7,8,9 )on your domain name.
  4. Always pick up country preferred domain name like .in , .co, .pk same as your country.
  5. Don't use stop words.

Select domain name respective to your information.
Domain name always represents your blog overall environmental area. Its like all your blog knowledge represents  within a single word so always take the equal domain name as your blog knowledge topic matter.

Always choose shorter name.
Select shorter domain name string so its easy to recognize by any one. Short domain names are also effortless to read, understand and learn. Because its ultra necessary to learn your domain name so users can easily come back on your blog without remembering your domain.

Why..? country preferred domain selection is better then .com , .net , .org , tech domain names extensions.

Country preferred domain names extensions are much better then .com , .net , .org domain names because these extensions are mostly used for product or organizations websites to search all over in the world. But country preferred domain names provide us the ability to comes first search result in your country.