Reference - https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
{"lastUpload":"2020-12-31T11:36:46.708Z","extensionVersion":"v3.4.3"} |
#!/bin/bash | |
# Instal php5.6 with phpbrew on ubuntu 18.04 | |
# Install all dependencies | |
sudo apt update | |
sudo apt install wget php build-essential libxml2-dev libxslt1-dev libbz2-dev libcurl4-openssl-dev libmcrypt-dev libreadline-dev libssl-dev autoconf | |
wget https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
mv phpbrew /usr/local/bin |
Reference - https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
<?php | |
namespace MyVendor\MyBundle\Model; | |
use MyVendor\MyBundle\Entity\User; | |
use JMS\Serializer\Annotation as JMS; | |
class Assessment | |
{ | |
... |
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |