Skip to content

Instantly share code, notes, and snippets.

View mattleff's full-sized avatar
🌏

Matthew Leffler mattleff

🌏
  • Eureka, MT
View GitHub Profile
@mattleff
mattleff / base_layout.twig
Last active August 29, 2015 14:02
The pseudo-base_layout for SU themes
<!DOCTYPE HTML>
<html lang="en-US" class="{{ namespace_classes }}">
<head>{% block head %}
{% if title %}<title>{{ title }}</title>{% endif %}
{# A bunch of system head tags... #}
{% block theme_head endblock %}
{% endblock head %}</head>
{% block theme_body endblock %}
</html>
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
@mattleff
mattleff / Vhost
Created September 29, 2014 19:00
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
/usr/local/bin/wkhtmltoimage -H
Name:
wkhtmltoimage 0.12.1 (with patched qt)
Synopsis:
wkhtmltoimage [OPTIONS]... <input file> <output file>
Description:
Converts an HTML page into an image,