Skip to content

Instantly share code, notes, and snippets.

@SuperMatt
SuperMatt / githubdark.itermcolors
Created December 5, 2023 19:05
Iterm Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.4117647111415863</real>
@SuperMatt
SuperMatt / windows-terminal.json
Created October 1, 2023 14:29
GitHub Dark Terminal Theme
{
"background": "#24292E",
"black": "#586069",
"blue": "#2188FF",
"brightBlack": "#959DA5",
"brightBlue": "#79B8FF",
"brightCyan": "#56D4DD",
"brightGreen": "#85E89D",
"brightPurple": "#B392F0",
"brightRed": "#F97583",
@SuperMatt
SuperMatt / Alacritty.yml
Last active June 12, 2024 20:55
Dark+ V2 Terminal Theme
primary:
background: '#181818'
foreground: '#C7C7C7'
normal:
black: '#000000'
red: '#CD3131'
green: '#0DBC79'
yellow: '#E5E510'
blue: '#2472C8'
magenta: '#BC3FBC'
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17
@SuperMatt
SuperMatt / gist:84f57ba583b85a32a01df910125f7faf
Created April 4, 2019 19:21
Golang and VSCode with Snap and Flatpak
snap install go
flatpak install flathub com.visualstudio.code
flatpak override --user --env=GOROOT=/snap/go/current
git duff
_,.-''''''''-.
,-' ,.. -/|Y'' \
,,-' |` |',,`-' | \
,' /_\`...---' \
\ _.. -- '' `---.
| _. --L _|''
| ,,-' _. , . '' ,',L.|
|' _.` '/|- ,'`-.-:, |
resolution_type: GETDNS_RESOLUTION_STUB
dns_transport_list:
- GETDNS_TRANSPORT_TLS
tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 128
edns_client_subnet_private : 1
idle_timeout: 10000
listen_addresses:
- 127.0.0.1
- 0::1
@SuperMatt
SuperMatt / main.go
Created August 9, 2017 14:32
How to use flags with subcommands.
package main
import (
"flag"
"fmt"
"os"
)
func main() {
verbose := flag.Bool("v", false, "verbose mode")

Keybase proof

I hereby claim:

  • I am supermatt on github.
  • I am supermatt (https://keybase.io/supermatt) on keybase.
  • I have a public key whose fingerprint is 1FDD 387F 7827 0404 D952 4CD2 C374 BC5A 4074 A62C

To claim this, I am signing this object:

2016/11/08 15:30:29 [INFO] Terraform version: 0.7.9 b313e55fe78704bba47d51d42a0a65cff4cf8063+CHANGES
2016/11/08 15:30:29 [INFO] CLI args: []string{"/home/user/bin/terraform0.7.9", "apply", "-var-file=~/.secrets.tfvars"}
2016/11/08 15:30:29 [DEBUG] Detected home directory from env var: /home/user
2016/11/08 15:30:29 [DEBUG] Detected home directory from env var: /home/user
2016/11/08 15:30:29 [DEBUG] Attempting to open CLI config file: /home/user/.terraformrc
2016/11/08 15:30:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/11/08 15:30:29 [DEBUG] Detected home directory from env var: /home/user
2016/11/08 15:30:29 [TRACE] Preserving existing state lineage "260c1a08-2896-4768-89f1-0b3fb44ba689"
2016/11/08 15:30:29 [TRACE] Preserving existing state lineage "260c1a08-2896-4768-89f1-0b3fb44ba689"
2016/11/08 15:30:29 [TRACE] Graph after step *terraform.ConfigTransformer: