JM's Dev
Friday, 3 June 2011
Thursday, 5 May 2011
Simple ADO.NET
http://msdn.microsoft.com/en-us/library/haa3afyz(v=VS.100).aspx
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=78
Friday, 8 April 2011
PC to image
Sometimes its handy to backup a entire machine to a virtual image so you can load it up later.
http://www.online-tech-tips.com/free-software-downloads/convert-pc-into-virtual-machine/
http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx
Wednesday, 16 March 2011
Monday, 14 March 2011
Required tools for Jquery debugging
Firefox +
Firebug +
FireQuery +
JS Deminifier (https://addons.mozilla.org/af/firefox/addon/javascript-deminifier/)
Deminifier is essential if your scripts are minified.
Tried https://addons.mozilla.org/af/firefox/addon/javascript-deminifier/ for Firefox 3.6, there is another version I have come across https://addons.mozilla.org/en-us/firefox/addon/deminifier/ - haven’t tried that one.
Thursday, 10 March 2011
Re-applying jQuery functions in replaced/inserted content
$(function () {
$('#div_id').updateStatus();
});
$.fn.updateStatus = function () {
return this.each(function () {
window.setInterval
(
refreshStatus,
5000
);
function refreshStatus() {
var param1 = $('#statusId').val();
var param2 = $('#reportsId).val();
$.get
(
AJAXUrls.getStatusURL, { Param1: param1 },
function (data) {
$('#status').empty().append(data);
}
);
$.get
(
AJAXUrls.getStatusReportURL, { Param1: param1, Param2: param2 },
function (data) {
$('#reports').empty().append(data);
$('a[rel=boxy]').boxy(); // Boxy re-applied.
}
);
};
});
}
Tuesday, 8 March 2011
Selecting text in Visual Studio
Pressing CTRL + W repeatedly selects the word, then the line, then the block of text. It’s the fastest way to select text.