Skip to content

Instantly share code, notes, and snippets.

View jgmac1106's full-sized avatar

Greg McVerry jgmac1106

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello!</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="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css">
<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]
<section id="about">
<div class="container h-card">
<div class="avatar">
<img class="img-circle u-photo" src="/static/img/profile.png" alt="Responsive image">
</div>
<h3 class="p-name"><strong>Dhanesh B. Sabane</strong>, <span class="p-role">Software Engineer.</span></h3>
<h3 class="p-note">A techie with a knack for football and music </h3>
<!-- <h3 class="p-note">Have a look at some of my working <a class="u-url" href="/projects.html"> projects</a>.</h3> -->
<!-- <h3 class="p-note">For more check out my academic &amp; professional <a class="u-url" href="/static/files/resume-dhanesh-sabane.pdf">Resume</a>.</h3> -->
@jgmac1106
jgmac1106 / article.xml
Last active May 26, 2019 15:39
XML RSS from WordPress
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" >
@jgmac1106
jgmac1106 / webring.html
Last active April 17, 2019 16:22
CLMOOC webring
<!--ring home-->
<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=1" title="Previous">Prev</a> |
@jgmac1106
jgmac1106 / Johan Bove
Created April 3, 2019 23:11
sample post
<article class=-"h-entry">
<h2 class="p-name">Cannot SSH from WSL</h2>
<time class="dt-published" datetime="2018-06-30 12:00:00">Published Jun 30, 2018</time> in posts by <a class="p-author h-card" href="https://blog.johanbove.info">Johan Bove</a>
<span class="p-summary">This is a post explaining how I got around the issue that you cannot load up an .ssh key for a SSH session from within the Windows Subsystem For Linux.</span>
<div class="e-content">
I’m currently on Windows 10 Pro, Version 1803 (OS Build 17134.112).
When trying to SSH into my remote server from a Ubuntu Bash for Windows terminal, I was greeted by this lovingly designed error message:
@jgmac1106
jgmac1106 / photo.html
Created March 19, 2019 14:43
Accessibility and Known
class="col-md-8 col-md-offset-2 h-entry idno-photos idno-object idno-content">
<div style="display: none"> <!-- This is useful for webmentions -->
<p class="p-author author h-card vcard">
<a href="https://quickthoughts.jgregorymcverry.com/profile/jgmac1106" class="icon-container"><img
class="u-logo logo u-photo photo" src="https://quickthoughts.jgregorymcverry.com/file/2d6c9cfed7ac8e849f492b5bc7e6a630/thumb.jpg"/></a>
<a class="p-name fn u-url url" href="https://quickthoughts.jgregorymcverry.com/profile/jgmac1106">Greg McVerry</a>
<a class="u-url" href="https://quickthoughts.jgregorymcverry.com/profile/jgmac1106">
<!-- This is here to force the hand of your MF2 parser --></a>
</p>
</div>
@jgmac1106
jgmac1106 / error logs
Created March 15, 2019 09:43
my Known Error Logs
This file has been truncated, but you can view the full file.
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): error - error send Webservice request {"error":"SSL: certificate subject name 'micpc.com' does not match target host name 'phpforkids.com'"}
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - Checking for HSTS headers
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - Valid HSTS found, no need to storeArray
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - (
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - [0] =>
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - )
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug -
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): critical - Url https://phpforkids.com could not be unfurled [/home/jgregory/public_html/quickthoughts/Idno/Pages/Service/Web/UrlUnfurl.php:69]
[12-Mar-2019 19:55:25 UTC] Known (quickthoughts.jg
@jgmac1106
jgmac1106 / error logs
Created March 15, 2019 09:43
my Known Error Logs
This file has been truncated, but you can view the full file.
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): error - error send Webservice request {"error":"SSL: certificate subject name 'micpc.com' does not match target host name 'phpforkids.com'"}
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - Checking for HSTS headers
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - Valid HSTS found, no need to storeArray
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - (
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - [0] =>
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug - )
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): debug -
[12-Mar-2019 19:55:07 UTC] Known (quickthoughts.jgregorymcverry.com): critical - Url https://phpforkids.com could not be unfurled [/home/jgregory/public_html/quickthoughts/Idno/Pages/Service/Web/UrlUnfurl.php:69]
[12-Mar-2019 19:55:25 UTC] Known (quickthoughts.jg
@jgmac1106
jgmac1106 / blub.php
Last active March 10, 2019 14:57 — forked from Zegnat/blub.php
<?php
$var1 = $_POST['user_name'];
$var2 = $_POST['user_text'];
$var3 = $_POST['user_instagram'];
$var4 = $_POST['user_twitter'];
$var5 = $_POST['user_email'];
$var6 = $_POST['user_msg'];