My Software Notes

Useful things I discover

Archive for the ‘Humor’ Category

Dev Humor: Apple’s next connector?

leave a comment »

Martin Fowler is a cool guy and I love his sense of humor:  Apple’s next connector?

If you don’t get which song the “next connector” name is coming from, then watch the video below:

Advertisements

Written by gsdwriter

May 30, 2013 at 9:45 am

Posted in Humor

Launch a Powershell console with Administrator rights from a Powershell console without Administrator rights

leave a comment »

That title is a mouthfull, but the good news is that the Powershell command to do it takes less characters.

It’s really simple once you have hunted around on the net for a while:

Start-Process "$psHome\powershell.exe" -Verb Runas

That’s it.

Open a regular PS console and type that.

I’ve only tried it on my own machine where I am an admin and I have UAC turned on. When I try it I get the UAC prompt, followed by a nice PS admin console.

I got it from this: Re-launch Powershell Script Elevated

—-

This is bad, but I couldn’t resist it.  I’m a big fan of “Young Frankenstein“, one of the funniest movies of all time,  and there is a joke in it about “elevate me” (go to this page and search for “elevate”), so I created the “Elevate-Me” function:

function Elevate-Me ()
{
    echo "Inga:            ""Now? Right here?"""
    echo "Dr Frankenstein: ""Yes, yes.  Raise the platform"""
    echo "Inga:            ""Oh. Ze platform. Oh, zat, yah, yah ... yes"""
    Start-Process "$psHome\powershell.exe" -Verb Runas
}

Just add it to your profile and let the elevating begin 🙂

BTW: I know “Elevate” is not an approved verb, but it’s worth it for the homage to the brilliance of Mel & Gene (and Teri).

—–

Written by gsdwriter

April 20, 2012 at 8:00 am

Posted in Humor, Powershell, Tools

Superstition and Software

leave a comment »

I’m not superstitious (touch wood) so I’m not afraid to release version 4.1.13 of some software today, Friday the 13th.

One of the theories as to why this day is considered unlucky involves the demise of the Knights Templar, who fell foul of the greed and jealousy of King Phillipe the Fair of France.  The King had the French Templars arrested on Friday the 13th of October 1307 and subsequently stole their lands and treasure.  With the smart usage of medieval PR techniques and a great deal of violence, the King managed to totally destroy the  Templars by 1314.

Well, I’m not a Knights Templar, so why should I be worried?

Just as an aside, I don’t know if you knew this, but Office 2007 was version 12, however Office 2010 is not going to be version 13, it will be version 14.  What happened to version 13, you ask?  Well, it got skipped.  So even in this age of technology, science and reason, the world’s leading software company is still scared of the evil number 13.

Anyway, you can read more about this interesting day here:  Friday the 13th

So, as I said, I’m not scared that … oh my god!  My build machine just exploded!

Written by gsdwriter

March 13, 2009 at 11:17 am

Posted in Humor

Tagged with ,