Fix PhpStorm text paste issue

phpstorm

Symptoms : Text copied from any other source except PhpStorm itself (Chrome, text editor etc.) can't be pasted in PhpStorm. But text is being in buffer - as it could be pasted in other editors.

The reason is in Oracle Java 8 (according to this bug report).

TL;DR

  • Install Oracle Java 7
  • Profit !

Read more ...

Install Codeception globally in Ubuntu

If you don't like running codeception via php codecept.phar ... you could install it in system bin dir

sudo wget http://codeception.com/codecept.phar -O /usr/local/bin/codecept
sudo chmod +x /usr/local/bin/codecept

and now run it like this to check

codecept -V

Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes


Mobile-Detect - a lightweight PHP class for detecting mobile devices. Works like $detect->isMobile() etc., very handy for choosing a frontend rendering strategy based on this info.