Skip to content

Instantly share code, notes, and snippets.

View shmup's full-sized avatar

Jared Miller shmup

View GitHub Profile
shmup / Search my
Created December 19, 2023 04:41 — forked from santisbon/Search my
How to #search gists

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.

Find all gists with a .yml extension.

Find all gists with HTML files.

Smith-Waite Tarot "Cheat Sheet"

I have no idea what I'm doing

Major Arcana

Number Card Things
The Fool New beginnings, spontaneity, free spirit
I The Magician Power, resourcefulness, high energy
rain-1 /
Last active July 11, 2024 18:17
LLM Introduction: Learn Language Models


Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.


Neural network links before starting with transformers.

shmup /
Last active August 25, 2022 21:31
Quick Git & Fugitive.vim for WSL2

Quick Git & Fugitive.vim for WSL2

Some things that may help you.

Keep in mind that my solution caters to both being in a /mnt/* path, and also being in my symlink path.

When you make a symbolic link, as in: ln -s /mnt/c/Users/bar $HOME/bar and cd into that, the $PWD will reflect that.

.bashrc improvement

shmup /
Last active June 14, 2024 20:02
How to connect to Twitch with HexChat (SSL)


Here's a method to chat in a twitch #channel with HexChat

  1. Get HexChat here (or your package manager):

  2. Click Add and name it Twitch or whatever.

  3. Now click Edit and change the server/port up top to:

shmup /
Last active March 19, 2024 11:50 — forked from hunterbridges/
How to connect to Twitch with IRSSI (SSL)


Here's a method to chat in a twitch #channel with IRSSI

Get your oauth token here:

Server block

server = {
 address = "";
path = require 'path'
local function get_asset_comment(zip_path)
comment = GetAssetComment(zip_path)
if comment then
return comment
return ''
pheix /
Last active February 28, 2023 20:22
Raku web templating engines: boost up the parsing performance 

Raku web templating engines: boost up the parsing performance

Modern Raku web templating engines

A templating engine basically provides tools for effective metadata interpolation inside static files (templates). At web application runtime, the engine parses and replaces variables with actual content values. Finally client gets a HTML page generated from the template, where all metadata (variables, statements, expressions) has been proceed.

Raku ecosystem has a few modern templating engines: Template::Mojo (last commit on 12 Jun 2017), Template::Mustache (last commit on 25 Jul 2020 — it's alive!), Template6 (last commit on 20 Nov 2020 - active maintenance), Template::Classic (last commit on 11 Apr 2020), [Template

shmup / semantic-layout.html
Created October 29, 2020 00:09 — forked from thomd/semantic-layout.html
Standard HTML5 Semantic Layout
<!DOCTYPE html>
<meta charset="utf-8" />
<link href="stylesheets/main.css" rel="stylesheet" />
shmup /
Created September 23, 2020 22:42
renders and prints a jinja2 template with optional json to STDOUT
#!/usr/bin/env python3
# renders and prints a jinja2 template with optional json to STDOUT
# requires: python3, jinja2
# usage
# $ ./j2html /path/to/template
# $ ./j2html /path/to/template --json_data /path/to/json