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
# -*- mode: nginx; mode: flyspell-prog; mode: autopair; ispell-local-dictionary: "american" -*- | |
## Try all locations and relay to index.php as a fallback. | |
location /piwik/ { | |
## Disallow any usage of piwik assets if referer is non valid. | |
location ~* ^.+\.(?:css|gif|jpe?g|js|png|swf)$ { | |
## Defining the valid referers. | |
valid_referers none blocked *.mysite.com othersite.com; | |
if ($invalid_referer) { |
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
map $uri $drupal_dir { | |
~^/(?<dir>[^/]*)/ $dir; | |
} |
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
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | |
### Nginx configuration for Drupal. This configuration makes use of | |
### drush (http:///drupal.org/project/drush) for site maintenance | |
### and like tasks: | |
### | |
### 1. Run the cronjobs. | |
### 2. Run the DB and code updates: drush up or drush upc followed by | |
### drush updb to run any DB updates required by the code upgrades | |
### that were performed. | |
### 3. Disabling of xmlrpc.xml, install.php (needed only for |
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
CONNECTED(00000003) | |
--- | |
Certificate chain | |
0 s:/C=US/ST=Washington/L=Federal Way/O=Futurepay Inc./CN=demo.futurepay.com | |
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3 | |
-----BEGIN CERTIFICATE----- | |
MIIGvzCCBaegAwIBAgIQDxc1iZrsrm3FtPQEbC08ADANBgkqhkiG9w0BAQUFADBm | |
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 | |
d3cuZGlnaWNlcnQuY29tMSUwIwYDVQQDExxEaWdpQ2VydCBIaWdoIEFzc3VyYW5j | |
ZSBDQS0zMB4XDTEzMDYxNzAwMDAwMFoXDTE2MDYyMTEyMDAwMFowbjELMAkGA1UE |
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
CONNECTED(00000003) | |
--- | |
Certificate chain | |
0 s:/C=US/ST=Washington/L=Federal Way/O=Futurepay Inc./CN=api.futurepay.com | |
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3 | |
-----BEGIN CERTIFICATE----- | |
MIIGpjCCBY6gAwIBAgIQD7KB06XHieFnEY5VOsFTiTANBgkqhkiG9w0BAQUFADBm | |
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 | |
d3cuZGlnaWNlcnQuY29tMSUwIwYDVQQDExxEaWdpQ2VydCBIaWdoIEFzc3VyYW5j | |
ZSBDQS0zMB4XDTEzMDUyOTAwMDAwMFoXDTE2MDgwMTEyMDAwMFowbTELMAkGA1UE |
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
drush en -y commerce_be2bill | |
The following extensions will be enabled: commerce_be2bill | |
Do you really want to continue? (y/n): y | |
Invalid argument supplied for foreach() bootstrap.inc:1529 [warning] | |
strtr(): The second argument is not an array bootstrap.inc:1546 [warning] | |
DRUSH_GET_CLASS_ERROR [error] | |
commerce_be2bill was enabled successfully. [ |
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
; -*-conf-*- | |
api = 2 | |
core = 7.x | |
; Commerce kickstart. | |
projects[commerce_kickstart][type] = core | |
; Be2Bill needed modules. | |
projects[commerce_cardonfile] = "2.0-beta2" | |
projects[commerce_be2bill] = "1.x-dev" |
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
-- strict.lua | |
-- checks uses of undeclared global variables | |
-- All global variables must be 'declared' through a regular assignment | |
-- (even assigning nil will do) in a main chunk before being used | |
-- anywhere or assigned to inside a function. | |
-- distributed under the Lua license: http://www.lua.org/license.html | |
local getinfo, error, rawset, rawget = debug.getinfo, error, rawset, rawget | |
local mt = getmetatable(_G) |
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
extension=apc.so | |
; Set the shared memory segment size. | |
apc.shm_size = 256M | |
; Optimize the require_once and include_once calls. | |
;apc.include_once_override = 1 | |
; Change the TTL. | |
apc.ttl = 7200 |
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
-- Require the library. | |
mmh2 = require "murmurhash2"' | |
-- Returns a hex representation of the hash. | |
string.format('%x', mmh2('<string>')) |
OlderNewer