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 | |
/* | |
Author: Hans2103 | |
credit: Jim Westergren, Jeedo Aquino & Flynsarmy | |
File: index-with-redis.php | |
Updated: 2013-05-27 | |
This is a redis caching system for Wordpress based on Redis connection using PHPRedis. | |
https://github.com/nicolasff/phpredis |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<!-- This is a simple example template that you can edit to create your own custom templates --> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<!-- Facebook sharing information tags --> | |
<meta property="og:title" content="*|MC:SUBJECT|*"> | |
<title>*|MC:SUBJECT|*</title> | |
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
web: gunicorn -w4 -b0.0.0.0:$PORT app:app |
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
# Only the relevant parts of config.rb are included here | |
require "extensions/pdf" | |
# ... | |
configure :build do | |
activate :pdf do |pdf| | |
pdf.print_template = "/catalogue/print-template.html" | |
end | |
end |
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
I like to manage dotfiles without having to mess with silly symlinks or having | |
to install/configure specific dotfile managament tools. So here's what I did: | |
$ cd ~ | |
$ git init . | |
$ echo '*' > .gitignore # ignore all files by default | |
$ echo '!.bashrc' >> .gitignore # ...and then tell git what files not to *not* ignore | |
$ # ...add other files you may want to track to *not* ignore | |
$ git add .bashrc # now actually add the files to git | |
$ git add .gitignore # add the .gitignore to git |
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
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
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
<ul> | |
<li><a href="http://facebook.com/duelingdogs"><i class="fa fa-facebook-square fa-lg"></i> Dueling Dogs Facebook</a></li> | |
<li><a href="http://instagram.com/duelingdogs/"><i class="fa fa-instagram fa-lg"></i> Dueling Dogs Instagram</a></li> | |
<li><a href="https://duelingdogs.net/events/"><i class="fa fa-calendar fa-lg"></i> Dueling Dogs Events</a></li> | |
<li><a href="http://help.duelingdogs.net/en/latest/"><i class="fa fa-question-circle fa-lg"></i> Dueling Dogs Registration Support</a></li> | |
</ul> |