How to set up multiple Twitter accounts using only one Hotmail / Outlook / Gmail email address

Twitter don’t allow you to create multiple Twitter handles using same email address. If you want to create multiple Twitter accounts but don’t want to use different email addresses, here are some tricks you can use.

Hotmail / Outlook

Recently Microsoft releases aliases feature for email address. You can add alias for your email address other than primary one. So you will have multiple email addresses to point to single mail box.

Email Alias

So for multiple twitter handles you can create multiple email aliases and you can use it while signing up for Twitter.


Google / Gmail

Google does not consider dot (.) in your email addresses

e.g. following addresses are same

abc.xyz@gmail.com

ab.cxyz@gmail.com

abcxyz@gmail.com

So you can create multiple email addressed using dot (.) in between your email. These multiple email addresses you can use to sign up Twitter handles.

Enjoy Twitter 🙂  — Other tricks are welcome.

 

 

Manage Visual Studio Performance – Hide Source Control Explorer and Immediate windows at startup – Visual Studio 2017

Speed up visual studio 2017 startup

Finally we got option to manage performance for Visual Studio in 2017 version. You can see it from help menu.

Visual Studio Help

Here are options to manage performance.

Visual Studio Help Modal

Continue reading Manage Visual Studio Performance – Hide Source Control Explorer and Immediate windows at startup – Visual Studio 2017

Make yourself more precise and quick to compete with Machines – #MachineLearning #AI #Bots

Everyone saying Machine will overcome humans. Well that might be true. But you have chance to overcome machines. This is right time to compete with them.

Let’s start secret battle with Machines by making them friend. Let’s keep ourselves more precise and quick to solve the problems with the help of machines.

Here are some resources for AI and Machine Learning.

https://hackernoon.com/index-of-best-ai-machine-learning-resources-71ba0c73e34d

Here is the stunning bot framework from Microsoft.

https://dev.botframework.com/

 

Stay tuned for more knowledge and resources.

Free eBook: Understanding Azure – A Guide for Developers

Microsoft has shared new book on Azure. It contains all the services explained in “Why” and “How” scenarios. Go to the below link to download book.

https://click.email.microsoftemail.com/?qs=3c0a51652672ba7a2f240f549dd985d5ceaf744f482c13a34164d43762795c2c4739bfbffdee192b52518b9f9123705e

Enjoy Reading…

Free eBooks – From Microsoft Press

Hi Folks,

Microsoft has released three eBooks free of cost. Below is the information about the eBooks.

  1. Windows 10 IT Pro Essentials Support Secrets
    https://blogs.msdn.microsoft.com/microsoft_press/2016/07/14/free-ebook-windows-10-it-pro-essentials-support-secrets/
  2. Configuring Microsoft SharePoint Hybrid Capabilities
    https://blogs.msdn.microsoft.com/microsoft_press/2016/07/06/free-ebook-configuring-microsoft-sharepoint-hybrid-capabilities/
  3. Microsoft Platform and Tools for Mobile App Development
    https://blogs.msdn.microsoft.com/microsoft_press/2016/06/22/free-ebook-microsoft-platform-and-tools-for-mobile-app-development/

Tuple, a new data structure in C#

Tuple is an interesting data structure in C#. It contains number and sequence. You can create tuple of 1 to 7 elements. Additionally you can create tuple of eight element using the TRest element. TRest element allows you to add nested tuple.

Let see example of basic tuple. We have student entity having marks fro seven subject. We can define this data structure by using tuple.

var tupleStudent = Tuple.Create("Mandar Badve", 87, 45, 76, 78, 64, 71, 80);
Console.WriteLine(""+ tupleStudent.Item1 + " got " + tupleStudent.Item2 + " marks in first subject.");
//// OUTPUT: Mandar Badve got 87 marks in first subject.
Console.WriteLine(""+ tupleStudent.Item1 + " got " + tupleStudent.Rest.Item1 + " marks in seventh subject.");
//// OUTPUT: Mandar Badve got 80 marks in seventh subject.

