How to use Source Code Pro font with JetBrains IDE
Source Code Pro is a very nice font but the lack of italic variant makes it unusable (out of the box) in any of JetBrains products.
In order to workaround this, you can rather:
Copy Source Code Pro’s ttf fonts to folder /Library/Java/Home/lib/fonts (OS X Mavericks) according to this comment on GitHub. It works fine for me. Apparently, by doing this, IntelliJ will pick the regular variant and use it where italic is needed.
What goes into what in MVC
Explain MVC like I’m 5.
View:“Hey, controller, the user just told me he wants item 4 deleted.”
Controller:“Hmm, having checked his credentials, he is allowed to do that… Hey, model, I want you to get item 4 and do whatever you do to delete it.”
Model:“Item 4… got it. It’s deleted. Back to you, Controller.”
Controller:“Here, I’ll collect the new set of data. Back to you, view.”
View:“Cool, I’ll show the new set to the user now.
History of the browser user-agent string
Good read.
And then Google built Chrome, and Chrome used Webkit, and it was like Safari, and wanted pages built for Safari, and so pretended to be Safari. And thus Chrome used WebKit, and pretended to be Safari, and WebKit pretended to be KHTML, and KHTML pretended to be Gecko, and all browsers pretended to be Mozilla, and Chrome called itself Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.