Skip to content

Instantly share code, notes, and snippets.

riteshsingh1 / cloudSettings
Last active April 24, 2024 10:34
Visual Studio Code Settings Sync Gist
marulitua /
Last active November 16, 2023 00:38
Instal php5.6 with phpbrew on ubuntu 18.04
# 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
chmod +x phpbrew
mv phpbrew /usr/local/bin
Cartexius /
Last active March 29, 2024 10:11
Install gtest in Ubuntu
Glifery / Assessment.php
Last active June 18, 2018 06:46
Entity to it's ID serialization handler
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')
// 0. XPath Examples.
// More:
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class