Skip to content

Instantly share code, notes, and snippets.

[PHP]
engine = On
short_open_tag = Off
asp_tags = Off
precision = 14
output_buffering = 4096
;output_handler =
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/opt/php-5.6.7). This prefix can be dynamically changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
extension=mongo.so
extension=redis.so
;extension=libevent.so
;extension=pthreads.so
[OpCache]
zend_extension=opcache.so
opcache.revalidate_freq=0
; (comment this out in your dev environment)
deb http://vn.archive.ubuntu.com/ubuntu/ trusty main restricted universe
deb http://vn.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb http://vn.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
deb http://ubuntu.01link.hk/ trusty main restricted
deb-src http://ubuntu.01link.hk/ trusty main restricted
deb http://ubuntu.01link.hk/ trusty-updates main restricted
deb-src http://ubuntu.01link.hk/ trusty-updates main restricted
deb http://ubuntu.01link.hk/ trusty universe
deb-src http://ubuntu.01link.hk/ trusty universe
deb http://ubuntu.01link.hk/ trusty-updates universe
deb-src http://ubuntu.01link.hk/ trusty-updates universe
@tonythere
tonythere / gtk3-pyenv.sh
Last active August 29, 2015 14:26 — forked from tarruda/gtk3-pyenv.sh
Install pygtk3 in pyenv
#!/bin/bash
# script for pyenv installation of pygtk3 in ubuntu 12.04
# Adapted from https://gist.github.com/mehcode/6172694
system_package_installed() {
if ! dpkg -l | grep -q $1; then
sudo apt-get install $1
fi
}
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
#
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
Licensed to The Apache Software Foundation, http://www.apache Licensed to The Apache Software Foundation, http://www.apache
Benchmarking auth.tts.dev (be patient) Benchmarking auth.tts.dev (be patient)
Server Software: nginx Server Software: nginx
Server Hostname: auth.tts.dev Server Hostname: auth.tts.dev
Server Port: 80 Server Port: 80
Document Path: /test/auth/rpc | Document Path: /test/auth/restful
[XDebug]
zend_extension = xdebug.so
; ?XDEBUG_PROFILE=1
xdebug.remote_host = 127.0.0.1
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.profiler_enable=0

200 – OK – Eyerything is working

201 – OK – New resource has been created

204 – OK – The resource was successfully deleted

304 – Not Modified – The client can use cached data