Pages

Google ads Horizontal

Sunday, October 2, 2016

Windows All Version Genuine Key Just 1 Click

Hi Friends,

All versions of windows genuine key

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents]
"OOBETimer"=hex:ff,d5,71,d6,8b,6a,8d,6f,d5,33,93,fd
"LastWPAEventLogged"=hex:d5,07,05,00,06,00,07,00,0f,00,38,00,24,00,fd,02

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"CurrentBuild"="1.511.1 () (Obsolete data - do not use)"
"InstallDate"=dword:427cdd95
"ProductId"="69831-640-1780577-45389"
"DigitalProductId"=hex:a4,00,00,00,03,00,00,00,36,39,38,33,31,2d,36,34,30,2d,\
31,37,38,30,35,37,37,2d,34,35,33,38,39,00,5a,00,00,00,41,32,32,2d,30,30,30,\
30,31,00,00,00,00,00,00,00,00,0d,04,89,b2,15,1b,c4,ee,62,4f,e6,64,6f,01,00,\
00,00,00,00,27,ed,85,43,a2,20,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,31,34,35,30,34,00,00,00,00,00,00,00,ce,0e,\
00,00,12,42,15,a0,00,08,00,00,87,01,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,94,a2,b3,ac
"LicenseInfo"=hex:9e,bf,09,d0,3a,76,a5,27,bb,f2,da,88,58,ce,58,e9,05,6b,0b,82,\
c3,74,ab,42,0d,fb,ee,c3,ea,57,d0,9d,67,a5,3d,6e,42,0d,60,c0,1a,70,24,46,16,\
0a,0a,ce,0d,b8,27,4a,46,53,f3,17


COPY THIS WHOLE DATA TO NOTEPAD AND SAVE AS (KEY.reg )
AFTER SAVE THE FILE U CAN open THIS FILE AND HIT TO YES
YOUR WINDOWS IS NOW GENUINE FOREVER Very Happy
THANKS

Selenium Webdriver Tutorial-Intro To Parallel Test Execution


Video: AVC 1280x720 | MP4 | Audio: AAC 44KHz 2ch | Duration: 1 Hours | Lec: 25 | 282 MB
Genre: eLearning | Language: English

Learn parallel test execution with Sauce Labs, Browser Stack, and locally using NUnit

Is your automation test suite taking hours to run Are you having issues with debugging and analyzing automated test failures Can your automation framework record videos and capture

This course is an introductory Selenium Webdriver course that is designed to take your automated software testing skills to the next level and solve all of the problems above. It covers just enough options to help you run your tests in parallel without overwhelming you with a bunch of minute details.

"The best tutorials I have ever seen, simply awesome. I take off my hat in front of you, you are an gorgeous professor, I am speechless to express how satisfied I am with these tutorials." -Lisbey

In course, you will get an introduction to the following topics:

1. How to run Selenium Webdriver tests in parallel on your computer
2. How to run Selenium Webdriver tests in parallel in Browser Stack's cloud
3. How to run Selenium Webdriver tests in parallel in Sauce Lab's cloud
4. Introduction to NUnit
5. Understand the benefits of running your tests in parallel
6. Understand the benefits of running your tests in the cloud
7. Understand how to configure and use the RemoteWebdriver class

Download
http://uploaded.net/file/2ejmyuar/lqjul.S.W.TI.T.P.T.E.rar

or

Download
https://www.bigfile.to/file/wY2tkectBpt7/lqjul.S.W.TI.T.P.T.E.rar

Sunday, May 22, 2016

Git: How to remove file from index without deleting files from any repository

We can use below command
git rm -r --cached [folder name]
this will remove folder also contained file from git but not remove from physical drive.

Best (and safest) way to merge a git branch into master

How I would do this
git checkout master
git pull origin master
git merge test
git push origin master
If I have a local branch from a remote one, I don't feel comfortable with merging other branches than this one with the remote. Also I would not push my changes, until I'm happy with what I want to push and also I wouldn't push things at all, that are only for me and my local repository. In your description it seems, that test is only for you? So no reason to publish it.
git always tries to respect yours and others changes, and so will --rebase. I don't think I can explain it appropriately, so have a look at the Git book - Rebasing or git-reade: Intro into rebasingfor a little description. It's a quite cool feature

Sunday, May 15, 2016

How to connect wifi using ubuntu console

Wifi network name : Farhan
Password is : ASDF1234

command: nmcli d wifi connect Farhan password ASDF1234 iface wlan0

Thursday, May 12, 2016

how to install google chrome on ubuntu

To install Google Chrome, run the following:
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb

For 32-bit systems user can use this code:

sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo dpkg -i google-chrome*.deb

How to Encode and Decode Strings with Base64 in JavaScript

Internet Explorer 10 and above

// Define the string
var string = 'Hello World!';

// Encode the String
var encodedString = btoa(string);
console.log(encodedString); // Outputs: "SGVsbG8gV29ybGQh"

// Decode the String
var decodedString = atob(encodedString);
console.log(decodedString); // Outputs: "Hello World!"

Cross-Browser Method (compressed)

