This file contains hidden or 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
{ | |
"_comments": [ | |
"Valid terminals include: 'Terminal.app' or 'iTerm'", | |
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.", | |
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available", | |
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/" | |
], | |
"editor": "default", | |
"launch_at_login": false, | |
"terminal": "iTerm", |
This file contains hidden or 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
{ | |
"_comments": [ | |
"Valid terminals include: 'Terminal.app' or 'iTerm'", | |
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.", | |
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available", | |
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/" | |
], | |
"editor": "default", | |
"launch_at_login": false, | |
"terminal": "iTerm", |
This file contains hidden or 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
{ | |
"_comments": [ | |
"Valid terminals include: 'Terminal.app' or 'iTerm'", | |
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.", | |
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available", | |
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/" | |
], | |
"editor": "default", | |
"launch_at_login": false, | |
"terminal": "iTerm", |
This file contains hidden or 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
{ | |
"_comments": [ | |
"Valid terminals include: 'Terminal.app' or 'iTerm'", | |
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.", | |
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available", | |
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/" | |
], | |
"editor": "default", | |
"launch_at_login": false, | |
"terminal": "iTerm", |
This file contains hidden or 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
<? | |
require_once '../../CImage.php'; | |
$sourceFileName = '../../webroot/img/issue40/1280x720.jpg'; | |
$resultFileName = '../../webroot/img/issue40/652x466.jpg'; | |
$imgOptions = array( | |
'newWidth' => 652, | |
'newHeight' => 466, |
This file contains hidden or 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
// IE7 support for querySelectorAll in 274 bytes. Supports multiple / grouped selectors and the attribute selector with a "for" attribute. http://www.codecouch.com/ | |
(function(d,s){d=document,s=d.createStyleSheet();d.querySelectorAll=function(r,c,i,j,a){a=d.all,c=[],r=r.replace(/\[for\b/gi,'[htmlFor').split(',');for(i=r.length;i--;){s.addRule(r[i],'k:v');for(j=a.length;j--;)a[j].currentStyle.k&&c.push(a[j]);s.removeRule(0)}return c}})() |
This file contains hidden or 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
server { | |
listen 306; | |
server_name localhost; | |
root /usr/local/share/phpmyadmin; | |
error_log /var/log/nginx/phpmyadmin.error.log; | |
access_log /var/log/nginx/phpmyadmin.access.log main; | |
ssl on; | |
ssl_certificate ssl/phpmyadmin.crt; |
This file contains hidden or 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
server { | |
listen 443; | |
server_name localhost; | |
root /var/www/default/; | |
access_log /var/log/nginx/default-ssl.access.log main; | |
ssl on; | |
ssl_certificate ssl/localhost.crt; | |
ssl_certificate_key ssl/localhost.key; |
This file contains hidden or 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
server { | |
listen 80; | |
server_name localhost; | |
root /var/www/default/; | |
access_log /var/log/nginx/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
This file contains hidden or 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
location ~ \.php$ { | |
try_files $uri = 404; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} |