Skip to content

Instantly share code, notes, and snippets.

View jgmac1106's full-sized avatar

Greg McVerry jgmac1106

View GitHub Profile
@jgmac1106
jgmac1106 / .htaccess
Last active May 17, 2018 01:07
updated
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@jgmac1106
jgmac1106 / style.css
Created May 19, 2018 17:21
36 cell table in CSS GRID
/* Is there a way to write this so I don't have to add another 33 cells manually. 12 rows with three columns */
.schedule .grid-container {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-gap: 10px;
grid-auto-rows: minmax(100px, auto);
color: white;
text-align: center;
padding:20px 0;
font-size: .9em;
@jgmac1106
jgmac1106 / gist:1e6153b598f8ff406b5fb4f18c36ce9d
Last active May 30, 2018 20:03
h-cite for flickr photo
<figure class="h-cite">
<a class="p-name u-uid" title="life cycle" href="https://flickr.com/photos/viknanda/365793884"><img class="u-photo" src="https://farm1.static.flickr.com/146/365793884_322b0245c0_z.jpg" /></a><br /><small><a class="u-url" title="life cycle" href="https://flickr.com/photos/viknanda/365793884">life cycle</a> <span class="p-publication">flickr photo by </span> <a class="p-author h-card" href="https://flickr.com/people/viknanda">Vik Nanda</a> shared under a <a u-url href="https://creativecommons.org/licenses/by/2.0/">Creative Commons (BY) license</a> </small>
</figure>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Emergent Literacy</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="css/simple-sidebar.css" rel="stylesheet">
<div class="annotationHeader">
<span class="user">
<a title="search user" target="_user" href="./?user=jgmac1106">jgmac1106</a>
</span>
<span class="timestamp"><a title="view/edit/reply" target="_standalone" href="https://hypothes.is/a/7TiuRnVJEei1bKsgZqFU4Q">6/21/2018 11:55 AM</a>
</span>
in Public
</div>
<div class="annotationBody">
<div class="annotationQuote">teachers to understand their students more completely</div>
@jgmac1106
jgmac1106 / IndieWebRing.html
Last active July 16, 2018 12:49
IndieWebRing
<table border="0" cellpadding="2" cellspacing="0" style="border:0px hidden #a0b0c0;margin:0px 0px;font:normal 12px Arial,sans-serif;background:#d0d7df none;color:#000000; width:250px !important; border-spacing:0px !important;">
<tbody style="border-spacing:0px !important;">
<tr style="text-align:center; font-size:12px;background:#c0c7cf none;">
<td rowspan="2" style="padding:0px !important; width:70px; height:73px !important; background-image:url('https://jgregorymcverry.com/wp-content/uploads/2018/06/indie-web-camp-logo-thin-c-knockout-6-2.png'); background-size:70px 73px;"></td>
<td style="text-align:center;font-size:15px;background:#c0c7cf none;">IndieWeb</td>
</tr>
<tr>
<td style="text-align:center;background-color:#d0d7df; padding:0px !important;"><p style="font-size:12px;">
<a href="https://jgregorymcverry.com/indiewebring-2/?do=PREV&id=5" title="Previous"><<</a> |
<a href="https://jgregorymcverry.com/indiewebring-2/" title="Web Rings">Home</a> |
<div clss="h-card">
Hey! My name is <span class="p-name">Ian O’Byrne</span>
I am an educator, researcher, and speaker. My work centers on teaching, learning, and technology. I study literacy practices of individuals in online, and hybrid spaces.
<a class="u-uid" href="https://breadcrumbs.wiobyrne.com">This website </a> is my digital commonplace book. This is inspired by the website philosophy & structure developed by Chris Aldrich.
I use this website as my primary hub for online presence and communication. I’m trying to follow the tenets of the IndieWeb movement in owning all of my own data and publishing on my own site and syndicating elsewhere (POSSE).
On this website you’ll find a trail of my digital breadcrumbs as I consume, curate, and create. I’ll archive all of the things I’ve read online. These could be bookmarks to visit, videos to watch, photos, and quotes that inspired me.
{
"code": 403,
"header": "HTTP/1.1 403 Forbidden\r\nServer: nginx/1.14.0\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP/7.2.7-1+ubuntu16.04.1+deb.sury.org+1\r\nCache-Control: no-cache, private\r\nDate: Tue, 24 Jul 2018 11:01:02 GMT",
"body": "{\"error\":\"forbidden\",\"error_description\":\"The token endpoint could not verify this access token\",\"token_endpoint\":{\"url\":\"https:\\/\\/jgregorymcverry.com\\/wp-json\\/indieauth\\/1.0\\/token\",\"code\":400,\"response\":\"{\\\"error\\\":\\\"parameter_absent\\\",\\\"error_description\\\":\\\"Bearer Token Not Supplied\\\"}\"}}",
"error": "",
"error_description": "",
"url": "https://aperture.p3k.io/microsub/59?action=channels",
"debug": "HTTP/1.1 403 Forbidden\r\nServer: nginx/1.14.0\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP/7.2.7-1+ubuntu16.04.1+deb.sury.org+1\r\nCache-Control: no-cache, private\r\nDate:
@jgmac1106
jgmac1106 / homepage-flexbox-menu.html
Last active July 28, 2018 10:48 — forked from chrisaldrich/homepage-flexbox-menu.html
Code for generating the flexbox menu of post kinds on my homepage
/* Code for the itemized menu on my homepage */
<ul class="flex-menu">
<li class="flex-item">[icon name="file-text" class="" unprefixed_class=""] <a title="Longerform content (Traditional blog)" href="/kind/article/">Articles</a></li>
<li class="flex-item">[icon name="sticky-note" class="" unprefixed_class=""] <a title="Status updates and short notes" href="/kind/note,reply,quote,like,photo, favortie, repost">Stream</a></li>
<li class="flex-item">[icon name="reply" class="" unprefixed_class=""] <a title="Replies to content on other sites" href="/kind/reply/">Replies</a></li>
<li class="flex-item">[icon name="microphone" class="" unprefixed_class=""] <a title="My short podcast episodes on various topics" href="/category/microcast/">Microcast</a></li>
<li class="flex-item">[icon name="location-arrow" class="" unprefixed_class=""] <a title="Places I've visited" href="/kind/checkin/">Checkins</a></li>
<li class="flex-item">[icon name="music" class="" unprefixed_class=""] <a title="Audio files I've fo
@jgmac1106
jgmac1106 / h-card.html
Last active November 16, 2018 12:24
jgmac1106 h-card
<div class="h-card">
<img class="u-photo" style="border-radius:50%" src="https://0.academia-photos.com/275850/62912/68932/s200_j._gregory.mcverry.jpg" alt=""><br>
<a class="p-name u-url" href="http://jgregorymcverry.com" rel="me">Greg McVerry</a><br>
<a class="u-email" href="mailto:jgregmcverry@gmail.com">Email</a> <br>
<span class="p-locality">East Haddam, CT</span>
<span class="p-country-name">USA</span><br>
<a rel="me" class="u-url" href="https://mastodon.social/@jgmac1106"><i class="fa fab-mastodon fa-4x"></i></a>