Skip to content

Instantly share code, notes, and snippets.


Greg McVerry jgmac1106

View GitHub Profile
View post.html
<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 / mime.conf
Last active Apr 8, 2020
my dokuwiki mime.conf file
View mime.conf
# 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/
View monocleerror.txt
"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/\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": "",
"code": 404,
"response": "Client mismatch."
View h-card.html
<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 class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
View elliot.html
<img src="" alt="podcast cover with profile photo">
<figcaption>Leaving to Learn With Elliot Washor</figcaption>
Your browser does not support the
<code>audio</code> element.
jgmac1106 / .htaccess
Created Oct 4, 2019
my homepage htaccess
View .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteCond %{HTTPS_HOST} ^$ [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 / .htaccess
Created Oct 1, 2019
My Known .htaccess file
View .htaccess
<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]
View photo with license
<figure class="h-entry">
<a href="photo.jpg">
<img class="u-photo" src="photo.JPG" alt="">
<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>
View dogtrax webring
<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(''); background-size:70px 73px;"></td>
<td style="text-align:center;font-size:15px;background:#c0c7cf none;">CLMOOC</td>
<td style="text-align:center;background-color:#d0d7df; padding:0px !important;"><p style="font-size:12px;">
<a href="" title="Previous">&#60;&#60;</a> |
<a href="" title="CLMOOC">Home</a> |
View feldgang.html
<!DOCTYPE html>
<html lang="en">
<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="//">
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css">
You can’t perform that action at this time.