Skip to content

Instantly share code, notes, and snippets.

View matta's full-sized avatar
💭
I am alive.

Matt Armstrong matta

💭
I am alive.
View GitHub Profile
@scholtes
scholtes / readme.md
Created January 28, 2022 01:29
Wordle dictionary

Wordle dictionary

Wordle is a web browser game that you can play at this link. You get 6 chances to guess a single 5 letter word and there is only 1 word per day.

This gist contains the contents of the dictionary Wordle uses as of January 27th, 2022. Wordle actually uses two dictionaries:

  • La words that can be guessed and which can be the word of the day
  • Ta words that can be guessed but are never selected as the word of the day
@DarkOoze
DarkOoze / snapshot.sh
Last active January 16, 2022 17:51
Git script to save a snapshot of the current worktree
#!/bin/bash
if [ ! -z $1 ]; then
export GIT_DIR=$1
fi
git rev-parse -q --verify HEAD >/dev/null;
if [ $? -ne 0 ]; then
exit
@n3dst4
n3dst4 / simple_mta.md
Last active December 30, 2023 16:53
Using Postfix as an MTA so that local mail on a linux box gets delivered to somewhere useful

Simple Postfix MTA Setup for headless hobbyists

So, you're a hobbyist or maybe even a user in a small-scale business capacity and you have some kind of headless Linux (or other *nix) box, maybe it's a VPS or a Raspberry Pi, and you want it to be able to email you with alerts (setting up monitoring is a separate subject!)

History

I went round in circles with this for a while, because it seemed like such a

@biggers
biggers / gosmacs.el
Created June 30, 2018 20:40
favorite Gosling Emacs keybindings, once shipped with GNU Emacs -- probably not any more
;;; gosmacs.el --- rebindings to imitate Gosmacs.
;; Copyright (C) 1986 Free Software Foundation, Inc.
;; Maintainer: FSF
;; Keywords: emulations
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
@marians
marians / main.go
Created January 27, 2017 10:25
OAuth 2.0 authentication in a Golang CLI
package main
import (
"context"
"crypto/tls"
"fmt"
"log"
"net/http"
"net/url"
"time"
@adolenc
adolenc / parser.lisp
Last active July 10, 2023 20:52
Simple generator of recursive descent parsers in common lisp
;; helper functions
(defun mklist (obj)
"Ensure obj is a list"
(if (listp obj) obj (list obj)))
(defmacro o (&rest fs)
"Macro for composition of functions. Takes a list of functions and produces
a closure as expected:
(o identity (- 12) 1+) => (lambda (&rest args) (identity (- 12 (1+ ,@args))))