Skip to content

Instantly share code, notes, and snippets.

View jgmac1106's full-sized avatar

Greg McVerry jgmac1106

View GitHub Profile
@jgmac1106
jgmac1106 / contrast-variable-font.markdown
Created November 15, 2020 13:39
Contrast Variable font
@jgmac1106
jgmac1106 / post.html
Created May 26, 2020 15:15
Example Post
<div class="h-entry" style="padding:4px 6px 4px 7px;clear:both">
<h1 class="p-name"> id="openbsd-6.7-is-released---spoiler-jump-on-the-openbsd-train">OpenBSD 6.7 is Released - Spoiler: Jump on the OpenBSD Train</h2>
<h2><time datetime="2020-05-23 061:34:00" class="dt-published">May 23 06:34:41 CEST 2020</h1>
<!- You need an author h-card->
<h3 class="p-summary" id="comparisoment-between-freebsd-and-openbsd">Comparisoment between FreeBSD and OpenBSD</h3>
<div class="e-content"><!- I wouldn't use an h3 here, you are not segmenting content, use CSS to sytle not HTML-!>
<p>I have been reading lately a lot about OpebBSD’s security, quality of code and Decent Documentation. I tried it a few months back then. But I have whiped my FreeBSD worsktation back then because I tought I’d make the wrong choice. Well there’s a hell of a difference between those two. Let me explain: In FreeBSD it’s all about <em>functuality</em> and in OpenBSD it’s all about <em>Secutity</em> . <strong>Those two Models can never Coexist</
@jgmac1106
jgmac1106 / mime.conf
Last active April 8, 2020 15:41
my dokuwiki mime.conf file
# Allowed uploadable file extensions and mimetypes are defined here.
# To extend this file it is recommended to create a mime.local.conf
# file. Mimetypes that should be downloadable and not be opened in the
# should be prefixed with a !
jpg image/jpeg
jpeg image/jpeg
gif image/gif
png image/png
ico image/vnd.microsoft.icon
@jgmac1106
jgmac1106 / monocleerror.txt
Created March 14, 2020 17:25
monocle error
"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: Sat, 14 Mar 2020 17:25:00 GMT",
"body": {
"error": "forbidden",
"error_description": "The token endpoint could not verify this access token",
"token_endpoint": {
"url": "https://quickthoughts.jgregorymcverry.com/indieauth/token",
"code": 404,
"response": "Client mismatch."
@jgmac1106
jgmac1106 / h-card.html
Last active March 14, 2020 15:58
h-card
<div class="container header-contianer h-card">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-8 header-left ">
<img class="u-photo banner-logo" src="/images/logo.png" alt="website banner">
<!----
<h1 class="p-name">Cheuk Ting Ho</h1>
<h2 class="p-summary" >Building the Open-source Community</h2>
--->
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
@jgmac1106
jgmac1106 / elliot.html
Created December 17, 2019 13:50
dave podcast
<figure>
<img src="https://podcasts.eduquinn.com/wp-content/uploads/2019/12/3.png" alt="podcast cover with profile photo">
<figcaption>Leaving to Learn With Elliot Washor</figcaption>
<audio
controls
src="https://podcasts.eduquinn.com/podcast-player/22/leaving-to-learn-with-elliot-washor.mp3?_=1">
Your browser does not support the
<code>audio</code> element.
</audio>
@jgmac1106
jgmac1106 / .htaccess
Created October 4, 2019 10:31
my homepage htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteCond %{HTTPS_HOST} ^jgregorymcverry.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]
RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]
@jgmac1106
jgmac1106 / .htaccess
Created October 1, 2019 19:26
My Known .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{ENV:BASE} ^$
RewriteCond $1::%{REQUEST_URI} ^(.*)::(.*?)\1$
RewriteRule ^(.*)$ - [ENV=BASE:%2]
RewriteRule ^js/canary\.js$ %{ENV:BASE}/js/default.js [L]
<figure class="h-entry">
<a href="photo.jpg">
<img class="u-photo" src="photo.JPG" alt="">
</a>
<figcaption>
<span class="p-name>Title</span> <time datetime="2019-09-01 20:41:00">2019-09-05</time>
<p class="e-content">Photo caption</p>
<a class="u-licesne" href="#">license</a>
</figcaption>
</figure>
<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://clmoocring.jgregorymcverry.com/wp-content/uploads/2019/04/Uya_1pbF_400x400-300x300.jpg'); background-size:70px 73px;"></td>
<td style="text-align:center;font-size:15px;background:#c0c7cf none;">CLMOOC</td>
</tr>
<tr>
<td style="text-align:center;background-color:#d0d7df; padding:0px !important;"><p style="font-size:12px;">
<a href="https://clmoocring.jgregorymcverry.com/?do=PREV&id=17" title="Previous">&#60;&#60;</a> |
<a href="https://clmoocring.jgregorymcverry.com/" title="CLMOOC">Home</a> |