In above example first console will print the name of student accessed using Item1 of tuple and marks got in first subject accessed using Item2 of tuple. In second console we have access nested tuple using Rest property of tuple.

You can create tuple by using two ways.

  • Using constructor
var tupleUsingConstructor = new Tuple<string, int, int, int, int, int, int>("Mandar Badve", 87, 45, 76, 78, 64, 71);
  • Using helper method Create()
var tupleByHelperMethod = Tuple.Create("Mandar Badve", 87, 45, 76, 78, 64, 71, 80);

Create method have different overloads as follows:

Name
Description
Create<T1>(T1) Creates a 1-tuple, or singleton
Create<T1, T2>(T1, T2) Creates a 2-tuple, or pair.
Create<T1, T2, T3>(T1, T2, T3) Creates a 3-tuple, or triple.
Create<T1, T2, T3, T4>(T1, T2, T3, T4) Creates a 4-tuple, or quadruple.
Create<T1, T2, T3, T4, T5>(T1, T2, T3, T4, T5) Creates a 5-tuple, or quintuple.
Create<T1, T2, T3, T4, T5, T6>(T1, T2, T3, T4, T5, T6) Creates a 6-tuple, or sextuple.
Create<T1, T2, T3, T4, T5, T6, T7>(T1, T2, T3, T4, T5, T6, T7) Creates a 7-tuple, or septuple.
Create<T1, T2, T3, T4, T5, T6, T7, T8>(T1, T2, T3, T4, T5, T6, T7, T8) Creates a 8-tuple, or octuple.

Get location coordinates with windows phone application

Location API

You can use Windows Phone’s location API if your windows phone application needs location of user. In this post we will see how to use location API.

Let’s code

Getting started by creating new windows phone application.

CreateProject

Double click on ‘WMAppManifest.xml’ file.(You can read here for more details.) You will find this file inside projects Properties.

Capabilities

Go to Capabilities tab and then select ‘ID_CAP_LOCATION’ capability. This will tell to Windows Phone Store that this application need access to users location. While installing application user will see prompt message about the need of location service. This is the first step of get permission to access location from the user.

LocationServiceCapabilities

Continue reading Get location coordinates with windows phone application

AngularJS directives and custom directives

Angular is very popular JavaScript framework and custom directives are the heart of the angular. We will take look at the directives.

Angular directive

Directives are the command, tells angular what operations can angular do on the DOM element, attribute or the children of the element. These angular directives extend the HTML attributes. Angular directives are prefixes by ng-. Following are the some popular directives by angular.

ng-app: It initializes the angular application.

ng-init: It initializes the data of application.

ng-model: It provides the access to the model data for binding to the HTML controls.

For example

<div ng-app="firstApp" ng-init="firstName='John'">
<p>This is angular js application</p>
Change the name: <input type="text" ng-model="firstName" />
<p>My name is {{firstName}}
</div>

In above example firstApp is the name of the angular application. The name is not mandatory. You can keep blank as well. Next attribute is ng-init which initializes the data used by the application. By using the ng-model textbox can change the value of the firstName variable defined in the model. And finally we have used {{firstName}} to display the actual value of the variable.

Continue reading AngularJS directives and custom directives

Form input type range element (Slider control)

HTML5 gives us very useful slider control. Lets look at the syntax and how to use the slider control.

<input type="range" name="price" min="1" max="10" value="1" />

Here are the different attributes you can use with range input.

  • min: specify the minimum value allowed.
  • max: specify the maximum value allowed.
  • step: specify the value of the interval.
  • value: specify the default value of the slider.

You can use event onchange to track selected value.

<input type="range" max="10" min="1" name="quantity" value="1" onchange="alert('Selected value: '+ this.value);" />

Demo

Select the quantity of the product:

Check the browser compatibility for the input type color

http://caniuse.com/#feat=input-range

Form input type color element

Now no more plug-in, no more libraries required for the color picker. HTML 5 gives you input element to select color.

Lets have look at the syntax.

<input type="color" name="mycolor" />

Simply by writing value of the type as color, browser will display color picker to you.

Demo

Check the browser compatibility for the input type color

http://caniuse.com/input-color