This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1. Download the desired Instant Client RPM packages. All installations require the Basic or Basic Lite RPM. | |
http://download.oracle.com/otn/linux/instantclient/121020/oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm | |
http://download.oracle.com/otn/linux/instantclient/121020/oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm | |
#2. As the root user, install the packages with "rpm". For example: | |
rpm -ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm | |
rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /vagrant # OSX | |
sudo chown macuser /vagrant | |
cd /vagrant | |
vagrant plugin install vagrant-parallels | |
vagrant init parallels/centos-6.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using Twig with Phalcon PHP | |
// Twig is a modern template engine for PHP | |
// Now we can Using Twig with Phalcon | |
// How to do: | |
// 1. Install Twing in library as git submodule. | |
// > git submodule add https://github.com/twigphp/Twig.git app/library/Twig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Install: | |
// 1. Package Control | |
// 2. Phpcs | |
// 3. SublimeLinter | |
// 4. DocBlockr | |
// 5. PHPUnit Completions | |
{ | |
"color_inactive_tabs": true, | |
"color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme", | |
"draw_white_space": "all", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> yum install vim-X11 vim-common vim-enhanced vim-minimal | |
vim ~/.vimrc | |
set history=700 " Sets how many lines of history VIM has to remember | |
set nocampatible | |
colo delek | |
syntax on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo port installed | grep <pacote> | |
sudo port deactivate <pacote> | |
sudo port uninstall <pacote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://support.apple.com/en-us/HT201372 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I fix this problem in my CENTOS 6.6 and php 5.6.8 in these two ways: | |
- If you need DTRACE: | |
yum install systemtap-sdt-devel | |
export PHP_DTRACE=yes | |
pecl install oci8 | |
- if you don't like DTRACE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FreeBSD 10.x-11.x & Linux | |
make clean | |
./configure \ | |
--prefix=/usr/local/php7 \ | |
--with-config-file-path=/usr/local/php7/etc \ | |
--with-libdir=/usr/local/lib \ | |
--with-gd \ | |
--with-jpeg-dir=/usr/local/lib \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mudar htaccess para aceitar Authorization: Bearer | |
RewriteCond %{HTTP:Authorization} ^(.*) | |
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] |
OlderNewer