Skip to content

Instantly share code, notes, and snippets.

<form
action="https://buttondown.email/api/emails/embed-subscribe/jeremycherfas"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.email/jeremycherfas', 'popupwindow')"
class="embeddable-buttondown-form"
>
<label for="bd-email">Enter your email</label>
<input type="email" name="email" id="bd-email">
<input type="hidden" value="1" name="embed"/>
<item>
<title>Smoky and peaty. A fine end to a dank, gray Sunday afternoon.</title>
<link>https://stream.jeremycherfas.net/2019/smoky-and-peaty-a-fine-end-to-a-dank-gray</link>
<guid>https://stream.jeremycherfas.net/view/bb37cf924925c39152d5491065ebbce3</guid>
<pubDate>Sun, 20 Jan 2019 17:56:01 +0000</pubDate>
<wp:post_type>post</wp:post_type>
<wp:status>publish</wp:status>
<dc:creator>Jeremy Cherfas</dc:creator>
<description><![CDATA[
<div class="e-content entry-content " data-num-pics="1">
title process twig_first template imports
Testing import function
markdown twig
true
true
true
item
early.json
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>PHP tests</title>
<meta name="generator" content="BBEdit 11.6" />
</head>
<body>
<h1>hard-code.php</h1>
<?php
@jeremycherfas
jeremycherfas / entry-header.php
Created December 8, 2017 11:55
Modified entry-header for zenpress child
<header class="entry-header">
<?php edit_post_link( __( 'Edit', 'zenpress' ), '<div class="edit-link">', '</div>' ); ?>
<?php if ( get_post_format() !== false ) : ?>
<div class="entry-meta">
<div class="post-format">
<a class="entry-format entry-format-<?php echo get_post_format(); ?>" href="<?php echo esc_url( get_post_format_link( get_post_format() ) ); ?>"><?php echo get_post_format_string( get_post_format() ); ?></a>
</div>
</div>
<?php endif; ?>
# BEGIN SSL
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_USER_AGENT} ^(.+)$
RewriteCond %{SERVER_NAME} ^eatthispodcast\.com$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Header add Strict-Transport-Security "max-age=300"
</IfModule>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>PHP tests</title>
<meta name="generator" content="BBEdit 11.6" />
</head>
<body>
<h1>This is a heading</h1>
<?php
{
"object": {
"id": false,
"content": "",
"formattedContent": "",
"displayName": "",
"objectType": "bookmark",
"published": "1970-01-01T00:00:00+00:00",
"url": "https:\/\/stream.jeremycherfas.net\/like\/edit\/",
"actor": {