I grew up in Louisiana, near Texas. So everybody wears cowboy hats. And a ten-gallon's a big hat. I was smart back then, so they called me Ten-Gallon Head.

12 seconds sound clip from the The Pursuit of Happyness movie soundboard.

You can hear this line at 00:17:20 in the Blu-ray version of the movie.

Quote context

[...]

- My nickname. We pick nicknames.

- Oh, yeah? What's it say?

- Hot Rod.

- Did you have a nickname?

- Yep. Ten-Gallon Head.

- What's that?

- I grew up in Louisiana, near Texas. So everybody wears cowboy hats. And a ten-gallon's a big hat. I was smart back then, so they called me Ten-Gallon Head.

- Hoss wears that hat. Hoss Cartwright on Bonanza.

- How do you know Bonanza?

- We watch it at Mrs. Chu's.

- You watch Bonanza at daycare? When? When do you watch it? After snack? After your nap?

- After Love Boat.

[...]