Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
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
# ------------------------------------------------------------------------ | |
# REMOVE WWW PREFIX ------------------------------------------------------ | |
# ------------------------------------------------------------------------ | |
server { | |
server_name *.[sitename]; | |
# remove all sub domains and www | |
rewrite ^/(.*)$ http://[sitename]/$1 permanent; | |
} |
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
# ------------------------------------------------------------------------ | |
# REMOVE WWW PREFIX ------------------------------------------------------ | |
# ------------------------------------------------------------------------ | |
server { | |
server_name *.[sitename]; | |
# remove all sub domains and www | |
rewrite ^/(.*)$ http://[sitename]/$1 permanent; | |
} |
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
#!/usr/bin/env bash | |
# Pre install script to install the a specific version of puppet | |
# If no parameter is supplied, the lastest version will be installed | |
# Thanks to: https://gist.github.com/dol/5776169 | |
# Corresponds to Vagrantfile line | |
VERSION="" | |
if [ -n "$1" ] | |
then | |
VERSION="$1" | |
fi |
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: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "jeter" | |
config.vm.box_url = "~/Downloads/debian-wheezy64.box" |
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
<?php | |
/* | |
This is a sample local-config.php file | |
In it, you *must* include the four main database defines | |
You may include other settings here that you only want enabled on your local development checkouts | |
This file should be ignored in your .gitignore file | |
*/ |
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
<p>This is a test to see if this strategy will work.</p> | |
<p>I'm going to see if I can add some inline links.</p> | |
<p><a href="http://princeagency.com" title="Hopewell Junction Insurance Agent" rel="follow">Hopewell Junction New York</a></p> |
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
Verifying that +kjprince is my openname (Bitcoin username). https://onename.com/kjprince |
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
<div class="container my-container"> | |
<?php | |
$args=array( | |
'post_type' => 'reviews', | |
'post_status' => 'publish', | |
'posts_per_page' => 18 | |
); | |
$my_query = null; |
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
<script src="//www.google-analytics.com/cx/api.js?experiment=YOUR_EXPERIMENT_ID"></script> | |
<script> | |
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
} | |
var varID = getParameterByName('var'); | |
if(! varID){ var chosenVariation = cxApi.chooseVariation(); } |
OlderNewer