// Create Base64 Object
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t="";var n,r,i,s,o,u,a;var f=0;e=Base64._utf8_encode(e);while(f<e.length){n=e.charCodeAt(f++);r=e.charCodeAt(f++);i=e.charCodeAt(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+this._keyStr.charAt(s)+this._keyStr.charAt(o)+this._keyStr.charAt(u)+this._keyStr.charAt(a)}return t},decode:function(e){var t="";var n,r,i;var s,o,u,a;var f=0;e=e.replace(/[^A-Za-z0-9+/=]/g,"");while(f<e.length){s=this._keyStr.indexOf(e.charAt(f++));o=this._keyStr.indexOf(e.charAt(f++));u=this._keyStr.indexOf(e.charAt(f++));a=this._keyStr.indexOf(e.charAt(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r)}if(a!=64){t=t+String.fromCharCode(i)}}t=Base64._utf8_decode(t);return t},_utf8_encode:function(e){e=e.replace(/rn/g,"n");var t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r)}else if(r>127&&r<2048){t+=String.fromCharCode(r>>6|192);t+=String.fromCharCode(r&63|128)}else{t+=String.fromCharCode(r>>12|224);t+=String.fromCharCode(r>>6&63|128);t+=String.fromCharCode(r&63|128)}}return t},_utf8_decode:function(e){var t="";var n=0;var r=c1=c2=0;while(n<e.length){r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r);n++}else if(r>191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}return t}}

// Define the string
var string = 'Hello World!';

// Encode the String
var encodedString = Base64.encode(string);
console.log(encodedString); // Outputs: "SGVsbG8gV29ybGQh"

// Decode the String
var decodedString = Base64.decode(encodedString);
console.log(decodedString); // Outputs: "Hello World!"

Tuesday, May 10, 2016

How to convert comma-separated String to ArrayList?

Here is another one for converting CSV to ArrayList:
List<PageData> pages = new ArrayList<PageData>();
                
if (data.getPageName() != null) {
   String pageNames=data.getPageName();
   String pageIds=data.getPageId();
   List nameList= new ArrayList(Arrays.asList(pageNames.split(",")));
   List idList= new ArrayList(Arrays.asList(pageIds.split(",")));
                    
   for(int i=0;i<nameList.size();i++){
                        
      long layoutId = Long.valueOf(idList.get(i).toString());
      PageData pD = new PageData();
                        
      pD.setName(nameList.get(i).toString());
      pD.setLayoutId(layoutId);

      pages.add(pD);
   }
}

git replace local version with remote version

This is the safest solution:
git stash
Now you can do whatever you want without fear of conflicts.
For instance:
git checkout origin/master
If you want to include the remote changes in the master branch you can do:
git reset --hard origin/master
This will make you branch "master" to point to "origin/master".

Revert single file:
git checkout origin/master <file location>

Monday, February 1, 2016

Create a new branch with git and manage branches

In your github fork, you need to keep your master branch clean, by clean I mean without any changes, like that you can create at any time a branch from your master. Each time, that you want to commit a bug or a feature, you need to create a branch for it, which will be a copy of your master branch.

When you do a pull request on a branch, you can continue to work on another branch and make another pull request on this other branch.

Before creating a new branch pull the changes from upstream, your master needs to be up to date.

Create the branch on your local machine and switch in this branch :

$ git checkout -b [name_of_your_new_branch]

Push the branch on github :

$ git push origin [name_of_your_new_branch]

When you want to commit something in your branch, be sure to be in your branch.

You can see all branches created by using :

$ git branch

Which will show :

* approval_messages
  master
  master_clean

Add a new remote for your branch :

$ git remote add [name_of_your_remote] 

Push changes from your commit into your branch :

$ git push origin [name_of_your_remote]

Update your branch when the original branch from official repository has been updated :

$ git fetch [name_of_your_remote]

Then you need to apply to merge changes, if your branch is derivated from develop you need to do :

$ git merge [name_of_your_remote]/develop

Delete a branch on your local filesystem :

$ git branch -d [name_of_your_new_branch]

To force the deletion of local branch on your filesystem :

$ git branch -D [name_of_your_new_branch]

Delete the branch on github :

$ git push origin :[name_of_your_new_branch]

If you want to change default branch, it's so easy with github, in your fork go into Admin and in the drop-down list default branch choose what you want.

Wednesday, January 27, 2016

How to make default value get selected in yii dropdown list

in controller

$resourceperson = ResourcePerson::model ()->findAll ();
$resourceperson = CHtml::listData ( $resourceperson, 'id', 'name' );

$this->render ( 'update', array (
'model' => $model,
'resourceperson' => $resourceperson
) );

in _form.php

<div class="row">
<?php echo $form->labelEx($model,'resource_person_id'); ?>

<?php
  //echo $form->textField($model,'resource_person_id');
/* echo $form->dropDownlist($model,'resource_person_id',$resourceperson,
array(
'id'=>'resource_person_id',
'multiple' => 'multiple',
'style'=>'width:130px;',
'prompt'=>'Please Select Resource Person'
)
); */
$selectedOptions = "";
if ($model->resource_person_id != null) {
$resourcePersons = explode(",", $model->resource_person_id);
foreach ($resourcePersons as $eachValue){
$selectedOptions[$eachValue] = array('selected'=>true);
}
}
echo $form->dropDownList($model,'resource_person_id',$resourceperson,
array(
'id'=>'resource_person_id',
'multiple' => 'multiple',
'style'=>'width:130px;',
'options' => $selectedOptions
)
);
?>

<?php echo $form->error($model,'resource_person_id'); ?>
</div>

Monday, January 18, 2016

List box with multiple selection in yii

ListBox($model,'skillid',array('id'=>'Select Skill', 'multiple' => 'multiple')); ?>

or


<div class="row">
            <?php echo $form->labelEx($model,''); ?>
            <?php
                echo '<div class="sublevel">Division:</div>';
                echo $form->dropDownList($model,'location_division', $all_divisions,//'permanent_division','', array(''=>'Please Select'), 
                array('id'=>'location_division','multiple' => 'multiple',
                    'style'=>'width:130px;',
                    'prompt'=>'Please Select'
                    ) 
                );
            ?>
            <?php echo $form->error($model,'location_division'); ?>
</div>