ctrl + shift + = => new pan on side
ctrl + shift + - => new pan on bottom
ctrl + shift + w => close pan
alt + arrow => move focus pan
alt + shift + arrow => resize pan
ctrl + , => open settings
ctrl + shift + p => command pattele
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------- | |
// Using WebBrowser for Crowling in WPF | |
---------------------------------------------------- | |
<WebBrowser Cursor="Arrow" Name="MyBrowser" LoadCompleted="MyBrowser_OnLoadCompleted" /> | |
---------------------------------------------------- | |
// useful methods of WebBrowser | |
---------------------------------------------------- | |
MyBrowser.Navigate(new Uri("http://google.com")); | |
private void MyBrowser_OnLoadCompleted(object sender,NavigationEventArgs e) |
- Use for authentication
- NodeJs Package
- Examples
- openid-connect-helper with nodejs
1.In which assembly is the MVC framework defined? System.Web.Mvc
2.What is ViewData, ViewBag and TempData?
MVC offers Three options for passing data from controller to View and in next request. ViewData & ViewBag are almost similar. Short life means value becomes null when redirection occurs. It’s a communication mechanism within the server call. Difference between ViewBag & ViewData:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".positive-integer").numeric({ decimal: false, negative: false }, function () { alert("Positive integers only"); this.value = ""; this.focus(); }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Scroll to bottom Detection</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var count=0; | |
$(document).ready(function(){ | |
SetValues(); | |
$(window).scroll(function(){ | |
//Will check if the user has reached bottom of a PAGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECTION | |
--------- | |
Ctrl + D : select a Word | |
Ctrl + L : select Line | |
Ctrl + M : Select whole bracket code | |
Ctrl + Shift + P : Command Patelle | |
Ctrl + P : list all files | |
1) SideBarEnhancements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⌘+Space App Launcher | |
Alt+Tab Window Switcher | |
⇧+Alt+Tab Switch Windows Backwards | |
⌘+W Window Overview | |
⌘+A Window Overview (Across All Workspaces) | |
⌘+Left/Right Switch Workspace | |
⌘+S Workspace Overview | |
⌘+0 New Workspace | |
⇧+⌘+Left/Right Move Window with Workspace | |
Ctrl+⌘+Left/Right Snap Window to Half of Workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Flags] | |
public enum Status | |
{ | |
Success = 1<<0, //1 | |
Fail = 1<<1, //2 | |
Unknown = 1<<2, //4 | |
isNotFail = Success | Unknown | |
} | |
public static bool HasFlag(this int status, int flag) |
NewerOlder