Skip to content

Instantly share code, notes, and snippets.

View brettwilcox's full-sized avatar
☸️
It's a feature...

Brett Wilcox brettwilcox

☸️
It's a feature...
View GitHub Profile

How to play ASCII-Art Star Wars offline

Following will teach you how to play the "easter-egg" (which actually isn't, but many people describe this as an easter egg) of ASCII-Art Star Wars (or Star Wars in terminal/telnet, whatever), the one you normally starts like this:

$ telnet towel.blinkenlights.nl
  1. Before you start, ensure Node.js is installed.
  2. Navigate to www.asciimation.co.nz, the original home of that ASCII-Art Star Wars.
  3. Press F12 to open developer tools.
@brettwilcox
brettwilcox / setup.md
Created May 11, 2024 17:14 — forked from bhouse/setup.md
YubiKey GPG + GitHub setup

Yubikey + GPG + Github + Keybase

The following guide are steps that can be used to generate GPG keys on a YubiKey, use the gpg keys to sign github commits, and publish the public gpg key to Keybase.

Why is this a good idea?

  1. Generating and storing GPG keys on a YubiKey allows the private key to be protected and ported between physical machines.
  2. Signing git commits adds an extra layer of verification that code changes originated from an trusted source.
  3. Using a YubiKey + touch-to-sign requires a physical presence to use the GPG signing key.
  4. GitHub supports restricting commits to a repo to only those that are signed.
  5. Putting a physical stamp on your code commits invokes a feeling of pride.
@brettwilcox
brettwilcox / improve_fonts.md
Created April 26, 2022 16:27 — forked from YoEight/improve_fonts.md
Improve fonts archlinux

Improve Fonts

Newest

Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.

You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):

Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts

@brettwilcox
brettwilcox / private_fork.md
Created October 30, 2021 08:34 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@brettwilcox
brettwilcox / tmux-cheatsheet.md
Last active November 21, 2020 09:54 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

alias ta='tmux attach -t'
alias tad='tmux attach -d -t'
alias ts='tmux new-session -s'
alias tl='tmux list-sessions'
alias tksv='tmux kill-server'
alias tkss='tmux kill-session -t'

start new:

Git Help

Working locally

git status will give you the current state of your local branch including file changes.

git add fileName will add the file to staging for commits

git commit -m "my commit message" will commit all staged changes with the given message. you can then push that commit to the upstream branch on the server

-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF9fVqwBEAC1X6uOoF5dQpeBwlHHjtfSM6rCK2UkaJQ8fiAd9Rx4z52UpfoM
Ho6uuf/h+XkiCNeMx/NcfukPETgAMkYJhBo+VSrJ0N8sVMvt37NXjYBeBz8x90i/
g/+q/Qc77z9ATkIm+ULAHrAkfHdnLUPeh7OHPyfgTfZ2zJg7KhgWWgrBwrXZ8uCD
0q5aIH/6tgdbg5bBweopXnW6pDZYHNVD/hFcYc7mfFx0nCd6tQZZPS2bgVIjmsas
Etmr9/4ah1/QjHYTSr3B7oC1Fa2wEkc6kLbHkEULRhmu++9Of3ySdNDSWaFwJIPV
PTGZy9B9CTkmSainV1Tk1kfI6HFs/9EQOjtf/DaIZSrJbYyrCbt5tnjgos/9A7vz
hHNt3zvjZpzEO42nYB3DUtKv1AMXbbVL+67aIh2r8W02oSM6zCnZ5fKjmo5t6IIH
bdW2wtSFNI5vMlvnArEQ+hZ6gCyASjpNs/hMA9PSSco7xmWly0GKmym3hde95aJn
@brettwilcox
brettwilcox / markdownTemplate.txt
Created July 18, 2020 03:39 — forked from DivineDominion/markdownTemplate.txt
BibDesk MultiMarkdown export template. Put into `~/Library/Application Support/BibDesk/Templates` and activate in settings to use.--- From http://zettelkasten.de/bibliography-zettelkasten/
<$publications>
[#<$citeKey/>]: <$authors.name?>
<$authors.name.stringByRemovingTeX.@componentsJoinedByCommaAndAnd/><?$authors.name?><$editors.name.stringByRemovingTeX.@componentsJoinedByCommaAndAnd/> (Hrsg.)
</$authors.name?>
<$fields.Year?> (<$fields.Year/>)</$fields.Year?>: _<$fields.Title.stringByRemovingTeX/><$fields.Subtitle?>. <$fields.Subtitle.stringByRemovingTeX/></$fields.Subtitle?>_<$pubType=article?>
, <$fields.Journal/><$fields.Number?> <$fields.Number/></$fields.Number?>, <$fields.Year/>, Vol. <$fields.Volume/>, S. <$fields.Pages/><?$pubType=incollection?>
, in: <$fields.Booktitle/><$fields.Address?>, <$fields.Address/>: <$fields.Publisher?><$fields.Publisher/></$fields.Publisher?><?$fields.Address?>
<$fields.Publisher?>, <$fields.Publisher/></$fields.Publisher?>
</$fields.Address?>
<?$pubType?>
@brettwilcox
brettwilcox / cloudSettings
Last active August 3, 2021 16:25
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-08-03T16:25:28.604Z","extensionVersion":"v3.4.3"}

Keybase proof

I hereby claim:

  • I am brettwilcox on github.
  • I am brettwilcox (https://keybase.io/brettwilcox) on keybase.
  • I have a public key ASD41m0_7ZgfzhPRcTX4iZi4mvvk_N2eKbQJC3BSd5U-JQo

To claim this, I am signing this object: