Skip to content

Instantly share code, notes, and snippets.

View unstablereality's full-sized avatar
🦄
[hacking in progress]

Dannie Soskel unstablereality

🦄
[hacking in progress]
View GitHub Profile
title date draft tags
Super Powered Blogging With Hugo and GitHub Pages and Actions
2020-05-19 23:36:45 -0500
true
github
github actions
github pages
hugo

Nowadays blogging platforms are a dime a dozen. You've got WordPress that is still king, but it's kind of bloated and has plenty of weird gotchas that can lead you down into rabbit holes that lead you to realize there are more than 10 levels of abstraction until you get down to calls to cURL from initiating an HTTP GET request with their API (this is a horrific story, I don't know if I want to think about it any further than that). Sometimes, you want something lean and fast. You're just writing a simple blog for yourself, you don't need a fancy WYSIWYG editor and plugins galore. You could go for a headless SaaS option like Contentful, but that's expensive and even more overkill than WordPress for your needs. Where is something simple?

Static site generators to the rescue! These handy tools are great for building out a simple

#!/usr/bin/python
import subprocess
import plistlib
import argparse
def get_bundle_id(plist):
return plist['Name'].replace('iOS Team Provisioning Profile: ', '')
"appearance": {
"faceVariation": 2,
"skinColor": 3,
"hairVariation": 9,
"hairColor": 8,
"featureVariation": 1,
"showHelm": false,
"showCloak": false,
"customDisplayOptions": []
},
@unstablereality
unstablereality / june_events.csv
Last active May 12, 2017 15:45
Memtech Events in CSV format
Date Event Title Organizer
2017-06-02 11:30:00 #memtech Fresh Burger Friday Jeff Scarpace
2017-06-02 19:00:00 Open House meeting at Midsouth Makers Claudio D
2017-06-02 19:00:00 Open House meeting at Midsouth Makers Joe Ferguson
2017-06-06 19:00:00 Machine Learning/Data Sciences/R Walter Heger
2017-06-07 11:30:00 East Memphis #memtech Lunch - Weekly Daniel Soskel
2017-06-07 11:30:00 East Memphis #memtech Lunch - Weekly Mike Cochran
2017-06-08 17:30:00 April MEMPass /Power BI Meetup jandee
2017-06-09 07:45:00 Memphis Geek Breakfast Daniel Soskel
2017-06-09 07:45:00 Memphis Geek Breakfast Mike Cochran
@unstablereality
unstablereality / andrew.json
Last active April 27, 2017 16:38
One entry from $event_hosts
Memphis Game Developers
object(DMS\Service\Meetup\Response\SingleResultResponse)#1383 (12) {
["data":protected]=>
array(1) {
[0]=>
array(13) {
["id"]=>
int(14431034)
["name"]=>
string(16) "Andrew McCracken"
<nirv> I'm on the consortium as well
<nirv> that guy actually banned me from tsm3
<nirv> if you don't help me, I'll find someone else
<nirv> so I hope you do
<nirv> I need you to send the tsm3 files to me. I have everything else
<nirv> I'd rather not give him money
<nirv> but I will if I have to
<nirv> no company
<nirv> I don't care who you are
<nirv> should control consumers like this
Int 15+1 (Human) +1 (Keen Mind)
Wis 14+1 (Human)
Cha 13
Dex 12
Con 10
Str 8
Techno-Arcanist Tradition
Scion of House Tharashk
@unstablereality
unstablereality / RapperAlphabet.md
Created January 29, 2016 16:36 — forked from gpspake/RapperAlphabet.md
An alphabet composed of rappers with a pronounced single letter in their names
@unstablereality
unstablereality / apperling results
Last active August 29, 2015 14:24
this bheavior is apperling
<body>
<ul>
<li>amariipb</li>
<ul>
<li>Disks<li>
<ul>
</ul>
<li>ARRAY(0x1ce7210)</li>
<li>ARRAY(0x1ce7c00)</li>
<li>ARRAY(0x1cebb50)</li>
function createReport(form) {
var success_message;
success_message="Your report will be emailed to you once complete.";
document.getElementById('messageBox').style.color="#4f8a10";
document.getElementById('messageBox').style.backgroundColor="#dff2bf";
document.getElementById('messageBox').innerHTML=success_message;
document.getElementById('messageBox').style.visibility="visible";
document.getElementById('kdgreportselection').innerHTML="";
document.getElementById('kdgreportselection').style.visibility="hidden";
$.post('report/KDGReport_createreport.php', $(form).serialize(),