Skip to content

Instantly share code, notes, and snippets.

View jgmac1106's full-sized avatar

Greg McVerry jgmac1106

View GitHub Profile
@jgmac1106
jgmac1106 / gist:b5620ce4f2a0d24453c85521942035f4
Created November 18, 2018 19:29
h-review for academic journals
<div class="h-review">
<h1 class="p-name">Review for journal name>
<h2><a href="example.com" class="u-in-reply-to">Link to submission</a> by <a class="p-author h-card" href="http://mysite.example.org">
<img alt="" src="http://mysite.example.org/icon.jpg"/>Authorr</a>: </h2>
<p class="p-summary">Overall rating
<data class="p-rating" value="5">★★★★★</data> I reccomend this piece for publication.
Published <time class="dt-published" datetime="2013-06-12 12:00:00">12<sup>th</sup> June 2013</time>
by <a class="p-author h-card" href="http://example.com">Reviewer</a>.
@jgmac1106
jgmac1106 / stuffedworld.xml
Last active November 20, 2018 13:16
podcast feed
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>My Stuffed World</title>
<link>http://dogzone.jgregorymcverry.com</link>
<language>en-us</language>
<itunes:subtitle>Journey to the world of my stuffed friends</itunes:subtitle>
<itunes:author>Benjamin McVerry</itunes:author>
<itunes:summary>A show where I describe each animal and tell you about them</itunes:summary>
<description>A show where I describe each animal and tell you about them</description>
@jgmac1106
jgmac1106 / .htaccess
Last active December 14, 2018 19:55
Known htaccess
Known .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^.well-known/(host-meta|webfinger).* https://fed.brid.gy/$0 [redirect=302,last]
@jgmac1106
jgmac1106 / .htaccess
Created December 30, 2018 14:26
htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
@jgmac1106
jgmac1106 / mediumexportexample.html
Created January 31, 2019 14:13
example of medium export
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Self Programmable Reader-Strategy Instruction in Networked Spaces</title><style>
* {
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}
html, body {
margin: 0;
padding: 0;
}
h1 {
font-size: 50px;
@jgmac1106
jgmac1106 / json annotation
Created February 2, 2019 12:20
json annotation
[
{
"id": "ZtFN3vc8EeiXPQ8qGVdJXQ",
"url": "https://educatorinnovator.org/wp-content/uploads/2018/11/What_s_Radical_marginal-syllabus.pdf",
"updated": "2018-12-03T20:45:42",
"title": "What_s_Radical_marginal-syllabus.pdf",
"refs": [],
"isReply": false,
"isPagenote": false,
"user": "jgmac1106",
@jgmac1106
jgmac1106 / export.html
Last active February 23, 2019 02:39
Hypothes.is HTML export to microforamts?
<div id="widget" style="display: block;"><h1 id="heading_counter_1" class="urlHeading">
<a title="collapse" href="javascript:hlib.toggle('counter_1')"> <span class="toggle" title="expand">▶</span></a>
<span class="counter">&nbsp;2&nbsp;</span>
<a title="visit annotated page" target="annotatedPage" href="https://hyp.is/go?url=https://educatorinnovator.org/wp-content/uploads/2018/11/What_s_Radical_marginal-syllabus.pdf">What_s_Radical_marginal-syllabus.pdf</a>
</h1>
<div id="cards_counter_1">
<div class="annotationCard" style="display: none; margin-left: 0px;">
<div class="csvRow">"0","2018-12-03T20:45:42","https://educatorinnovator.org/wp-content/uploads/2018/11/What_s_Radical_marginal-syllabus.pdf","jgmac1106","ZtFN3vc8EeiXPQ8qGVdJXQ","__world__",,"underground writers. . . .","I love this piece by Maisha Winn on a similar thread: https://www.tandfonline.com/doi/abs/10.1080/10749039.2014.990037","https://hyp.is/ZtFN3vc8EeiXPQ8qGVdJXQ"</div>
<div class="annotationHeader">
@jgmac1106
jgmac1106 / BloggerTemplate.html
Last active September 26, 2023 18:42
Blogger template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>">
<head>
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
<title><$BlogPageTitle$></title>
@jgmac1106
jgmac1106 / contact.html
Last active February 17, 2019 13:08
php email contact
<!DOCTYPE html>
<html>
<head>
<title>KEVO</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/reset.css">
<link rel="stylesheet" href="/styles.css">
@jgmac1106
jgmac1106 / guestbook.html
Last active February 19, 2019 21:26
Simple Guestbook for your Website
<!DOCTYPE html>
<html>
<head>
<title>INTERTEXTrEVOLUTION</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/reset.css">
<link rel="stylesheet" href="/styles.css">