Tue 5 Jul 2011
Categories : Thoughts / Lessons
Comments here
Tue 21 Jun 2011

البث المباشر من الحرمين الشريفين

Watch spiritual, lovely and peaceful live view from Holy Kaaba, Makkah and Listen to Holy Quraan, maashaAllah

بث حي للصلاة من المسجد الحرام- مباشر- قناة القرآن الكريم

In case of your slow network connection, please watch one video at a time. Instead pause video, refresh/load page.

 

بث حي للصلاة من المسجد النبوى صلي الله عليه وسلم - مباشر- قناة القرآن الكريم

Watch spiritual, lovely and peaceful live view from Holy Masjid Nabawi sallaLlaho alaihi wassallum, Madinah and Listen to Holy Quraan, maashaAllah

In case of your slow network connection, please watch one video at a time. Instead pause video, refresh/load page.

 

 

Categories : Reality of Islam
Comments (1)
Sun 22 May 2011

A letter from Mom and Dad

...My Child,

When I get old,
I hope you understand and have patience with me.

In case I break a plate,
or spill soup on the table because I am losing my eyesight,
I hope you don't yell at me.
Older people are sensitive.
Always having self-pity when you yell.

When my hearing gets worse and I can't hear what you are saying,
I hope you don't call me, "Deaf!"
Please repeat what you say
Or write it down

I am sorry, my child.
... I am getting older

When my knees get weaker,
I hope you have the patience to help me get up.
Like how I used to help you when you were little,
learning how to walk.

Please bear with me
When I keep repeating myself like a broken record,
I hope you just keep listening to me
Please don't make fun of me,
or
get sick of listening to me

Do you remember when you were little and you wanted a Balloon?
You repeated yourself over and over until you got what you wanted

...Please also pardon my smell.
I smell like an old person
Please don't force me to shower.
My body is weak.
Old people gets sick easily when they are cold.
I hope I don't gross you out.

Do you remember when you were little?
I used to chase you around because you didn't want to shower.

I hope you can be patient with me
When I am always cranky
It's all part of getting old.
You'll understand when you're older

And if you have spare time,
I hope we can talk
Even for a few minutes
I am always by myself all the time.
And have no one to talk to
I know you are busy with work.
Even if you are not interested in my stories,
please have time for me.

Do you remember when you were little?
I used to listen to your stories about your teddy bear.

When the time comes
and I get ill and bedridden,
I hope you have the patience to take care of me.

I'm Sorry
If I accidentally wet the bed or make a mess.
I hope you have the patience to take care of me during the last few moments of my life
I am not going to last much longer, anyway.

When the time of my death comes,
I hope you hold my hand
and give me the strength to face death.

And don't worry...
When I finally meet our creator..
I will whisper in his ear
to BLESS you
Because you loved your Mom and Dad.
Thank you so much for your care.
We love you.

With much love,
- Mom and Dad-

 

{We made a covenant with the Children of Israel: "You shall not worship except GOD. You shall honor your parents and regard the relatives, the orphans, and the poor. You shall treat the people amicably. You shall observe the Contact Prayers (Salat) and give the obligatory charity (Zakat)." But you turned away, except a few of you, and you became averse.} [The Quran 2:83]



Categories : Thoughts / Lessons
Comments here
Wed 20 Apr 2011

If you want to have signin as different user functionality like sharepoint in your asp.net application, following workaround you might be looking for.
After setting your web.config file's 

<authentication mode="Windows" />

and in IIS after remove anonymous authentication and enable windows authentication, have following code snippet where you want to have this functionality

In your aspx page

    <div>You are logged in as <br /> <%=User.Identity.Name%> <br /><br /> 
    <asp:LinkButton ID="lnkSignOut" runat="server" Text="Sign in as different user" onclick="lnkSignOut_Click"></asp:LinkButton>


In your code behind file

 protected void Page_Load(object sender, EventArgs e)
{
    if (!this.IsPostBack)
    {
        Session["logOutRequested"] = false; //Initialize value. This will be set to true when user will click on sign in as differnet user
    }
}


protected
void lnkSignOut_Click(object sender, EventArgs e)
{
    if (null != Session["logOutRequested"] && !Convert.ToBoolean(Session["logOutRequested"])) // Check if user is clicking link first time
    {
        Session["logOutRequested"] = true; //Set value that user want to sign in as differnet user
        Response.StatusCode = 401;
        Response.StatusDescription = "Unauthorized";
        Response.End();
    }
    else
    {
        Session["logOutRequested"] = false; //Initialize value again after user is authenticated with differnet or same user again.
    }
}


Hope this workaround will help.

In case if above workaround is not working, you may try following one
www.roelvanlisdonk.nl/?p=825

 

 

 

