Posted on July 10, 2019, 4:08 pm, by admin, under
tips.
UCS-2 is old encoding standard. It uses fixed size per encoded character and therefore is not compatible with ASCII. UTF-8 is newer standard. It uses dynamic size between 8 – 32 bits per encoded character and is compatible with ASCII. Я так понял что UCS-2 ещё называют UNICODE т.к. каждый символ это полные 2 байта […]
Posted on February 26, 2018, 9:38 am, by admin, under
tips.
Рекомендации с сайта computer-ergonomics.blogspot.com 1. Офисное кресло с подлокотниками. Подлокотники должны быть регулируемыми по высоте, и само кресло должно регулироваться по высоте и наклону вперед назад. У кресла должна быть специальная поддержка поясничного отдела 2. Расположите монитор на расстоянии вытянутой руки. Примечание: Мне все же надо монитор распологать на 5 см дальше вытянутой руки. Когда […]
Posted on February 5, 2018, 3:16 pm, by admin, under
php,
tips.
The right ! will result in a boolean, regardless of the operand. Then the left ! will be applied to that boolean. It means if $row has a truthy value, it will return true, otherwise false, converting to a boolean value. It is equalent of casting to boolean as it convert anything to boolean. return […]
Posted on November 22, 2017, 12:35 pm, by admin, under
apache,
tips.
RewriteCond %{HTTP_HOST} !^www\. RewriteCond %{HTTPS}s on(s)|offs() RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [NE,L,R]
Posted on January 25, 2017, 2:39 pm, by admin, under
tips.
Bitbucket is good for free private repos Github is good for free public repos, for demonstration of your work
Posted on November 16, 2015, 5:58 am, by admin, under
php,
tips.
1. Objects should be passed by reference always, arrays and scalars are passed by value. 2. If you are working on a very large array and plan on modifying it inside a function, you actually should use a reference to prevent it from getting copied, which can seriously decrease performance or even exhaust your memory […]