Monday, November 28, 2016

JavaScript, Comparison operators Tip

Reference to :  
JavaScript has both strict and type–converting comparisons.
1-  Strict comparison ( === ) : is True if the operands are of the same type and the contents match.
2- Type–converting comparisons ( == ) :  converts the operands to the same type before making the comparison. 


Briefly : 
------------------------------------- 


== only compares values
=== compares values + type
----------------------------------

0 == false   // true
0 === false  // false, because they are of a different type
1 == "1"     // true, automatic type conversion for value only
1 === "1"    // false, because they are of a different type
null == undefined // true
null === undefined // false
'0' == false // true
'0' === false // false

Wednesday, November 23, 2016

Play around With Visual Studio 2017 RC

Just playing around with Visual Studio 2017 RC , and i love it , and i want to share my using experience with you :

1- JavaScript support (IntelliSense) improvement:
    I like the scope feature and how you can scope your context to your searching type , also showing the Keyboard shortcut and Indent Guides.



2- Code Navigation 
    Just press CTRL + T to navigate to your file .


And other Cool stuff you can check it here :








Tuesday, November 22, 2016

Node.js Tools for Visual Studio

Node.js Tools for Visual Studio Turn Visual Studio into a powerful Node.js development environment.








Sunday, November 20, 2016

How to know the Website built On SharePoint and get the Version Number also

To figure out what technologies a site is built on :
A- General Ways.
B- Reading HTTP Response Header.
C- Specific For SharePoint , Using Service.

A- In General, To figure out what technologies a site is built on :
     - You could easy look at,  URLs, and file extensions like (Aspx, php, etc.)
     - View Html Source Code, to check Some special Keywords.
     - Using Tools like, https://builtwith.com/


B- Reading HTTP response headers :
The most effective way to do this job , by reading the http response header of the web site using something like Fiddler , PostMan, etc.
You will get plenty of information about the web site ,
Example using PostMan :


You can see the SharePoint version 15 , that is mean SharePoint 2013,

SharePoint version list :


SP 2007: microsoftsharepointteamservices: 12



SP 2010: microsoftsharepointteamservices: 14

SP 2013: microsoftsharepointteamservices: 15


C- Specific For SharePoint , Using Service: 


http://mydomain/_vti_pvt/buildversion.cnf

OR

http://mydomain/_vti_pvt/service.cnf




-------------------------------
naadydev 













Monday, November 14, 2016

Learn How to Develop the Next Generation of Applications for the Web

Amazing resources from google

https://developers.google.com/web/

Monday, November 7, 2016

Social Engineering ( Hack Without code ) The art Of Human Hacking


Wikipedia : Social Engineering, in the context of information security, refers to psychological manipulation of people into performing actions or divulging confidential information. A type of confidence trick for the purpose of information gathering, fraud, or system access, it differs from a traditional "con" in that it is often one of many steps in a more complex fraud scheme.

https://en.wikipedia.org/wiki/Social_engineering_(security) 






Tuesday, November 1, 2016

VS Error: This is a higher version than the currently targeted framework

The primary reference XXX could not be resolved because it has an indirect dependency on the assembly XXX which was built against the ".NETFramework,Version=v4.5.1" framework.
This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".


Resolution :

1- Edit Project File "myProject.csproj" in any text editor.
2- inside the <Project> element Add:
<PropertyGroup>  <ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>
</PropertyGroup>