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
module Jekyll | |
class PodcastRssPage < Page | |
def initialize(site, base, dir, post) | |
@site = site | |
@base = base | |
@dir = dir | |
@name = 'feed.rss' | |
self.process(@name) |
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
{% unless include.faces == empty %} | |
<div class="row" style="margin-bottom: 1em"><div class="col-xs-12"> | |
<h4>{{ include.name }}</h4> | |
<div class="facepile"> | |
{% for face in include.faces %} | |
{% assign author = face.data.author %} | |
{% if author.photo %} | |
{% assign photo = author.photo | imageproxy: 60 %} | |
{% endif %} | |
{% case include.mftype %} |
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
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
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 // phpcs:disable WordPress.Files.FileName.InvalidClassFileName | |
/* | |
* Plugin Name: Non-Handling Shutdown Handler | |
* Description: Disable WSOD protection so that plugins will not auto-suspend during development while errors often occur. | |
* Plugin URI: https://gist.github.com/westonruter/583a42392a0b8684dc268b40d44eb7f1 | |
* Plugin Author: Weston Ruter | |
*/ | |
/** |
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 id="mentions" class="mentions"> | |
{{ $paths := union (slice .URL) .Params.aliases }} | |
{{ range $paths }} | |
{{ $mentions_for_path := index $.Site.Data.webmention_io.index . }} | |
{{ if $mentions_for_path }} | |
{{ $.Scratch.Add "mention_ids" $mentions_for_path }} | |
{{ end }} | |
{{ end }} | |
{{ $mention_ids := $.Scratch.Get "mention_ids" }} | |
{{ $mentions := apply $mention_ids "index" $.Site.Data.webmention_io.mentions "." }} |
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
license: mit |
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
// Quick-and-dirty parametric LEGO-compatible | |
// bricks in OpenSCAD. | |
// LEGO(R) is a trademark of the LEGO Group. | |
// References: | |
// * http://www.robertcailliau.eu/Lego/Dimensions/zMeasurements-en.xhtml | |
// * http://nicjasno.com/forum/viewtopic.php?t=653 | |
// Create (w*2,h*2) LEGO-compatible blocks. | |
two_by_two(1,2); |
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 | |
# Usage: python sticky_notes.py 'Your Message Here!' > out.gcode | |
import cairo | |
import sys | |
import re | |
### BEGIN CONFIGURATION ### | |
feedrate = 3500 |
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/perl -i | |
use strict; | |
use warnings; | |
# Slic3r 0.9.8 Post Processing Script to make it work with MakerWare 2.0 and Firmware 7 (only tested on a Rep1) | |
# Dualstrusion works | |
# Support on secondary extruder works | |
# Save this file somewhere, then under Print Settings, Output Options, Post-processing scripts, enter path to this file | |
# Under Printer Settings, General, set G-code flavor to MakerBot, extruders 2, bedsize 225 x 145, etc... |
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
Foo foo bar bar don't let martha drive your car. | |
Derp derp derp derp derp. |
NewerOlder