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
class python27 { | |
Package { ensure => "installed" } | |
$apt-base = "/etc/apt/sources.list.d/fkrull-" | |
Exec { require => Package["python-software-properties"] } | |
exec { "python-repo" : | |
command => "/usr/bin/add-apt-repository ppa:fkrull/deadsnakes", | |
creates => "${apt-base}deadsnakes-lucid.list", |
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 python | |
# -*- encoding: utf-8 -*- | |
# | |
# Generate an HTML Snippet for WordPress Blogs from reStructuredText. | |
# | |
# This is a modification of the standard HTML writer that leaves out | |
# the header, the body tag, and several CSS classes that have no use | |
# in wordpress. What is left is an incomplete HTML document suitable | |
# for pasting into the WordPress online editor. | |
# |
NewerOlder