Skip to content

Instantly share code, notes, and snippets.

View shmup's full-sized avatar
🐌

Jared Miller shmup

🐌
View GitHub Profile
Basic Latin
═══════════════════════════════════════════════════════
0000 │ 0 1 2 3 4 5 6 7 8 9 a b c d e f
───────────────────────────────────────────────────────
0020 │ ! " # $ % & ' ( ) * + , - . /
0030 │ 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
0040 │ @ A B C D E F G H I J K L M N O
0050 │ P Q R S T U V W X Y Z [ \ ] ^ _
0060 │ ` a b c d e f g h i j k l m n o
0070 │ p q r s t u v w x y z { | } ~
@shmup
shmup / quicker_git_and_fugitive_on_wsl2.md
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
shmup / irc.md
Created August 23, 2022 03:14 — forked from xero/irc.md
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
@shmup
shmup / twitch_hexchat.md
Last active January 5, 2024 00:22
How to connect to Twitch with HexChat (SSL)

HEXCHAT / TWITCH

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

  1. Get HexChat here (or your package manager): https://hexchat.github.io/

  2. Click Add and name it Twitch or whatever.

  3. Now click Edit and change the server/port up top to: irc.chat.twitch.tv/6697

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

IRSSI / TWITCH

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

Get your oauth token here: https://twitchapps.com/tmi/

Server block

server = {
 address = "irc.chat.twitch.tv";
path = require 'path'
local function get_asset_comment(zip_path)
comment = GetAssetComment(zip_path)
if comment then
return comment
end
return ''
end
@shmup
shmup / SICP.md
Last active August 14, 2022 21:52 — forked from cellularmitosis/README.md
MIT 6.001 (1986) SICP Lecture Segments

MIT 6.001 (1986) SICP Lecture Segments

sicp

Here are YouTube links to each "segment" of the 1986 MIT 6.001 Structure and Interpretation of Computer Programs lectures from Harold Abelson and Gerald Jay Sussman.

See also:

@shmup
shmup / semantic-layout.html
Created October 29, 2020 00:09 — forked from thomd/semantic-layout.html
Standard HTML5 Semantic Layout
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Title</title>
<link href="stylesheets/main.css" rel="stylesheet" />
</head>
<body>
<header>
<hgroup>
@shmup
shmup / vr
Last active October 1, 2020 01:11
open all currently (and previously) modified files in vim
#!/usr/bin/env bash
# http://ix.io/2zhL/sh
# vr is "vim resume"
# open all currently (and previously) modified files in vim
# tell me‡ if it doesn't work for you, please
function help {
cat << EOF
@shmup
shmup / j2html.py
Created September 23, 2020 22:42
renders and prints a jinja2 template with optional json to STDOUT
#!/usr/bin/env python3
# http://ix.io/2ykn/py
# 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