Archive for 2013

Another One By Allama Iqbal

February 21st, 2013, posted in Allama Iqbal
Share

Allama Iqbal

Share

C Program To Shutdown Or Turn Off Computer

February 20th, 2013, posted in C
Share

To shutdown immediately use “C:\WINDOWS\System32\ shutdown /s /t 0”. To restart use /r instead of /s.

C Program to shutdown your computer: This program turn off i.e shutdown your computer system. Firstly it will asks you to shutdown your computer if you press ‘y’ the your computer will shutdown in 30 seconds, system function of “stdlib.h” is used to run an executable file shutdown.exe which is present in C:WINDOWSsystem32 in Windows XP. You can use various options while executing shutdown.exe for example -s option shutdown the computer after 30 seconds, if you wish to shutdown immediately then you can write “shutdown -s -t 0” as an argument to system function. If you wish to restart your computer then you can write “shutdown -r”.

If you are using Turbo C Compiler then execute your file from folder. Press F9 to build your executable file from source program. When you run from within the compiler by pressing Ctrl+F9 it may not work.

C programming code for Windows XP

#include <stdio.h>
#include <stdlib.h>

main()
{
   char ch;

   printf("Do you want to shutdown your computer now (y/n)n");
   scanf("%c",&ch);

   if (ch == 'y' || ch == 'Y')
      system("C:\WINDOWS\System32\shutdown -s");

   return 0;
}




C programming code for Windows 7

#include <stdio.h>
#include <stdlib.h>

main()
{
   char ch;

   printf("Do you want to shutdown your computer now (y/n)n");
   scanf("%c",&ch);

   if (ch == 'y' || ch == 'Y')
      system("C:\WINDOWS\System32\shutdown /s");

   return 0;
}

To shutdown immediately use “C:\WINDOWS\System32\ shutdown /s /t 0”. To restart use /r instead of /s.

C programming code for Ubuntu Linux

#include <stdio.h>

int main() {
  system("shutdown -P now");
  return 0;
}


You need to be logged in as root user for above program to execute otherwise you will get the message shutdown: Need to be root, now specifies that you want to shutdown immediately. ‘-P’ option specifes you want to power off your machine. You can specify minutes as:

shutdown -P “number of minutes”

For more help or options type at terminal: man shutdown.

Share

Shia Killing Story

February 19th, 2013, posted in Islam, MESSAGEs, PAKiSTAN
Share

islam, Karachi, muslim, muslims, Pakistan, quetta, Shia, shia genocide, shia killers, shia killing, silent against shia genocide, Why Are You Silent,malalaa,sunni,sunni shia,

islam, Karachi, muslim, muslims, Pakistan, quetta, Shia, shia genocide, shia killers, shia killing, silent against shia genocide, Why Are You Silent,malalaa,sunni,sunni shia,

Share

And What About Us

February 19th, 2013, posted in COMiCS, Islam, MESSAGEs, PAKiSTAN
Share

islam, Karachi, muslim, muslims, Pakistan, quetta, Shia, shia genocide, shia killers, shia killing, Why Are You Silent, silent against shia genocide

Share

Why Are You Silent

February 19th, 2013, posted in Islam, PAKiSTAN, POEtRY..
Share

Why Are You Silent,shia genocide,shia killing,muslims,islam,muslim,shia,shia killers,pakistan,karachi,quetta,

It is in this direction you refuse to look
As if doing so would alter your faith in “hope” and “change”
As if standing up for the oppressed is something as simple as “choosing sides”
As if speaking up for the murdered would threaten your “political outlook”

It is here, amidst these ruins of dead children
You dare to even shed a tear
As if mourning for shia blood were forbidden
As if flags could dictate what hearts should feel

It is here, where blood is on the inside and outside
You sit at your desks and dinner tables
Arguing and debating like a bunch of fools and cowards
Over the meaning of “genocide.”

It is here, where Pakistan is crying and bleeding
She asks: What have my children done to you
To cause this reclusive silence?
How much louder do they need to keep screaming?

What did they do to you to make you shut your mouth?!
What did they do to you to make you close your eyes?!
What did they do to you to make you cover your ears?!
What did they do to you to make you ignore their desperate cries?!

What did they do to you to make you get so offended
When all someone did was beg you to speak for them?!
What did they do to you to make you so blind
From realizing this atrocity needs to be condemned?!

Yes, with all this blood and death
I see you look the other way
With all this murder and madness
I see you turn and walk away

Not your concern, not your child
Carry on with your everyday life
Someone else’s problem, someone else’s job
Not your war, not your strife

Yes, with all this terror, all this wailing
All you can say is I’m not educated enough
Or I dont know the history
As if that had anything to do with human empathy

Yes, with all this bloodshed and slaughter
You remain oblivious to how many lives it took
With all this horror and mayhem
It is in this direction you refuse to look


Why Are You Silent,shia genocide,shia killing,muslims,islam,muslim,shia,shia killers

Note : I found this online and did little changes hope the writer wont mind.

Share