Google ads Horizontal

Wednesday, October 5, 2016

OS X App Development with CloudKit and Swift

Computing Milieux | June 22 2016 | ISBN-10: 1484218795 | 131 pages | pdf | 8.52 mb
Authors: Wade, Bruce
A definitive and practical guide to building apps using Cloudkit and Swift
Ideal for developers who are struggling to get to grips with Cloudkit
Everything is covered from initial build to improving performance
This book is your step-by-step guide to learning OS X app development using CloudKit and Swift.
All the development will be done using Apple's Swift 2 programming language. You'll see how to define data for your app and build a prototype with Sketch 3 and Keynote. Using CloudKit to store OS X application data, and separate public and private data, readers will learn how to control which data can or cannot be changed in a public data store. takes you from prototyping your app with Sketch 3 all the way through building a data-driven app using CloudKit, and everything in between.
What You'll Learn
How to create Test Data with CloudKit Dashboard
How to refine a prototype
How to update CloudKit Data from an app
How to add Local Cache to improve performance
Who This Book Is For is for the iOS or OS X developer who is struggling to get to grips with CloudKit. If you're looking for a solid example from start to finish using CloudKit with Swift 2 this book's for you. You should have an understanding of the Swift language, e.g. the differences between var/let, how to work with control statements, closures etc., to work confidently with this book.
Number of Illustrations and Tables
93 b/w illustrations
Computing Methodologies
Computing Milieux
OS X App Development with CloudKit and SwiftOS X App Development with CloudKit and Swift


Monday, October 3, 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]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"CurrentBuild"="1.511.1 () (Obsolete data - do not use)"


Sunday, October 2, 2016

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




MEmu Android Emulator 2.8.6

MEmu is an Android emulator that specializes in video games. With MEmu you can enjoy many exclusive titles that you can find for the Android platform, directly on your computer. You dont need to adjust any complicated settings and configure the controls, just install it and start playing. With MEmu, you can install Android games quite easily, simply click the APK button on the right side of the interface, select the APK of the game you want to install, and wait. It really is that easy.
As with most emulators, the controls are already set up, so you can play any game with either the mouse or the keyboard. With MEmu, though, if you dont like how the controls are configured, you can always modify them, or even use an Xbox 360 controller if you are more comfortable with console gaming.

There are numerous Android emulators available, but MEmu is an exceptional choice. It gives you access to a vast array of games for Android, right on your PC. The levels of compatibility, customization, and file organization is better than some of the more well known alternatives on the market.

Key features:
Full Android experience with an elegant desktop
Flexible customization (CPU#, memory size, resoluton, device model, nav bar location, root mode, etc.)
Keyboard / joystick mapping to touch screen for much better game experience
Pass through sensor data (e.g. accelerometer) to Android, so you can play car-racing like games
Fast APK installation by dragging and dropping
File sharing between Windows and Android
One-click android system creation / clone / deleting, and you can run multiple Android instances

Download Link:

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

Friday, May 13, 2016

How to create vertical navigation with css

Create custom vertical navigation for your application

Remove encoded character from string (HTML Decode)

Remove encoded character from string (HTML Decode)

Fixed header after scroll using javascript

how to install google chrome on ubuntu

To install Google Chrome, run the following:
sudo apt-get install libxss1 libappindicator1 libindicator7
sudo dpkg -i google-chrome*.deb

For 32-bit systems user can use this code:

sudo apt-get install libxss1 libappindicator1 libindicator7
sudo dpkg -i google-chrome*.deb

Thursday, May 12, 2016

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();


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>

Thursday, April 14, 2016

RAR for Android Premium v5.30 build 39 Unlocked (Android) .apk


Download Link:

My Backup Pro v4.2.6 Android

MyBackup Pro is the easiest backup application for Android. It supports most types of content and more devices Android.
Backup ( with schedule option ) to our secure online servers ( backup in the cloud ) or card SD, Apps , your Photos , Music , Videos , Contacts, Call log , Bookmarks program browser , the SMS ( text messages ) , the MMS ( message attachments ) , Calendar, system Settings , the Home screen ( including shortcut positions ) , Alerts , dictionary , music Playlists , wireless access points (APN ) , and more ...
Restore backup your existing or new phone.
The feature of relocation allows you to transfer the data system , applications , music , photos and videos directly from one device to another .
View online data and backups of your applications , just log in the viewer content web, at

The MyBackup Pro works on all Android mobile devices !
The MyBackup Pro works on all Android mobile devices , regardless of whether or not they have access to root.
For users who do root their devices : You can backup apk + data, and links the Android market!
NOTE : It can be argued Data / setting of applications only if you do root your phone , or if the application integrates with us.
Characteristics and features are supported:
- Direct relaying information between two devices
- Backup to SD card
- Backup to Cloud , online with our secure servers
- Reset to existing or new phone ( Relocation )
- View detailed backup without the need to restore
- Backup and Restore Application
- Backup and Restore photos
- Backup and Restore Music
- Backup and Restore Videos
- Backup and Restore Contacts
- Backup and restore call logs
- Backup and Restore Bookmarks
- Backup and restore text messages (SMS)
- Backup and restore message attachments (MMS)
- Backup and Restore Calendar
- Backup and Restore System Settings
- Backup and Restore Shortcut to Home Screen and Background
- Backup and restore Alerts
- Backup and restore Dictionary
- Backup and restore music playlist
- Supports all devices Android!
- Available in over 10 languages
- The easiest way to create backups for use on Android devices
- BETA: Select a backup job on your device by going to the address
- And much more ...

This application will allow Root users devices to make multiple applications and perform the following functions in batch operations , without making a single click !
- Freeze bloatware and system applications
- Defrost frozen applications
- Clear the cache of applications
- Clear application data
- Remove applications
- Breaking the link applications in the Android Market
- Peer applications in the Android Market
- Force applications

What's in this version:4.2.6
- Android 5+ Lollipop support (including external SD card support).
- Enhanced Contact icon photo support.
- Fix for music playlist support.
- Remote backup updated.
- Misc bug fixes.
- Fixed invalid license issue on some devices.
- Added ability to use Dropbox cloud (Pro version only).
- Added ability to select local backup location through a directory browser.
- Misc fixes.

Required Android O/S :1.5+
Updated:27 Nov 2014

Google Play



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

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'); ?>

  //echo $form->textField($model,'resource_person_id');
/* echo $form->dropDownlist($model,'resource_person_id',$resourceperson,
'multiple' => 'multiple',
'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,
'multiple' => 'multiple',
'options' => $selectedOptions

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

Monday, January 18, 2016

List box with multiple selection in yii

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


<div class="row">
            <?php echo $form->labelEx($model,''); ?>
                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',
                    'prompt'=>'Please Select'
            <?php echo $form->error($model,'location_division'); ?>