Tags: , ,
Comments (1)
Tue 12 Apr 2011

In the world of romance, one single rule applies:
Make the woman happy.

Do something she likes and you get points.
Do something she dislikes and points are subtracted.

You don't get any points for doing something she expects. Sorry, that's the way the game is played.

Here is a guide to the point system:


SIMPLE  DUTIES
You make the bed (+1)
You make the bed, but forget the decorative pillow (0)
You throw the bedspread over rumpled sheets (-1)
You go out to buy her what she wants (+5) in the rain (+8)
But return with beer (-5)
You check out a suspicious noise at night (+1)
You check out a suspicious noise, and it is nothing (0)
You check out a suspicious noise and it is something (+5)
You pummel it with iron rod (+10)
It's her pet (-20)

 
ANNIVERSARY
You take her out to dinner (+2)
You take her out to dinner and it's not a sports bar (+3)
Okay, it's a sports bar (-2)
And it's all-you-can-eat night (-3)
It's a sports bar, it's all-you-can-eat night, and your face is painted the colors of your favorite team (-10)


A  NIGHT  OUT
You take her to a movie (+1)
You take her to a movie she likes (+3)
You take her to a movie you hate (+6)
You take her to a movie you like (-2)
It's called 'Death Cop' (-3)
You lied and said it was a foreign film about orphans (-15)

 
YOUR  PHYSIQUE
You develop a noticeable potbelly (-15)
You develop a noticeable potbelly and exercise to get rid of it (+10)
You develop a noticeable potbelly and resort to baggy jeans and baggy Hawaiian shirts (-30)
You say, "It doesn't matter, you have one too." (-8000)

THE  BIG  QUESTION
She asks, "Do I look fat?" (-5) (Yes, you lose points no matter what)
You hesitate in responding (-10)
You reply, "Where?" (-35)
Any other response  (-20)

COMMUNICATION
When she wants to talk about a problem, you listen, displaying what looks like a concerned expression (0)
You listen, for over 30 minutes (+50)
You listen for more than 30 minutes without looking at the TV (+500)
She realizes this is because you have fallen asleep (-4000)

 

Comments here
Sat 12 Feb 2011

Free+Kashmir.jpg

 

Free+Palastine.jpg

 

 

Free+Kashmir2.jpg

 

401328_349070305113102_201048009915333_1191827_414598659_n.jpg

 

407512_346141295406003_201048009915333_1184547_1271317052_n.jpg 417278_341948322491967_201048009915333_1174387_1991005200_n.jpg

Categories : Thoughts / Lessons
Comments here
Wed 26 Jan 2011

Get-SPSite | where {$_.url -like "http://a *"}

Get-SPFarm | Format-List Id, BuildVersion, Servers, Solutions

Add-PSSnapin Microsoft.SharePoint.Powershell

===========

ExecuteHelloWorldScript from batchfile

powershell -Command "& {.\Hello.ps1}" -NoExit
pause


powershell -Command "& {Set-ExecutionPolicy bypass}" -NoExit


===========

CreateContosoSite

if($args) {
  $SiteName = $args[0]
  $SiteUrl = "http://a:3811/sites/ " + $SiteName
  Write-Host "Begin creating Contoso site at" $SiteUrl
  Write-Host
  $NewSite = New-SPSite -URL $SiteUrl -OwnerAlias Administrator -Template STS#1 -Name $SiteName
  $RootWeb = $NewSite.RootWeb
  $RootWeb.Title = "Contoso Site: " + $SiteName
  $RootWeb.Update()
  Write-Host "New Contoso site successfully created"
  Write-Host "-------------------------------------"
  Write-Host "Title:" $RootWeb.Title -foregroundcolor Yellow
  Write-Host "URL:" $RootWeb.Url -foregroundcolor Yellow
  Write-Host "ID:" $RootWeb.Id.ToString() -foregroundcolor Yellow
}
Else {
  Write-Host "ERROR: You must supply Name as parameter when calling CreateContosoSite.ps1"
}


===========

GetSharePointDlls

$path = "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14"

Get-ChildItem $path -recurse |
  Where-Object {$_.name -like "*SharePoint*.dll"} |
  Sort-Object -Property Name -unique |
  Format-Table Name


===========


GetSharePointPublishingFeatures

Get-SPFeature -Limit ALL |
  Where-Object {$_.DisplayName -like "*Publishing*"} |
  Sort-Object -Property Scope
  Format-Table DisplayName, Id, Scope

 

===========

.\GetSharePointPublishingFeatures.ps1
Get-SPFarm | Format-List
Get-SPSite | where {$_.url -like "http://a *"}
.\CreateContosoSite.ps1 lab01test


===========

Comments here




Ads