Entries for the ‘Programming’ Category

Analysis Paralysis

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

Currently, I am my employer’s sole software engineer.  We used to have another, but he resigned.  Even then, we never worked together on anything.  At my last [...]

Visual Studio 2008 “Themes”

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

For the record, I’m not like some big Microsoft fanboy…. However, I work in the I.T. field, and thus dealing with Microsoft products is simply inescapable.  They [...]

I believe this qualifies as “nifty”

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

I was playing around in AutoIt because I was doing some R&D on a tool that could position and resize a window give the proper disposition values [...]

Checking Group Membership in VBScript

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

Several of the logon scripts I develop for clients perform things like drive-mapping based whether or not the user or computer are a member of a particular [...]

Get the RootDSE in C#

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

As you may already know, you can use the following to the domain name of the currently logged in user:

Environment.UserDomainName();

But what if you want the whole (fully [...]

Get Active Directory Object Category in C#

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

This is another one of those “out of necessity” scenarios.  I’m currently building an Active Directory-aware application that impliments an Active Directory helper class I wrote to [...]

Check to See if PowerShell is Installed in NSIS

function fbs_click() {
u=location.href;
t=document.title;
window.open(“http://www.facebook.com/sharer.php?u=”+encodeURIComponent(u)+”&t=”+encodeURIComponent(t),”sharer”,”toolbar=0,status=0,width=626,height=436″);
return false;
}

html .fb_share_button {display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right;}
html .fb_share_button:hover {color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none;}

Share

I recently built a graphical application entirely in Windows PowerShell.  While this may sound like a daunting task, it really wasn’t.  The GUI itself is constructed using [...]