just Run the commands below, it works really well
- killall pulseaudio
- sudo apt-get remove pulseaudio
- sudo apt-get install esound
- sudo rm /etc/X11/Xsession.d/70pulseaudi
Enjory it…
just Run the commands below, it works really well
Enjory it…
Pls note that the correct grammar is “If I were a boy”. Some people might think it should be “If I am a boy” or “If I was a boy”. Both are wrong. The reason why you say “If I were a boy” despite that “were” is for plural and not singular, is because you are trying to say something that is not true.
If I were a boy
Even just for a day
I’d roll outta bed in the morning
And throw on what I wanted then go
Drink beer with the guys
And chase after girls
I’d kick it with who I wanted
And I’d never get confronted for it.
Cause they’d stick up for me.
[Chorus:]
If I were a boy
I think I could understand
How it feels to love a girl
I swear I’d be a better man.
I’d listen to her
Cause I know how it hurts
When you lose the one you wanted
Cause he’s taken you for granted
And everything you had got destroyed
If I were a boy
I would turn off my phone
Tell everyone it’s broken
So they’d think that I was sleepin’ alone
I’d put myself first
And make the rules as I go
Cause I know that she’d be faithful
Waitin’ for me to come home (to come home)
[Chorus]
It’s a little too late for you to come back
Say it’s just a mistake
Think I’d forgive you like that
If you thought I would wait for you
You thought wrong
[Chorus]
But you’re just a boy
You don’t understand
Yeah you don’t understand
How it feels to love a girl someday
You wish you were a better man
You don’t listen to her
You don’t care how it hurts
Until you lose the one you wanted
Cause you’ve taken her for granted
And everything you have got destroyed
But you’re just a boy
ie: you are not a boy. So that’s why you say “If i were a boy”. Another example is “If i were a bird”. You use “were” because it is not true that you are a bird. So if you are not a bird and you hope you are a bird, then you say “If i were a bird, i will fly far away and blah blah”. Hope your member can learn from this too.
when the Post Message button is pressed, the ListView should data bind and insert the data. If you don’t specify the command name as insert, the ListView will not be able to insert data.
protected void Page_Load(object sender, EventArgs e)
{
//datasource
int[] numbers = new int[7] { 0, 1, 2, 3, 4, 5, 6 };
//create query
var numQuery =
from num in numbers
where (num % 2) == 0
select num;
//execute query
foreach (int num in numQuery)
{
Response.Write(num+”<BR/>”);
}
}
[query aviable]=From [avriable] in [dataSource] where [condition] select [target data];
int[][] numbers = new int[4][]
{
new int[4]{1,2,3,4},
new int[5]{11,12,13,14,15},
new int[6]{21,22,23,24,25,26},
new int[7]{31,32,33,34,35,36,37}
};
IEnumerable<int> numQuery =
from num1 in numbers
from num2 in num1
where (num2 % 2) == 0
select num2;
foreach (int num in numQuery)
{
Response.Write(num + “,”);
}
The running result:

Why needs to use the form statement twice?
First from statement get the element from the dyadic array, the result is the one-dimensional array,
And the use the second from statement to get the elements from the one-dimensional array, that’s why the code script cannot be run, it actually use the one-dimensional array % 2.

int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
var queryEventNums =
from num in numbers
where isEvent(num)
select num;
foreach (var num in queryEventNums)
{
Response.Write(num + “,”);
}
}
private bool isEvent(int num)
{
return num % 2 == 0;
}
From the code script:
When the where condition comes too complex , you can Extract the condition as a method, by using VS 2008, Go to the undefined method and right click choose generate method stub, VS will generate method automatically.
Data source’s type is depends on the SELECT’s type.
http://channel9.msdn.com/posts/Duncanma/Chatting-about-LINQ-and-ADONET-Entities/
Today I found a website which can give me some idea how to implement a graphics design by using the Silverlight
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||