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
// Vertical align div | |
.vc { | |
display: table; | |
width: 100%; | |
height: 100%; | |
> div { | |
display: table-cell; | |
vertical-align: middle; | |
} | |
} |
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
// Display Fragment | |
url.com?_escaped_fragment_= |
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
// wp-config | |
// Common wp-config settings | |
define('WP_SITEURL', 'http://url'); | |
define('WP_HOME', 'http://url'); | |
define('RELOCATE', false); | |
define('DB_HOST', 'localhost'); | |
define('WP_MEMORY_LIMIT', '256M'); | |
define('WP_ALLOW_REPAIR', TRUE); | |
define('WP_DEBUG', true); |
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
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
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
<?php | |
if ( is_front_page() && is_home() ) { | |
// Default homepage | |
} elseif ( is_front_page() ) { | |
// static homepage | |
} elseif ( is_home() ) { | |
// blog page | |
} else { | |
//everything else |
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
// Use following to disable w3 total cache functions | |
// Page cache | |
define('DONOTCACHEPAGE', true); | |
// DB cache | |
define('DONOTCACHEDB', true); | |
// Minify | |
define('DONOTMINIFY', true); | |
// CDN | |
define('DONOTCDN', true); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- edited with XMLSpy v2015 (x64) (http://www.altova.com) by Martin Hammarson (Itero) --> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1"> | |
<xs:element name="LogisticsRequest"> | |
<xs:annotation> | |
<xs:documentation>Logistic Request to Selector</xs:documentation> | |
</xs:annotation> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Request" maxOccurs="unbounded"> |
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
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
user haproxy | |
group haproxy | |
defaults | |
log global | |
mode http | |
option httplog |
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
# Stop all running containers | |
docker stop $(docker ps -a -q) | |
# Remove all running containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
<meta property="og:title" content="The Rock" /> | |
<meta property="og:type" content="video.movie" /> | |
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" /> | |
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" /> |
OlderNewer