- Open Visual studio command prompt
- Paste following code: tf workspaces /updateComputerName:xxxxxx /s:"https://xxx.visualstudio.com/DefaultCollection"
- Done
Everything In Web Development
Thursday, 13 November 2014
How to update TFS Workspace after changing computer name
Monday, 7 April 2014
Unable to create bootable pendrive for Windows 8/8.1/7 using Windows 7 USB/DVD Download tool?
Forget Windows 7 USB/DVD Download tool. Download and install Rufus. It will be done.
http://rufus.akeo.ie/
http://rufus.akeo.ie/
Tuesday, 28 January 2014
How to prevent backspace from navigating back to previous page using javascript or jquery
There will be cases when we may require to prevent backspace navigation in web pages.. This can be easily donw with javascript/jQuery using the following code. Just space this code in the scripts section of your code.
$(function
() {
var rx
= /INPUT|TEXTAREA/i;
$(document).bind("keydown keypress", function (e) {
if
(e.which == 8) { // 8 == backspace
if
(!rx.test(e.target.tagName) || e.target.disabled || e.target.readOnly) {
e.preventDefault();
}
}
});
})
Wednesday, 1 January 2014
Tuesday, 19 November 2013
How to generate Arrows using pure css without images
Its very simple to generate arrows using pure css and html alone without using any images. Use the following code as markup.
<div class="arrow-up"></div>
<div class="arrow-down"></div>
<div class="arrow-left"></div>
<div class="arrow-right"></div>
.arrow-up {
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid black;
}
.arrow-down {
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #f00;
}
.arrow-right {
width: 0;
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid green;
}
.arrow-left {
width: 0;
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-right:20px solid blue;
}
Monday, 18 November 2013
Interview Question: What are Magic Tables in SQLServer
Magic tables are internal tables called ‘inserted’ and ‘deleted’ which are created and managed by SQL server.
‘Inserted‘ table holds the values that have been recently inserted.
‘Inserted‘ table also holds the updated values from a update operation on a table.
‘Deleted‘ table holds the values that have been recently deleted.
‘Deleted‘ table also holds the previous values from a update operation on a table.
‘Deleted‘ table also holds the previous values from a update operation on a table.
These virtual tables are usually used with triggers to retrieve the inserted, deleted or updated rows.
Thursday, 31 October 2013
Image Zooming/Magnifying jQuery Tool
A Jquery Image Zoom Plugin
- Fully Customisable
- Coloured Tints
- Fancybox Gallery Support
- Variable zoom on mouse scroll
- External Controls
- Window Zoom, Lens Zoom and Inner Zoom
- Free to use under MIT and GPL Licenses
Subscribe to:
Posts (Atom)