What's up!
Pyaarey Allah!
Monday, October 14, 2013
Sunday, October 6, 2013
Got a new PC
I got a new desktop PC with
Intel 4th Gen Processor Intel Core i7 4770-k 3.5GHZ
Asus Z87-Pro MotherBoard
2 x 8GB-1600 Corsair Memory sticks
2 x Samsung SSDs(540 mbps) Raid0 for Windows, 250GB Each
2 x 1TB WD Black Disks for critical data storage raid-1 SATA III
1 x 1TB WD SATA 1 for media files
CoolerMaster Casing
H100i Extreme performance Liquid Cooling unit
Ex 2 Extreme 650Watts Power Supply
Nvidia Gforce 650Ti Boost Graphics Card 2GB DDR5
Intel 4th Gen Processor Intel Core i7 4770-k 3.5GHZ
Asus Z87-Pro MotherBoard
2 x 8GB-1600 Corsair Memory sticks
2 x Samsung SSDs(540 mbps) Raid0 for Windows, 250GB Each
2 x 1TB WD Black Disks for critical data storage raid-1 SATA III
1 x 1TB WD SATA 1 for media files
CoolerMaster Casing
H100i Extreme performance Liquid Cooling unit
Ex 2 Extreme 650Watts Power Supply
Nvidia Gforce 650Ti Boost Graphics Card 2GB DDR5
Sunday, September 1, 2013
Include jqeury bookmarklet
(function() {
var el=document.createElement('div'),
b=document.getElementsByTagName('body')[0],
otherlib=false,
msg='';
el.style.position='fixed';
el.style.height='32px';
el.style.width='220px';
el.style.marginLeft='-110px';
el.style.top='0';
el.style.left='50%';
el.style.padding='5px 10px';
el.style.zIndex = 1001;
el.style.fontSize='12px';
el.style.color='#222';
el.style.backgroundColor='#f99';
if(typeof jQuery!='undefined') {
msg='This page already using jQuery v'+jQuery.fn.jquery;
return showMsg();
} else if (typeof $=='function') {
otherlib=true;
}
// more or less stolen form jquery core and adapted by paul irish
function getScript(url,success){
var script=document.createElement('script');
script.src=url;
var head=document.getElementsByTagName('head')[0],
done=false;
// Attach handlers for all browsers
script.onload=script.onreadystatechange = function(){
if ( !done && (!this.readyState
|| this.readyState == 'loaded'
|| this.readyState == 'complete') ) {
done=true;
success();
script.onload = script.onreadystatechange = null;
head.removeChild(script);
}
};
head.appendChild(script);
}
getScript('http://code.jquery.com/jquery.min.js',function() {
if (typeof jQuery=='undefined') {
msg='Sorry, but jQuery wasn\'t able to load';
} else {
msg='This page is now jQuerified with v' + jQuery.fn.jquery;
if (otherlib) {msg+=' and noConflict(). Use $jq(), not $().';}
}
return showMsg();
});
function showMsg() {
el.innerHTML=msg;
b.appendChild(el);
window.setTimeout(function() {
if (typeof jQuery=='undefined') {
b.removeChild(el);
} else {
jQuery(el).fadeOut('slow',function() {
jQuery(this).remove();
});
if (otherlib) {
$jq=jQuery.noConflict();
}
}
} ,2500);
}
})();
Wednesday, August 7, 2013
SQL Lookup logged in users
exec sp_who2 select d.name, d.dbid, spid, login_time, nt_domain, nt_username, loginame from sysprocesses p inner join sysdatabases d on p.dbid = d.dbid where d.name = 'DBNAME'
SQL Free up busy database resources
use master ALTER DATABASE im_test_restore SET SINGLE_USER WITH ROLLBACK IMMEDIATE use im_test_restore; go checkpoint; go use master; go ALTER DATABASE im_test_restore SET MULTI_USER
Friday, August 2, 2013
Rename a busy database in SQL Server
use master ALTER DATABASE YourDBName SET SINGLE_USER WITH ROLLBACK IMMEDIATE use YourDBName; go checkpoint; go use master; go alter database YourDBName modify name = YourDBNameNewName; go ALTER DATABASE YourDBName SET MULTI_USER
Thursday, July 4, 2013
Topper of the class
The most intelligent student of the class is not the topper because He scores highest only in his favorite subjects. He simply cannot give equal rights to everything like Social Studies or Anything he HATES. That's completely fair in my world. That shows too many good signs like loyalty, mastership and attitude..... Where the topper of the class doesn't have any choice any attitude and any loyalty to studies. You cannot love more than 2-3 people; You cannot serve more than few(1-2) jobs. You cannot love everyone equally. So see how stupid the topper is. The topper one day will be sitting on a job and taking highest salary and the intelligent guy will be paying him handsome enough to not let the dog switch the master.
Subscribe to:
Posts (Atom)
Twitter
Facebook
RSS