Mehic.info

Who Can Hold 2 Billion Transistors in His Head at Once?

It’s impossible to do engineering anymore without using mostly other people’s knowledge By ROBERT W. LUCKY I was visiting a high-tech company whose principal business was advanced chip design. A young engineer showed me his latest prototype. It was a circuit board dominated by a single large integrated circuit. It contained, he told me, more […]

Read more

php function mb_ucfirst

function mb_ucfirst($str){ $str = trim($str); $firstChar = mb_substr($str, 0 , 1 ,’UTF-8′); $firstChar = mb_strtoupper($firstChar, ‘UTF-8’); return $firstChar . mb_substr($str, 1, strlen($str) – 1, ‘UTF-8’); } happy coding

Read more

Jquery PJAX freeze

Well, we had an issue with pjax since all pjax calls have been finished with frozen page. Best way to illustrate “frozen page” is custom loader that is shown when pjax action is called and hided when pjax action finished its progress. But loader seems to stay on page, jquery functions don’t hide it and […]

Read more