Skip to content

Instantly share code, notes, and snippets.

View dotenorio's full-sized avatar
🐼
Save a panda!

Fernando Migliorini Tenório dotenorio

🐼
Save a panda!
View GitHub Profile
##############################################################################
# INSTALL isolated PHP 5.6 ZTS (Thread-safe) with pthreads on Ubuntu 14.04 ###
##############################################################################
1) Install necessary bison version
wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
dpkg -i bison_2.7.1.dfsg-1_amd64.deb
@dotenorio
dotenorio / getter_setter_php.sublime-snippet
Last active March 22, 2016 16:37 — forked from eminetto/gist:2137945
Getter and Setter - 2 tabs & without return in the set methods
<snippet>
<content><![CDATA[public function get${1/(.*)/\u$1/}() {
return \$this->${1:$SELECTION};
}
public function set${1/(.*)/\u$1/}(\$$1) {
\$this->$1 = \$$1;
}
]]></content>
<!-- Optional: Tab trigger to activate the snippet -->