Author Archive: ali

Yii 2 Query Builder with strange backticks

$query = (new Query()) ->select([‘, itinerary.from_vertex_id, itinerary.to_vertex_id, AS from_name, AS to_name, CONCAT(, AS it_name ‘]) ->from(‘itinerary’) ->innerJoin(‘vertex v1’, ‘itinerary.from_vertex_id =’) ->innerJoin(‘vertex v2’, ‘itinerary.to_vertex_id =’) ->orderBy(‘’); Solution: The select method above must always be passed with…
Read more

Install Android Studio 3.0 on Ubuntu 17.10

Use the following steps to install android studio 3.0 on Ubuntu 17.10. sudo add-apt-repository ppa:maarten-fonville/android-studio sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 cd ~/Android/Sdk/emulator/lib64/libstdc++ sudo mv sudo ln -s /usr/lib64/ .