Skip to content

Instantly share code, notes, and snippets.

View ThePixelDeveloper's full-sized avatar
🛒
Sparket Market

Mathew Davies ThePixelDeveloper

🛒
Sparket Market
View GitHub Profile
array
'UNIQUE_ID' => string 'TB7UhQoBALsAABdUlTYAAAAJ' (length=24)
'HTTP_HOST' => string 'automodeler' (length=11)
'HTTP_USER_AGENT' => string 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16' (length=121)
'HTTP_ACCEPT' => string 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' (length=90)
'HTTP_ACCEPT_LANGUAGE' => string 'en-us' (length=5)
'HTTP_ACCEPT_ENCODING' => string 'gzip, deflate' (length=13)
'HTTP_CONNECTION' => string 'keep-alive' (length=10)
'PATH' => string '/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin' (length=107)
'SERVER_SIGNATURE' => string '' (length=0)
server {
listen 80;
server_name nolimits.localhost;
root /home/mathew/www/nolimits-exchange/new/public;
index index.php index.html index.htm;
client_max_body_size 25m;
# Timeout
fastcgi_read_timeout 300;
<?php
// HTTP request
$request = Request::instance();
try
{
$request->execute();
}
/**

server { listen 80; server_name workdiary.aguimaraes.org; root /web/alvaro/aguimaraes.org/workdiary; access_log /web/alvaro/logs/workdiary.aguimaraes.org-access.log combined buffer=32k; error_log /web/alvaro/logs/workdiary.aguimaraes.org-error.log error; index index.php index.html index.htm;

location / { try_files $uri $uri/ @php;

<?php
/**
* Description
* Smush.it uses optimization techniques specific to image format to remove
* unnecessary bytes from image files. It is a "lossless" tool, which means it
* optimizes the images without changing their look or visual quality. After
* Smush.it runs on a web page it reports how many bytes would be saved by
* optimizing the page's images and provides a downloadable zip file with the
* minimized image files.
*
# default server
server {
listen 80;
server_name local.kohanaphp.com;
root /Volumes/Webserver/Checkout/projects/kohana/v3;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ index.php$uri;
# --------------------------------------------
# General
# --------------------------------------------
set :shared_children, %w(cache logs) # Shared directories, these directories contain generated content which should not be wiped out during deployments.
set :application, "domain.com" # Application name
set :deploy_to, "/var/www/#{application}/#{stage}" # Path where files are deployed to ...
# --------------------------------------------
# Server
# --------------------------------------------